PDA

View Full Version : What will happen if Set Access Control fails?



jgamalinda
12-06-2011, 03:21 PM
Hello

I've set the Set Access Control to grant full access to my Install folder. So far it has been working properly when I run the install.

I was curious to find out what would happen if the Set Access Control were to fail.

Would the installation just continue or will it abort the install altogether?

Any have an issue with the Set Access Control Not being able to grant appropriate permissions?

I need to get some sort of idea in case this does occur and how to deal with that issue should it arise.

Any help would be appreciated. Thanks.

linder
12-07-2011, 12:33 AM
Hello,

It's your decision what to do if the the "Set Access Control" access function fails. Similar to what you do in your own program when a Windows API function fails. Just handle the %_SB_ERRORCODE% return code and do what you want. You can terminate the install, retry the action, etc.

Only failed "install file" actions are fatal errors and abort the installation process immediately.

Hope this helps.

Friedrich