This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Differences Between A Public And Private Property
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Differences Between A Public And Private Property
Differences Between A Public And Private Property
Summary
This article discusses the differences between public and private properties.Synopsis
This article discusses the differences between public and private Windows Installer MSI properties.
Discussion
Public properties are accessible throughout the Setup (command line), Dialog Editor, custom actions, InstallScript, etc., while private properties are only accessible within the interface. Public properties are defined in all capital letters in the Property Manager, while private properties can be either case.
- If you are using a property to conditionally install a component or feature or you are trying to access it via MsiSetProperty or MsiGetProperty, you may want to declare this property as a public property.
- There are many public properties, such as ALLUSERS, REINSTALL, and REMOVE, which are predefined Windows Installer properties that you can use within your project and call via command-line arguments.
- Public properties can be accessed and modified by the end user running your setup, via command line, or transforms.
Additional Information
For more information, see the Windows Installer Help Library topics Public Properties and Private Properties.
No ratings
Comments
Jul 02, 2019
07:04 PM
- Mark as Read
- Mark as New
- Permalink
- Report Inappropriate Content
Jul 02, 2019
07:04 PM
May you please show us an example how to set and get the value of a public property in InstallScript's event in InstallScript MSI project?