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
- :
- Giving file path in property manager
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
Mar 13, 2008
07:02 AM
Giving file path in property manager
Hi,
I need to give modify permission to a file for the users. I have created a property in property manager with CACLS command and a custom action with type as exe. But how can i specify my file name in the command.
My command is
"CACLS C:\Program Files\Application\1.txt /E /G BUILTIN\Users:C"
The installation path could be anything.. the file is placed during installation. How can I specify the file name here?
I need to get the installation directory and find the file and then give the permission. How can I do this?
Can anyone help me out?
😞
I need to give modify permission to a file for the users. I have created a property in property manager with CACLS command and a custom action with type as exe. But how can i specify my file name in the command.
My command is
"CACLS C:\Program Files\Application\1.txt /E /G BUILTIN\Users:C"
The installation path could be anything.. the file is placed during installation. How can I specify the file name here?
I need to get the installation directory and find the file and then give the permission. How can I do this?
Can anyone help me out?
😞
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 13, 2008
03:58 PM
I don't think you can set properties inside properties using the Property Manager, but you should be able to use a set-a-property custom action to set your custom command property to something like:
cacls.exe [INSTALLDIR]filename.txt /etc.
You might need to add quotation marks around the file path in case it contains spaces, of course.
cacls.exe [INSTALLDIR]filename.txt /etc.
You might need to add quotation marks around the file path in case it contains spaces, of course.