Asked by:
vb script to set folder permissions?

Question
-
I can't find this anywhere. There is no manual. There is no msi development forum. Good going.
What is the vb script to set the permission in the msi installer tables (ex:LockPermissions) to do the following:
c:\programdata\foocompany\fooproduct
I need to add write permissions for foocomany folder for Users. Alternatively, set Everyone to All permission at foocompany or fooproduct.
I have code for setting the registry, but don't have anything for folders yet.
Note: if you don't have the specific query or a link to one, please don't respond.
Tuesday, February 14, 2012 11:40 PM
All replies
-
I can't find this anywhere. There is no manual. There is no msi development forum. Good going.
What is the vb script to set the permission in the msi installer tables (ex:LockPermissions) to do the following:
c:\programdata\foocompany\fooproduct
I need to add write permissions for foocomany folder for Users. Alternatively, set Everyone to All permission at foocompany or fooproduct.
I have code for setting the registry, but don't have anything for folders yet.
Note: if you don't have the specific query or a link to one, please don't respond.
Tuesday, February 14, 2012 11:44 PM -
Hi,
A forum for VbScript questions is here.>>
http://www.visualbasicscript.com/
The forum your have posted in is 'usually' intended for VB.Net questions.
Please do not duplicate your question in more than one forum area as your question(s) will still be noticed.
You have a duplicate post here.>>
http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/cf497d37-f7ae-4979-86ff-8616df6c0a1e
Regards,
Click this link to see the NEW way of how to insert a picture into a forum post.
Installing VB6 on Windows 7
App Hub for Windows Phone & XBOX 360 developers.
- Edited by John Anthony Oliver Wednesday, February 15, 2012 1:36 AM
Wednesday, February 15, 2012 1:26 AM -
Hi,
A forum for VbScript questions is here.>>
http://www.visualbasicscript.com/
The forum your have posted in is 'usually' intended for VB.Net questions.
Please do not duplicate your question in more than one forum area as your question(s) will still be noticed.
You have a duplicate post here.>>
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/99d7eb9d-d4ca-495a-a76d-7aa0ef6f516a
Regards,
Click this link to see the NEW way of how to insert a picture into a forum post.
Installing VB6 on Windows 7
App Hub for Windows Phone & XBOX 360 developers.
- Edited by John Anthony Oliver Wednesday, February 15, 2012 1:35 AM
Wednesday, February 15, 2012 1:31 AM -
You can't really fault anyone for posting in the wrong place. Microsoft forums are so dyslexic that it's impossible to get it right.
Wednesday, February 15, 2012 1:43 AM -
There is no msi development forum.
The following forum deals with setup and deployment issues
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads
Leon C Stanley - - A dinky di VB'er - -
Wednesday, February 15, 2012 6:38 AM