Hi all,

I've noticed a very strange behaviour with installing a vendor MSI using our deployment system (using SYSTEM account).

If we install the MSI manually using command line logged on as administrator the shortcut is placed under Start Menu | All Applications | <Vendorname>, but if I deploy the MSI the shortcut instead ends up in C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\<Vendorname>!

Have I found a undocumented "feature" in Windows 7 x64? If I deploy the same application to a Windows 7 x86- or Windows XP-machine the shortcut ends up where I want it to be.

I've looked in the Directory table and all looks correct. The component containing the advertised shortcut and the corresponding exe-file isn't marked as a 64 bit component.

We've noticed this behaviour in a few more applications.

Any ideas?

0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer



Ensure that ALLUSERS property value is 1 in the property table..

Answered 02/03/2013 by: jagadeish
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity



When you deploy the MSI through a deployment tools, it gets installed in System context. The shortcuts are placed in userprofile, so in system context userprofle resolves to C:\Windows\SysWOW64\config\systemprofile.

What you can do is move your shortcuts from userprofile to AllUsersProfile, which resolves to C:\ProgramData in Windows 7.

Answered 02/01/2013 by: SilentKiller
Orange Belt

Please log in to comment

Install it per machine. If you install it in user context, it will install in systemprofile only and it is not a feature of Win 7, but earlier as well.

Answered 02/04/2013 by: piyushnasa
Red Belt

Please log in to comment

Thank you all for your replies!

The ALLUSERS property is set to 1 (per machine).

If I had the same problem with the shortcuts deploying the same package to a Windows 7 x86 machine I would stay corrected, but now I really can't see the what's causing the issue.

To summarize:

If I deploy the same package to a non-logged on Windows 7 x86 or Windows XP machine the shortcut ends upp correctly in Start Menu | All Applications | <Vendorname>, but deploying it to a Windows 7 x64 the shortcut ends up in C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\<Vendorname>.

Regardles of wich user I'm later using to log on to the machine, I can see that the application is installed in appwiz.cpl, wich I wouldn't do if the application were installed per user?

I can't see any conditions in the feature holding the shortcut component or in the shortcut component aswell, neither in any custom action.

Answered 02/04/2013 by: matby3
Senior Yellow Belt

Please log in to comment

What is the location for your user profile where start menu is situated?

Try ALLUSERS=2 as well and let me know how it worked.

Answered 02/05/2013 by: piyushnasa
Red Belt

  • and is possible for you to create a log and post it here for the corrupted install.
Please log in to comment