I'm trying to accomplish what I would think would be a very common, basic task. We have two versions of our product: 32-bit, and 64-bit. I'd like one installer that detects the OS and installs the correct version of our program.
I've read these instructions: http://www.advancedinstaller.com/user-g ... ckage.html, and although kludgy, it mostly seems to work. However, it still doesn't address the file association issue (manual registry commands?), and I don't see how to set APPDIR so it defaults to the correct Program Folder (i.e., Program Files (x86) for 32-bit, and Program Files for 64-bit).
Is there a more straightforward way to deal with the whole task? What does everyone else do? I can see that everything would work wonderfully if I just created separate 32-bit and 64-bit MSIs, but I don't want to ask the users to figure out which one they need.
If there's not a common, easy way of doing all this, can someone at least provide instructions for setting APPDIR appropriately? I can manually instruct the installer to place the files in ProgramFilesFolder or ProgramFiles64Folder depending on bit-size, but that would be quite misleading when the user is given the dialog to select APPDIR and I totally ignore it.
FOLLOW US
Get the latest news in Application Packaging