TargetPlatform Property
Specifies the platform that the packaged application or component is targeting. At install time, the TargetPlatform property is checked against the target computer to determine if the installation can continue.
Settings
The following settings are available for the TargetPlatform property:
Setting |
Description |
---|---|
x86 |
The package can be installed on any 32-bit platform; when installing to a 64-bit platform, files are installed to 32-bit folders. |
x64 |
The package is for machines supporting the AMD64 and EM64T instruction sets; when attempting to install to a 32-bit platform or any other 64-bit platform, an error is raised and installation is halted.
Note
AMD 64-bit setups require Windows Installer version 3.0. If this value is chosen for the TargetPlatform property, a launch condition for Windows Installer version 3.0 is added to the Setup project.
|
Itanium |
The package is for the 64-bit Itanium processor; when attempting to install to a 32-bit platform or any other 64-bit platform, an error is raised and installation is halted. |
When either x64 or Itanium are selected, you cannot place files in the Common Files, Program Files, or System folders; you must use the 64-bit versions of these folders instead. For more information, see How to: Create a Windows Installer for a 64-bit Platform.
See Also
Tasks
How to: Create a Windows Installer for a 64-bit Platform