To Advertise or not to Advertise
Can someone please explain to me the benefits of unadvertised shortcuts over advertised shortcuts (if any). Personally, i always use advertised shortcuts but i know many people prefer not to.
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
AngelD
16 years ago
i always use advertised shortcuts but i know many people prefer not to
I'm curious of where you got this information [;)]
Maybe they are referring to installation in TS (Terminal Server) environments as that would be another question.
I would say most people do prefer advertised shortcuts (for non-TS environments) to make the resiliency feature trigger a repair for broken components (or "profile-fix" resiliency).
I'm curious of where you got this information [;)]
Maybe they are referring to installation in TS (Terminal Server) environments as that would be another question.
I would say most people do prefer advertised shortcuts (for non-TS environments) to make the resiliency feature trigger a repair for broken components (or "profile-fix" resiliency).
Posted by:
AngelD
16 years ago
Can someone please explain to me the benefits of unadvertised shortcuts over advertised shortcuts (if any).
Did miss your actual question, there are two "benefits" for non-advertised shortcuts I can think of.
1. They will not work as entrypoints therefore not trigger a repair when launching the application through the shortcut if not the application it-self triggers any entrypoint such as ActiveX/COM component.
2. They can safely be deleted by the end-user (if permissions allow) and will not get repaired until a feature-level repair (containing the shortcut component) is triggered.
Did miss your actual question, there are two "benefits" for non-advertised shortcuts I can think of.
1. They will not work as entrypoints therefore not trigger a repair when launching the application through the shortcut if not the application it-self triggers any entrypoint such as ActiveX/COM component.
2. They can safely be deleted by the end-user (if permissions allow) and will not get repaired until a feature-level repair (containing the shortcut component) is triggered.
Posted by:
jinxngoblins
16 years ago
Posted by:
AngelD
16 years ago
1 - A) When you advertise the product only the entrypoints will be installed and be ready for any install on-demand that is; when any entrypoint is called/executed such as an advertised shortcut.
1- B) I think above answers this question, right?
Advertising a product can be helpful if you have a slow network and the installation is (very) big. In this way only the required components will be installed when needed before ex. launching the application.
2)
Not only an advertised shortcut will create an entrypoint (aka Darwin Descriptor). If the shortcut is of non-advertised type then the executable it-self must call an entrypoint (ex. COM component) for a repair to be triggered. If the MSI do not have any entrypoints then advertising the product will be of no use as resiliency will not be possible.
1- B) I think above answers this question, right?
Advertising a product can be helpful if you have a slow network and the installation is (very) big. In this way only the required components will be installed when needed before ex. launching the application.
2)
Not only an advertised shortcut will create an entrypoint (aka Darwin Descriptor). If the shortcut is of non-advertised type then the executable it-self must call an entrypoint (ex. COM component) for a repair to be triggered. If the MSI do not have any entrypoints then advertising the product will be of no use as resiliency will not be possible.
Posted by:
jinxngoblins
16 years ago
Posted by:
AngelD
16 years ago
The first statement is correct.
Install On-Demand is often referred to when the application will be install the first time you execute an entrypoint.
The technology behind it is the same as when a repair is in progress so the result will be the same that is; install/repair broken components (missing or corrupted keypaths).
For a normal install everything will be installed on the system during the installation itself
Yes, most often depending on the account the application is installed by.
If you for example deploy the application through AD/GPO and per-machine the installation will be performed under the system context. In this case any included HKCU registry entry or files located under the userprofile will have to be repaired once the user login and executes an entrypoint, also called profile-fix.
So the benifit of using advertised shortcut will be one extra entrypoint that will trigger a repair once a broken component is found.
The following link will give you some more details of "Application Resiliency".
http://msdn2.microsoft.com/en-us/library/aa302344.aspx
Hope that clarifies it abit further.
Install On-Demand is often referred to when the application will be install the first time you execute an entrypoint.
The technology behind it is the same as when a repair is in progress so the result will be the same that is; install/repair broken components (missing or corrupted keypaths).
For a normal install everything will be installed on the system during the installation itself
Yes, most often depending on the account the application is installed by.
If you for example deploy the application through AD/GPO and per-machine the installation will be performed under the system context. In this case any included HKCU registry entry or files located under the userprofile will have to be repaired once the user login and executes an entrypoint, also called profile-fix.
So the benifit of using advertised shortcut will be one extra entrypoint that will trigger a repair once a broken component is found.
The following link will give you some more details of "Application Resiliency".
http://msdn2.microsoft.com/en-us/library/aa302344.aspx
Hope that clarifies it abit further.
Posted by:
jinxngoblins
16 years ago
Yes.. Thanks a lot Kim..Now it seems to be quite clear!!!
Thats the reason why we use active setup for Non advertised shortcut so that an entry point is created for different users who logs in( for installing user profile data)..
As for advertised shortcut they are itself the entry points for the HKCU keys..
Thats the reason why we use active setup for Non advertised shortcut so that an entry point is created for different users who logs in( for installing user profile data)..
As for advertised shortcut they are itself the entry points for the HKCU keys..
Posted by:
AngelD
16 years ago
Thats the reason why we use active setup for Non advertised shortcut
If you have a non-advertised shortcut then why not make it advertised to let the MSI install/repair the HKCU registry entries and/or user-files instead of letting Active Setup do this?
Active Setup is most used when there are no entrypoints at all but as you have a shortcut that you could make advertised I'm curious why you choosed to use Active Setup instead. Always interesting to know if there are some underlying cause of the choice.
If you have a non-advertised shortcut then why not make it advertised to let the MSI install/repair the HKCU registry entries and/or user-files instead of letting Active Setup do this?
Active Setup is most used when there are no entrypoints at all but as you have a shortcut that you could make advertised I'm curious why you choosed to use Active Setup instead. Always interesting to know if there are some underlying cause of the choice.
Posted by:
nheim
16 years ago
Hi folks,
no rules without execptions...
Multimedia apps like Quicktime/Realplayer, Browsers like Firefox nowadays have a helper exe to set/unset them as
"Default Programs" trough the OS dialog. This removes and adds shortcuts for those apps. But of course, this are not advertised ones and so the 'self healing' process can't be triggered.
This is one of the main reason, why i use 'Active Setup' to install the profile settings for those apps.
The second reason to for me to use AS: One can reinstall a particular feature, even when the (vendor) app has it's problems with self healing.
Regards, Nick
no rules without execptions...
Multimedia apps like Quicktime/Realplayer, Browsers like Firefox nowadays have a helper exe to set/unset them as
"Default Programs" trough the OS dialog. This removes and adds shortcuts for those apps. But of course, this are not advertised ones and so the 'self healing' process can't be triggered.
This is one of the main reason, why i use 'Active Setup' to install the profile settings for those apps.
The second reason to for me to use AS: One can reinstall a particular feature, even when the (vendor) app has it's problems with self healing.
Regards, Nick
Posted by:
sowjanya_230
13 years ago
I have one question regarding repair
1.if the short cut is advertised, Is it self rapairs all the features present in the MSI when the shortcut is launched.or just only one feature containg that shortcut?
2.does forceful repair in test user account will re-install all the features?
can any one provide some info on this?
thanks in advance
1.if the short cut is advertised, Is it self rapairs all the features present in the MSI when the shortcut is launched.or just only one feature containg that shortcut?
2.does forceful repair in test user account will re-install all the features?
can any one provide some info on this?
thanks in advance
Posted by:
anonymous_9363
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.