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

disable rollback if folder permissions failed

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: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: disable rollback if folder permissions failed

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

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: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: disable rollback if folder permissions failed

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”