/build/static/layout/Breadcrumb_cap_w.png

How can I set permissions on folders and files using AdminStudio?

Please let me know the steps to give permissions for files and folder at the time of repacking using admin studio


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
1.Open Installshield (I'm using 2010 Professional) 2.Go to the "General Iformation" section in the left hand pane. 3.Make sure that the setting "Locked-Down Permissions" is set to "Custom InstallShield handling". This allows you to do more advanced stuff with the permissions. 4.Go to the "Files and Folders" section in the left hand pane (or the file section in whatever component you want to change) 5.Right click the folder / file you wish to modify the permissions for. 6.Click "Permissions" 7.Set the ACLs you wish
Posted by: Ifan 11 years ago
Second Degree Green Belt
1
  1. Open Installshield (I'm using 2010 Professional)
  2. Go to the "General Iformation" section in the left hand pane.
  3. Make sure that the setting "Locked-Down Permissions" is set to "Custom InstallShield handling". This allows you to do more advanced stuff with the permissions.
  4. Go to the "Files and Folders" section in the left hand pane (or the file section in whatever component you want to change)
  5. Right click the folder / file you wish to modify the permissions for.
  6. Click "Permissions"
  7. Set the ACLs you wish

A good tip is to check out the builtin help and flexeras helpnet.


Comments:
  • Taq Ifan. - vinodreddy10 11 years ago
  • Ifan, one more help
    please let me know the step by step procedure to write a custom action using install shield and what are the options that we choose everytime
    Taq for ur valuable time and answer - vinodreddy10 11 years ago
  • No problems. Can't really tell you about custom actions, it's such a vast topic and the options depends on what you want to do. Making custom actions requires a thorough understanding of how they work and practice. You should study it yourself. Read some articles and get the book "Phil Wilsons guide to Windows Installer". Lots of useful stuff in there. - Ifan 11 years ago
  • Okay Ifan taq a lot - vinodreddy10 11 years ago
Posted by: piyushnasa 11 years ago
Red Belt
1

I have written detailed explaination of giving permission in Windows Installer. It does not matter from which tool you use it.

You can have a look at this post:

http://msiworld.blogspot.com.au/2008/11/different-ways-of-giving-permissions-in.html

Posted by: jagadeish 11 years ago
Red Belt
1

You can execute the following command line through "Execute Program from Desitination" custom action during installation & repair

Giving Write permission to the Users group

Cacls "FolderPath" or "File" /T /E /G Users:w

To know more about the permissions, type cacls /? in cmd

 

Posted by: SilentKiller 11 years ago
Orange Belt
0

You can write a custom action using one of the following executables:

  • icacls(Windows 7) or cacls (Windows XP)
  • subinacl
  • setacl

Comments:
  • u can add permissions in installshild very easy - roni86 11 years ago
  • Thanks for your reply and could you be able to give step by step procedure for that - vinodreddy10 11 years ago
  • in installschild click go to folder and click permison and the add it :) - roni86 11 years ago
  • FYI.. Cacls is available in Windows 7.. - jagadeish 11 years ago
    • Cacls is very much available in Windows 7 but with deprecated features. So better to use icacls in windows 7. - SilentKiller 11 years ago
      • What do you mean? Please explain.. - jagadeish 11 years ago
  • is there any one who will give step by step procedure rather than giving one line answer - vinodreddy10 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ