Advertising
Usually you get an application which is a per machine application and you need to convert it to per machine application where shortcut are not advertised, or you have a shortcut in the form of link files.
Then you need to do some steps to make your your application advertise so it will selfheal properly. Also, if hkcu keys are not reflecting properly it will reflect when a new user logs in on system.
Below are the steps to make it advertise:
- Go to Installation Expert
- Go to Registry section.
- Add a HKLM registry as follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{ProductCode}In the right side of this registry where you have selected {ProductCode}create a string type registry key:
Stubpath
and its value will be:
msiexec /fup {ProductCode} /qnSave and compile your msi and check and is it working properly or not.

Heading would more accurately read as how to use Active Setup
Not to be nitpicky, but this isn't so much so talking about advertising. You've just gone and talked about how to use Active Setup.
If you were to talk about advertising, wouldn't you be talking about things like:
- What could be used as an advertised entry point?
- Where are the advertising tables within an msi (AppID, Class, Extension, MIME, ProgID, Shortcut, Typelib, Verb)?
- The benefits of advertised entry points
"Usually you get an application which is a per machine application and you need to convert it to per machine application where shortcut are not advertised, or you have a shortcut in the form of link files."
As a packager, if an application you were packaging had shortcuts, would you make sure they were advertised or not? Just as a suggestion, maybe you could say that, "If you packaged an application which contains Current User entries but does not have any Shortcuts..."
Lack of entry points
Like Bruce mentioned, this article do not reflect advertising at all except lacking of.
A title like "trigger a repair when lack of entry points" would be more suitable.
In the beginning of your article you say convert from per-machine to per-machine, I guess you mean per-user in some place.
If you're going to write articles then please try to stick to the topic.
Would you like to reply?
Login or Register to post your comment.