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
- :
- Set FolderPermission on VISTA
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
Dec 05, 2007
10:19 AM
Set FolderPermission on VISTA
Hi,
I´ve try to set folderpermissions ( INSTALLDIR ) on VISTA using LockPermission Table. How can I differ between FixedDrive and Remote ?
Please help !
I´ve try to set folderpermissions ( INSTALLDIR ) on VISTA using LockPermission Table. How can I differ between FixedDrive and Remote ?
Please help !
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 05, 2007
10:50 AM
sligers wrote:
Hi,
I´ve try to set folderpermissions ( INSTALLDIR ) on VISTA using LockPermission Table. How can I differ between FixedDrive and Remote ?
Please help !
Is your question about setting permissions on a local drive vs. a network drive? You can try using subinacl to see if it works on network drives - I believe that it will as long as the user has the rights but I've never tried it. You can download it here.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 06, 2007
12:02 AM
klacounte wrote:
Is your question about setting permissions on a local drive vs. a network drive? You can try using subinacl to see if it works on network drives - I believe that it will as long as the user has the rights but I've never tried it. You can download it here.
Thanks for the LINK.
My question was, how it is possible to differ between lokal and remote by using an condition. If i installed the app an lokal drive, all permissions went fine.
An an network drive ( R:\ ) an error occured.
Here are an Screenshot from the german messagebox
http://webpixels.de/f.jpg
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 06, 2007
10:18 AM
I don't know if the Windows Installer will be able to set your permissions on a network drive. I think the standard actions that use the LockPermissions table run under the system account so it won't have the proper rights on the network.
Below is a screenshot showing the properties for a custom action that calls subinacl. You'll need to change the In-Script Execution to Deferred Execution so that it runs with the current users permissions and I'd suggest adding some validation in the UI to verify that the current user has the proper rights. Otherwise the install may error and rollback.
Below is a screenshot showing the properties for a custom action that calls subinacl. You'll need to change the In-Script Execution to Deferred Execution so that it runs with the current users permissions and I'd suggest adding some validation in the UI to verify that the current user has the proper rights. Otherwise the install may error and rollback.