Wise Installation Studio/Express Getting Started Guide
40
Advanced Tutorial: Using MSI Script in a Windows Installer Installation
5. Select the REM statement below the InstallFiles action.
6. In the Actions list, double-click Execute Program From Destination.
The Execute Program From Destination dialog box appears.
7. Click the Details tab and complete the dialog box:
Note
This tutorial does not explain all the options available on this dialog box. Press F1 on
the dialog box for details on all options.
Note
Because Notepad is in the PATH variable, you do not have to specify its full path. If
you were calling an .EXE that is not in the PATH variable, you would have to specify
the full path here, using bracketed property names to form the path. Also, you don’t
have to specify the full path to readme.txt because in the previous field you set the
current working directory for Notepad to the QuickFacts directory, where readme.txt
resides.
The dialog box should look like this:
8. Click the Properties tab.
Custom Action Name
OpenReadMe
Working Directory
INSTALLDIR
This sets the current working directory of the .EXE
when it runs on the destination computer. In this
case, Notepad.exe looks in the installation
directory for the readme file you specify below.
EXE and Command Line
notepad.exe readme.txt