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 Forum
- :
- Re: Sharing INSTALLDIR and set permission everyone full
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2011
05:45 AM
Sharing INSTALLDIR and set permission everyone full
Hello,
I'm trying to share my INSTALLDIR with the promission FULL for EVERYONE.
I have tried the net share command with no luck.
I have alose tryed the diffrent installscript from http://www.installsite.org/ with the same result.
Both of this share the folder but no promission for everyone is set. With net share i alose tryed the /GRANT:Everyone,FULL but this works onlye on enlish OS.
I have googled internet and search this formum for anything usefull with no luck. Using VB script is not an option at this moment.
/Daniel
I'm trying to share my INSTALLDIR with the promission FULL for EVERYONE.
I have tried the net share command with no luck.
I have alose tryed the diffrent installscript from http://www.installsite.org/ with the same result.
Both of this share the folder but no promission for everyone is set. With net share i alose tryed the /GRANT:Everyone,FULL but this works onlye on enlish OS.
I have googled internet and search this formum for anything usefull with no luck. Using VB script is not an option at this moment.
/Daniel
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2011
11:31 PM
You can check for the components view in a basic msi project to set permissions on folders created during installation
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2011
02:37 AM
That's for NTFS and not for the shared folder. I want to set the promission on the shared folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2011
08:06 AM
I used a CA that launched an OS Executable "stored in the Directory table" called cacls. Formatting the CA as follows:
Working Directory: SystemFolder
Filename & Command line: cacls "[INSTALLDIR] /E /G Everyone:F
This was in a Basic MSI project, don't know if it is any different in an Installscript one. What I did find was that trying to do it through InstallShield didn't work, because it overwrote the previous set of permissions, it didn't edit them which is what the /E flag indicates.
Working Directory: SystemFolder
Filename & Command line: cacls "[INSTALLDIR] /E /G Everyone:F
This was in a Basic MSI project, don't know if it is any different in an Installscript one. What I did find was that trying to do it through InstallShield didn't work, because it overwrote the previous set of permissions, it didn't edit them which is what the /E flag indicates.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2011
08:12 AM
I have tried this but it want work on a computer with a diffrent language than english (the everyone). Is there a way to use cacls.exe with SID insted?
I found out trying that this set the permission on files/folder and not on the shared folder permission.
PS! Tnx for the fast reply 🙂
I found out trying that this set the permission on files/folder and not on the shared folder permission.
PS! Tnx for the fast reply 🙂