Archive: 64-bit installation help


64-bit installation help
Hi All,

I've got a 32-bit program that consists of 6 files and a sub folder of images that are installed in a the users Program Files directory and 4 keys that are written to the registry. It installs fine under Windows 32-bit, but under 64-bit, my installer tells me that the files are getting skipped on installation.

On a 64-bit system, the install path the comes up in the installation dialog box is Program Files (x86), but nothing will install there. However, if I change the install path to something else, like the desktop for example, it will install fine.

Since the Program Files (x86) directory is displayed as the installation path, that makes me think Windows knows that it is only a 32-bit program and will deal with it accordingly. Is there any reason that it will not install the files under a 64-bit system?

Thank you in advance for any help provided!


Did you use RequestExecutionLevel?

Stu


Yes I am. I have RequestExecutionLevel user at the top of the script.


Users are not allowed to install to Program Files, or write to HKLM registry. Use requestexecutionlevel admin, or install to $LOCALAPPDATA and write to HKCU registry.