File access for newly created directory
Posted: Wed Aug 08, 2012 1:03 pm
I have a feeling I may be overlooking something obvious (I freely acknowledge being a novice at this), but I seem to be missing something about creating directories and granting access to them.
I'm using the Developer version of IA. I added the System - Application Directory folder (with common folder checkbox) in the Files and Settings pages, then added a subdirectory to that for my application. In the MSIcode view, I can then see then line that creates the desired folder. But what I'm missing is how to grant access to that directory to all users so the UAC restrictions don't wreck everything during program execution. (I want to store a license file there that will be found no matter which user is working.)
I tried dragging a Set Access Control command into the window after the Apply Install line that is right after the Create Folder command (is that the right place?). When I try to tell it what folder to work with, though, I can't figure out how to tell it the subdirectory I just made. I click on $ALLAPPDATA in the pane on the left of the Set Access Control dialog box, and it doesn't show the subdirectory I added back in the Files and Settings design page, leaving me stuck.
If someone could explain in newbie terms exactly how to grant everyone access to the subfolder I've created, I'd be very grateful.
Respectfully,
Donovan
I'm using the Developer version of IA. I added the System - Application Directory folder (with common folder checkbox) in the Files and Settings pages, then added a subdirectory to that for my application. In the MSIcode view, I can then see then line that creates the desired folder. But what I'm missing is how to grant access to that directory to all users so the UAC restrictions don't wreck everything during program execution. (I want to store a license file there that will be found no matter which user is working.)
I tried dragging a Set Access Control command into the window after the Apply Install line that is right after the Create Folder command (is that the right place?). When I try to tell it what folder to work with, though, I can't figure out how to tell it the subdirectory I just made. I click on $ALLAPPDATA in the pane on the left of the Set Access Control dialog box, and it doesn't show the subdirectory I added back in the Files and Settings design page, leaving me stuck.
If someone could explain in newbie terms exactly how to grant everyone access to the subfolder I've created, I'd be very grateful.
Respectfully,
Donovan