PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

disable rollback if folder permissions failed

Wed Mar 17, 2021 5:09 pm

Hi,

Is it possible to disable roll back installation (or show a error dialog box with button Ignore) if folder permissions failed


Thanks,

Catalin
Posts: 6544
Joined: Wed Jun 13, 2018 7:49 am

Re: disable rollback if folder permissions failed

Thu Mar 18, 2021 8:48 pm

Hello,

When using our predefined support, I'm afraid it is not possible to disable the rollback in case of a failure applying the permissions.

However, if you are setting the permissions from within a Custom Action, then this might be possible by unchecking the "Fail installation if custom action returns an error" option.

In fact, one of my colleagues just wrote a blog post regarding three methods of setting permissions:

MSI Permissions Guide: Three Methods for Adding Rights With your Installer

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

Re: disable rollback if folder permissions failed

Wed Apr 07, 2021 10:45 am

Thanks,

I made a c# custom action to add permissions.
note : the property [GRP_EVERYONE] or others GRP properties passed by customactiondata are empty.

Regards,
PhilippeG

Catalin
Posts: 6544
Joined: Wed Jun 13, 2018 7:49 am

Re: disable rollback if folder permissions failed

Thu Apr 08, 2021 12:25 pm

You are always welcome, Philippe!
note : the property [GRP_EVERYONE] or others GRP properties passed by customactiondata are empty.
I am not quite sure here, is everything working as expected or you need further assistance?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”