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

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
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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.

Answered 07/10/2012 by: Ifan
Second Degree Green Belt

  • Taq Ifan.
  • 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
  • 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.
  • Okay Ifan taq a lot
Please log in to comment
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

Answered 07/13/2012 by: piyushnasa
Red Belt

Please log in to comment
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

 

Answered 07/09/2012 by: jagadeish
Red Belt

Please log in to comment
0

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

  • icacls(Windows 7) or cacls (Windows XP)
  • subinacl
  • setacl
Answered 07/09/2012 by: SilentKiller
Orange Belt

  • u can add permissions in installshild very easy
  • Thanks for your reply and could you be able to give step by step procedure for that
  • in installschild click go to folder and click permison and the add it :)
  • FYI.. Cacls is available in Windows 7..
    • Cacls is very much available in Windows 7 but with deprecated features. So better to use icacls in windows 7.
      • What do you mean? Please explain..
  • is there any one who will give step by step procedure rather than giving one line answer
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share