InstallShield 64-bit OS packaging considerations

Source: Internet
Author: User

InstallShield 64-bit OS packaging considerations

1, installation directory

Under 64-bit systems, the installation directory is in the Program Files and program Files (x86).

64bit application will be automatically installed under Program files;

The 32bit application will automatically be installed under Program Files (x86).

2. System Catalogue

Under 64-bit system, the system directory is divided into System32 and SysWow64.

The 64bit AP runs under System32;

The 32bit AP runs under SysWow64.

InstallShield Packaging Considerations:

Problem: When the 32-bit AP calls the Winsysdir variable, the default point is to SysWow64, even if the call to windir^ "System32" is forced to point to syswow64.

Solution: Disable (wow64fsredirection)

Wow64fsredirection: Play to determine the 64-bit system to reduce the role of which system variables, disable off, will be the default point to System32.

Note: When the installation is complete, remember to enable (wow64fsredirection) to avoid affecting other programs of the system.

Experience:

In the Installing () event disable (wow64fsredirection);

Enable (Wow64fsredirection) in the installed () event;

This way the entire installation process will not have to consider when the switch.

Similarly, the uninstall process also has to be done in uninstalling () and uninstalled () to unload the corresponding part.

3. Registration Form

Under 64-bit system, the registration form is divided Hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun

and Hkey_local_machinesoftwarewow6432nodemicrosoftwindowscurrentversionrun

Have the 32bit AP registered in the default registry

Hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun, command: regdb_options = regdb_options | Regdb_option_wow64_64key;

At the same time, use up also remember regdb_options = regdb_options & ~regdb_option_wow64_64key;

--------------------------

It is necessary to note that the 32-bit-related directories, methods, are replaced with 64-bit. This ensures that the correct installation is under the 64-bit directory.

1.regdb_options allows registry functions to read and write correctly on 64-bit win systems, not read and write 6432node

Regdb_options = Regdb_options | Regdb_option_wow64_64key;

Regdb_options = regdb_options & ~regdb_option_wow64_64key;

2. Read InstallShield about 64 of the system catalog

3. Set Compoment to 64 bits

4...

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.