/build/static/layout/Breadcrumb_cap_w.png

Stange behaviour for [StartMenuFolder] in Windows 7 x64

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   [ + ] Show comments

Answers (5)

Posted by: jagadeish 11 years ago
Red Belt
3

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

Posted by: SilentKiller 11 years ago
Orange Belt
1

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.

Posted by: piyushnasa 11 years ago
Red Belt
1

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.

Posted by: matby3 11 years ago
Senior Yellow Belt
1

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.

Posted by: piyushnasa 11 years ago
Red Belt
1

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.


Comments:
  • and is possible for you to create a log and post it here for the corrupted install. - piyushnasa 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ