Windows Installer Editor Reference
70
Working With Wise Installation Files
Example: The installation directory is Program Files (x86)\QuickFacts. In MSI Script,
enter the following custom action:
If VersionNT64 then
Set Property INSTALLDIR to [ProgramFiles64Folder]\QuickFacts
End
If the destination computer’s target platform is 64-bit, then the default installation
directory is Program Files\QuickFacts. If it is 32-bit, then the original installation
directory is used.
See also:
Creating Multiple, Platform-Specific Installations from One Project File
on page 67
About MSI Script
on page 440
Custom Action Reference
on page 460
Starting a New Installation
Follow the steps below to create a new standard Windows Installer installation.
You can create other types of installations.
See
Options for New Installations
on page 73.
To start a new installation
1. In Wise Package Studio, do one of the following:
On the Projects tab, click the Run link to the right of the task or tool associated
with Windows Installer Editor. The installation associated with the current
project might be opened by default. This tool might open to a different view
based on command-line options defined in Process Templates Setup.
On the Tools tab, double-click Windows Installer Editor.
The New Installation File dialog box appears. If it does not appear, select File menu
> New.
2. In the Categories list, click Predefined Templates.
3. In the Templates/Tools list, click the Windows Application icon.
A Windows Application installation is a standard installation intended for a Windows
computer or server.
4. In the File type section, specify the type of file to create:
Create an .MSI (Windows Installer database), which is a distributable
installation.
Create a .WSI (Windows Installer project), which contains instructions for
compiling an .MSI.
See
Project Files and Database Files
on page 61.
5. Select a target platform: 32-bit, 64-bit (x64), or 64-bit (Itanium).
See
How to Specify the Target Platform
on page 63.
6. If the application has been written to be installed and run by standard users without
elevation, mark Create a Vista Standard User Installation. This clears the