Jump to content


Photo

Get/set a property in a pure InstallScript project


  • Please log in to reply
1 reply to this topic

#1 hrms

hrms
  • Full Members
  • 25 posts

Posted 07 July 2010 - 10:56

How do I get/set a property in a pure InstallScript project?

Found the method 'SetProperty' in an InstallScript of a Basic MSI IS project, but this method isn't available in a pure InstallScript project.

#2 Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,280 posts

Posted 07 July 2010 - 13:32

Pure InstallScript doesn't have the concept of properties, so if you mean how do you set a property for an underlying MSI install, then just run the following command:

msiexec /i <MSI_File> <PropertyName>=<PropertyValue>

Hope it helps.

Edited by Taco Bell, 07 July 2010 - 13:33.

user posted image