Installer only installs to root on x64 systems
-
23-08-2019 - |
Question
My MSI installer created with Visual Studio 2008 refuses to install the app in the designated directory and instead will only install the app in the root directory. If I take the same MSI and install in on an x86 system the installer installs the app in the directory specified.
I am developing the app and MSI on Server 2008 and Win7 RC x64 (Hyper-V). I see the same results on either development platform.
Thanks in advance!
Solution
Check two things:
- Are you targeting x64 for the code?
- Are you targeting x64 for the .MSI file?
This link http://msdn.microsoft.com/en-us/library/cd7a85k9(VS.80).aspx explains the gotchas.
OTHER TIPS
I ran into the same issue. I was able to resolve it by right-clicking and selecting "Run as Administrator"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow