SMS deployment and per-user shortcuts

I'm running into trouble trying to find a way to deploy shortcuts to a user-based location.
Ex: C:\Documents and Settings\%user%\Application Data\Production Apps.

I'm using Wise Package Studio for MSI creation, and using Windows\Profiles\Application Data\Production Apps as my path. When running the MSI by itself, the icon is placed in the correct folder. However, since I'm deploying MSIs through SMS the MSI is run with the System Account. As a result, no matter what command line string I run, the shortcut ends up in C:\Windows\System32\Config\Application Data\Production Apps.

Does anyonw know a workaround for this, or another location that may work that is dependent on the user?

Comments

Answers

0

Gidday,

You will have to use Active Setup in the registry for this. Be careful deploying to users, if you have multiple users on one PC and you upgrade the app but one of users profiles holds the shortcut pointing to the old app it will perform a self repair. We always install shortcuts to Windows\Profile either desktop or Start menu because of this.

There is lots of info about Active Setup, we use it specifically for Adobe Reader configuration per user.
Location in Registry:
HKLM\Software\Microsoft\Active Setup\Installed Components\{Your app product guid}