Automatic detection 32/64
Automatic detection 32/64
I have several installations that now I have to check or uncheck the 64 bit box to compile a Setup. I bought IA 12 Developer believing from the info that the installer would compile a setup that would automatically detect 32/64 bit at installation. I have since found that I still have to make two setups for each install. Is there a way to make one setup do both without starting from scratch?
Re: Automatic detection 32/64
It is indeed possible to have a single installer for both 32bit and 64 bit - that is what the Set 64 Bit Mode command is used for, which determines the processor architecture used by the installation. This command may be used to set processor architectures while setup is already running on the target system, making it possible to ship a single installer for both 32 bit and 64 bit Windows, switching the processor architecture at runtime.
The Get System Settings command may be used to determine the availability of 64 bit capabilities at runtime. You can use this command and check for the with the "Windows in 64 bit Mode" as well as the "Processor Architecture" flag (that is used to determine exact 64 bit architecture of the underlying processor, namely Itanium or AMD64/EM64T). I would strongly encourage you to read the "Set 64 Bit Mode" help file inside IA as it will help you understand the entire 64 Bit mechanism and IA.
The Get System Settings command may be used to determine the availability of 64 bit capabilities at runtime. You can use this command and check for the with the "Windows in 64 bit Mode" as well as the "Processor Architecture" flag (that is used to determine exact 64 bit architecture of the underlying processor, namely Itanium or AMD64/EM64T). I would strongly encourage you to read the "Set 64 Bit Mode" help file inside IA as it will help you understand the entire 64 Bit mechanism and IA.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

