1

When I run my WiX MSI installer it takes too long to get executed, when I checked the log, I found that the MSI create a Windows RestorePoint, Question is : how to disable this, at least on testing environment, because it waste much time when testing.

enter image description here

Ahmed HM
  • 110
  • 1
  • 9

1 Answers1

1

MSIFASTINSTALL: You can use the MSIFASTINSTALL property. You can set it in the property table or via command line:

msiexec.exe /i MySetup.msi MSIFASTINSTALL=1

Other values you can try are 3 (no restore point and simple costing) and 7 (no restore point, simple costing and fewer progress messages).

See this previous answer as well: How can I speed up MSI package install and uninstall?

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
  • 1
    That's great. Nothing beats a good test box with NVMe or SSD disks though. I have another answer here on [WiX build speed](https://stackoverflow.com/questions/30032014/speed-up-build-process-of-wix-installer). And there is [another answer here on speeding up builds](https://stackoverflow.com/a/66723368/129130). – Stein Åsmul May 27 '21 at 15:13