DisableRoll back from MSI - Advanced Installer Community
nskris
Posts: 21
Joined: Fri Oct 26, 2018 3:32 pm

DisableRoll back from MSI

Hi,
Iam trying to disable the Rollback when an Error occurs. I know that there is a configuration property - "DISABLEROLLBACK". But iam unable to set the same within the MSI. I have tried setting the property through Command line by executing msi through msiexec. I have also tried to set property in custom action. The MSI keeps rolling back when an error occurs. Can you please let me know how to set DISABLEROLLBACK property so that the rollback does not happen from MSI?

regards,
Krishna
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: DisableRoll back from MSI

Hello Krishna,

I have tested this scenario and indeed, I was able to reproduce it. It seems that using the DISABLEROLLBACK property does not work as intended. This seems to be a Windows Installer limitation.

The only way to overcome this issue is to set the DisableRollback system policy to the value "1" as stated in the DisableRollback article.

However, please keep in mind this method will affect all target system and the rollback mechanism will be disabled for all future product's installations, so this is not a recommended approach at all.

Hope this helps.

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

Return to “Common Problems”