User Guide

491
About MSI Script
the service. The Windows Installer service can run with elevated privileges based on
policies, and the Windows Installer database runs with the current user’s privileges.
When you add custom actions, you can specify whether they should be run with elevated
privileges (system context) or with user privileges (user context). Set privileges to user
context or system context in the In-Script Options field on the Properties tab of the
custom action details dialog. On Windows 95 and Windows 98, Windows Installer runs
as an executable. Because there are no levels of privileges on Windows 95 and Windows
98 (everyone has full privileges), setting privileges has no effect.
For information on Windows Installer sequence tables, see Using a Sequence Table in
the Windows Installer SDK Help.
Finding Text in MSI Script
Press Ctrl + F and enter a text string to find lines that contain that string. All installation
sequences are searched, and you can select which installation modes to search. (In the
Visual Studio integrated editor, you cannot select installation modes, because the
standard Visual Studio Find dialog is used.)
Note
You cannot replace text using this feature, but you can replace text in Setup Editor > Tables
tab. See Searching for Table Data on page 400.
Also see:
About Installation Modes on page 488.
About Installation Sequences on page 490.
About MSI Script on page 488.