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

system restore points condition

Fri Jan 15, 2021 9:19 am

Hello,

In the Install parameters we can check the option "not save system restore points"
Is it possible to add a condition to this option

Best regards
PhilippeG

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

Re: system restore points condition

Fri Jan 15, 2021 2:50 pm

Hello Philippe and welcome to our forums,

In order to achieve that, you can uncheck the option and achieve this through a custom approach, which you can further condition.

You can have a "Set Property" custom action that will set the "MSIFASTINSTALL" property (without quotes) to "1" (without quotes).

The value of "1" means no system restore point will be saved for the installation.

You can then condition the "Set Property" custom action.

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: system restore points condition

Mon Jan 18, 2021 2:56 pm

Hello

Thanks

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

Re: system restore points condition

Mon Jan 18, 2021 3:29 pm

You are always welcome, Philippe!

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

Return to “Common Problems”