Wise Package Studio Reference
115
Wise Package Studio Tools
The WinINSTALL Preinstall and Postinstall scripts might not convert correctly.
Legacy Setup Conversion tries to convert them to Execute Program custom
actions in MSI Script in Windows Installer Editor or to Execute Program script
actions in Script Editor in WiseScript Package Editor. However, the actions
might not be configured properly. Check and test each of these Execute
Program actions to see if it is configured correctly.
z
If the target path of a file contains a WinINSTALL variable, then the WinINSTALL
variable is converted to a Wise variable.
z
If the source path of a file in WinINSTALL contains either the @Server or
@Wininstall variable, you can specify the values of these two variables at
conversion time.
z
If the source path of a file contains other WinINSTALL variables, regardless of the
target path, then the entire file is ignored by the conversion process. Any files with
other WinINSTALL variables in the source path must be added manually to the
converted installation. This problem does not occur if source paths in the
WinINSTALL installation have hard-coded or UNC-formatted paths. However, the
files must be available at the same locations as specified in the original WinINSTALL
installation.
Converting a WinINSTALL Installation
To convert a WinINSTALL installation
1. In WinINSTALL, open the installation and export it to a text file. (In WinINSTALL 7
or WinINSTALL 2000, use the Export command on the Actions menu.)
The text file has the same name as the WinINSTALL installation, but with the
extension .TXT, and it is saved in the same directory.
2. Do one of the following:
On the Projects tab, click the Run link to the right of the task or tool associated
with Legacy Setup Conversion. This tool might skip pages or populate fields
based on command-line options defined in Process Templates Setup.
On the Tools tab, double-click Legacy Setup Conversion.
3. If the Select Source Format page appears, mark WinINSTALL® and click Next.
4. Complete the Specify Files page:
Source Installation
Specify the full path of the .TXT file to convert.
Target Installation
Specify the full path of a new or existing .WSI or .MSI. In the Professional
Edition, you also can specify a .WSE file. The converted installation will be
stored in this file.
Add/Update Resources in Existing Installation
If you specified an existing installation in Target Installation, you can mark
this to add to or update the resources in the existing installation instead of
overwriting them.
5. Click Next on the Specify Files page.
The WinINSTALL Files page appears.
6. Complete the page: