Importing the User Interface

Windows Installer

Importing the User Interface

In addition to information discussed in previous sections, uisample.msi also contains data for a sample user interface. If you merged uisample.msi into MNP2000.msi in the section Importing a Blank Database, then this information is present in MNP2000.msi as well. The information for the sample user interface is in the following tables.

The database editor Orca provided with the installer includes a dialog preview option that you can use to preview the dialogs of the user interface that is specified by the data in the above tables.

The sample installation package MNP2000.msi is now ready for package validation. Always run validation on a new package before attempting to install the package for the first time. This is discussed in Validating the Installation Sample.

If you do not want to include the user interface in the sample package, omit or remove the all information in the tables shown above except for the TextStyle table (which is needed to define the DefaultUIFont property). You should also remove user interface properties from the Property Table. An example Property table for the Notepad sample, without a UI, is shown below. Do not reuse the GUIDs shown in the table if you copy this example.

Property Table

Property Value
DefaultUIFont DlgFont8
INSTALLLEVEL 3
LIMITUI 1
Manufacturer Microsoft
ProductCode {18A9233C-0B34-4127-A966-C257386270BC}
ProductLanguage 1033
ProductName MNP2000
ProductVersion 01.40.0000
UpgradeCode {908E378A-9551-4772-BF1D-5CFAF6FD9CB4}

 

A package without a user interface can be installed from the command line or from a program. To install a package from the command line use the methods described in Command Line Options. To install a package from a program use the methods described in Using Installer Functions. Always run validation on a new package before attempting to install a new package for the first time.

Continue

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.