cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

creation of mst for admin studio 8

hi all,
i am having trouble getting our mst to work for As8.
i have added our changes via our mst with our feature holding all the additions.
when we install via sms the HKCU does not go down so we dont get a repair when the user runs admin studio (thus putting down the HKCU settings).

how best to approach this?

as sms installs AS8 it does not log the user out.
therefore how best to force a repair on first launch of the shortcut for anyone especially the user currently logged in?:eek:
(1) Reply
The best way is to create an advertised shortcut.
when users click on shortcut, Msi make a repair.

or you can try this.
In HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\

you create a subkey (e.g MyMsi) and 2 string keys:

StubPath
Version

In default key, you put the name of your package (e.g My Msi )

In StubPath, you enter this command:

msiexec /fu {xxx-xxx-xxx-xxxx} /qn

{xxx-xxx-xxx-xxxx} is the product code of your MSI

And in Version, you put the version of your MSI.

When user log on, windows verify if subkey HKCU\SOFTWARE\Microsoft\Active Setup\Installed Components\MyMsi exists and if not, it launch command stored in StubPath.