Hi everyone,

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?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity



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}

(Default) REG_SZ Your Application Name
StubPath REG_SZ msiexec /i {app GUID} some switches
Version REG_BINARY Version value

Hope this helps,

Answered 09/21/2006 by: WayneB
Blue Belt

Please log in to comment