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.
FOLLOW US
Get the latest news in Application Packaging