Removing directory read only attributes in Wise
We have a vendor msi. On installation, the program directory has a read only attribute on the folder.
I tried to add an attrib -R command in our custom setup.bat file, but still the directory attributes did not change.
Issue:
The users save configurations on launching the application and all these configurations are saved in that program directory.
So, my thought was since I am unable to change the directory attributes, maybe I should give the authenticated users write access to the folder.
I was thinking of adding this custom action modacl /t "[Programfiles]program directory" /ar users:modify (this was added so authenticated users have write/ modify access to the folder).
Questions:
Is there a way to modify directory attributes (via registry or some other way since attrib is not working)
If I give write permissions, will it overwrite the directory attributes?
Thanks
I tried to add an attrib -R command in our custom setup.bat file, but still the directory attributes did not change.
Issue:
The users save configurations on launching the application and all these configurations are saved in that program directory.
So, my thought was since I am unable to change the directory attributes, maybe I should give the authenticated users write access to the folder.
I was thinking of adding this custom action modacl /t "[Programfiles]program directory" /ar users:modify (this was added so authenticated users have write/ modify access to the folder).
Questions:
Is there a way to modify directory attributes (via registry or some other way since attrib is not working)
If I give write permissions, will it overwrite the directory attributes?
Thanks
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Posted by:
aek
15 years ago
Posted by:
anonymous_9363
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.