Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSI - Permissions

Status
Not open for further replies.

jgillin

Programmer
Oct 22, 2003
82
US
Hi,
I've been trying to figure out how to use Orca to change permissions on the install directory. I've read some stuff online, and tried but it doesn't seem to affect permissions. Here's what I've done so far:
1.) Created the MSI with Visual Studio Installer.
2.) opened the MSI in Orca
3.) Added the ALLUSERS property with a value of 2
4.) Added a "CreateFolder" table.
5.) Added a row in the CreateFolder table that matched up with the one for TARGETDIR in the directory table (specifically I set Directory column to TARGETDIR and the Component column to MyComponent
5.) Added a "LockPermissions" table
6.) added a row to LockPermissions with the following values:
LockObject => TARGETDIR
Table => CreateFolder
Domain => (left blank, also tried [%DOMAINUSER]
 
Oops, accidently submitted before I was done.
Here are the other values in the LockPermissions table.

User => Everyone
Permissions => 268435456

Does anyone have any ideas as to why this doesn't seem to have any affect on the permissions?

Thanks for any suggestions
 
Hey,

Did you find the solution for this problem? I've a very similar issue, been struggling for 3 days to get it working.

Anybody please suggest.

Thanks much.
 
Well, I can get it to work with your values, but try and use -267451905 for the permission and see how that works out.
Try a spelling error in "Everyone" to see if it fails.

Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top