[CMake] How do you make a 64-bit NSIS installer for Windows?

Keith Gardner kgardner at zebraimaging.com
Tue Jun 2 09:21:17 EDT 2009


My company is trying to package our software on Windows using NSIS in 32-bit and 64-bit but the install path always assumes that the package is 32-bit.  If you are on a 64-bit machine, 32-bit and 64-bit NSIS installers use "C:\Program Files (x86)" as the install path.  The proper way for a 64-bit installer is to have the path be "C:\Program Files" on a 64-bit machine and not allow an install on a 32-bit machine.  Is there any support for this in CMake or does the functionality need to be added?

Thanks,
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090602/445d87a3/attachment.htm>


More information about the CMake mailing list