In VS2012, I've created an Wix3.6 setup project for an application. The installer output type is set to Executable Package (.exe) on the Properties tab. The setup project compiles and produces an .exe as expected.
Double-clicking the .exe produces the message:
This app can't run on your PC.
Executing the .exe as Administrator and granting elevation, the machine says:
Windows cannot find 'C:\abc\xyz.exe'. Make sure you typed the name correctly, and then try again.
Googling reveals the error message is likely architecture related.
Facts:
- Machine is Windows 8, 64-bit.
- The setup project is set to an x86 platform.
- The same setup project produces a working x86 .msi
Any ideas about incorrect settings, references or configurations to look for?
msiexec YourInstaller.msi
– Ruprecht