Start Menu msc Shortcut incorrectly targeting x86 on Windows 2008 SP2 x64 - Advanced Installer Community
jstart
Posts: 18
Joined: Fri Apr 17, 2015 10:48 am

Start Menu msc Shortcut incorrectly targeting x86 on Windows 2008 SP2 x64

Advanced Installer v11.4.1.
Target environment for msi package:
Windows 2008 SP2 x64 (not x86) – NO Windows updates.
Windows 2008 R2 x64.
Exchange 2007/2010.

Our binaries are all x64 and the AI project is configured for 64bit package type (AMD64 / EM64T).
All Feature Properties have “Mark components in this feature as 64-bit component” checked.

The setup creates a Start Menu folder (company name, product name) where two shortcuts are placed, one to a PDF document the other to a .msc file which starts our x64 MMC administration tool.

The shortcut to the PDF document works correctly in all circumstances.
The shortcut to the .msc file works correctly on Windows 2008 R2.

On Windows 2008 SP2 x64, the target location for the .msc file is incorrectly set to x86 Programs Files, so the targeted .msc file is never found.
I’ve since discovered that on the .msc Shortcut Properties, unchecking “Run As Administrator” causes the target destination to be correct:

Run As Administrator = un-checked
Target = “C:\Program Files\Company Name\Product Name” (correct)

Run As Administrator = Checked
Target = “C:\Program Files (x86)\Company Name\Product Name” (wrong)

Can you explain why changing the “Run As Administrator” Shortcut option changes the Start Menu target directory on Windows 2008 SP2 x64, but has no effect on Windows 2008 R2?

Our MMC administration tool needs to run as administrator to allow AD / file read / write access.

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Start Menu msc Shortcut incorrectly targeting x86 on Windows 2008 SP2 x64

Hello,

Can you please send us the .AIP (project file) and a verbose log of the incorrect installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”