ISWiSISProperty Object

InstallShield 2024 » Automation Interface

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

ISWiSISProperty represents a property in the Summary Information Stream. You can retrieve a property by specifying an item in the ISWiSISProperties collection. The following Summary Information Stream property names are supported:

Title
Subject
Author
Keywords
PackageCode
TemplateSummary
Comments
Schema
RequireAdministrativePrivileges

Several of these properties use string entries, as required by InstallShield. In that case, they contain the value for the string identified by the ActiveLanguage property of ISWiProject.

Members

ISWiSISProperty Object Members

Name

Type

Description

Name

Read-Only Property

Contains the property's name. Must be one of the existing Summary Information Stream properties listed above.

Value

Read-Write Property

Gets or sets the property's value.

If this property uses a string entry, Value gives you the value for the string identified by the ActiveLanguage property of ISWiProject.

Example

The following VBScript example sets the Title to Windows Installer Setup Package and RequireAdministrativePrivileges to No:

Option Explicit

 

Dim pProject

Set pProject = CreateObject ("IswiAutoAutomation Interface Version.ISWiProject")

 

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

 

Dim pTitle, sTitle

sTitle = "Windows Installer Setup Package"

 

Set pTitle = pProject.ISWiSISProperties.Item("Title")

pTitle.Value = sTitle

 

Dim pReqAdminPriv, sReqAdminPriv

sReqAdminPriv = "No"

 

set pReqAdminPriv = pProject.ISWiSISProperties.Item("RequireAdministrativePrivileges")

pReqAdminPriv.Value = sReqAdminPriv

 

pProject.SaveProject

pProject.CloseProject

Applies To

ISWiProject