Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Convert Public Property in Restricted Public Property

Updated: 03 Jun 2008 | 2 comments
piyushnasa's picture
0 0 Votes
Login to vote

There are 3 types of properties in Windows Installer; namely: Public Property, Private Property and Restricted Public Property.

Here's what you need to include Public Properties in Restricted Public Properties.

Public property can be changed from command line while installing the package whereas private properties cannot be changed from command line.

Restricted public properties can be only changed by a system administrator or by a user who has elevated privileges.

To include public properties in Restricted public properties, add them to the SecureCustomProperties property.

Generally we add INSTALLDIR and UPGRADE_1 properties as Restricted public property.

Here UPGRADE_1 refers to the Upgrade action name which is there in your package.

Comments

Sachin.J.K's picture
12
Jun
2008
0 Votes 0
Login to vote

Piyush can you please give

Piyush can you please give collection of Public properties which suppose to be Restricted.
Sachin

With Regards
Sachin
wise.sachin@gmail.com

piyushnasa's picture
18
Jun
2008
1 Vote +1
Login to vote

It depends on company to

It depends on company to company and your requirements. We generally keep INSTALLDIR and UPGRADE_1 property restricted. But if your need is to change INSTALLDIR on commandline then you cannot give INSTALLDIR as restricted property. You can also restrict PIDKEY, which is generally the serial number for the software. It all depends on your requirement and not a rule.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/