ISWiProperty Object

InstallShield 2019 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module

ISWiProperty represents a Windows Installer property in the Property Manager of the InstallShield user interface. You can retrieve a property by specifying an item in the ISWiProperties collection.

Members

ISWiProperty Object

Name

Type

Description

Comments

Read-Write Property

Gets or sets the comments associated with the Windows Installer property.

Name

Read-Only Property

Contains the name of the property.

Value

Read-Write Property

Gets or sets the property's value.

Example

The following example sets the property ApplicationUsers to “OnlyCurrentUser,” which means that the option “Only for me” is selected by default in the CustomerInformation dialog:

    Dim pProject As ISWiProject

    

    Set pProject = New ISWiProject

    pProject.OpenProject "C:\MySetups\ISWiProperties.ism"

    

    Dim pProperty As ISWiProperty

    Set pProperty = pProject.ISWiProperties.Item("ApplicationUsers")

    

    pProperty.Value = "OnlyCurrentUser"

    pProperty.Comments = "Make ""Only for me"" the default radio button " & _

                         "in the CustomerInformation dialog."

    

    pProject.SaveProject

Applies To

ISWiProject