I have an app with an existing autoupdate mechanism, that includes a fail-safe: if the installation fails, it uses the old .msi file to restore the old version. The update procedure finds the old .msi file in the \Installer directory.
I recently updated installer generation to use WIX. Now, when the app is installed, the .msi file is not copied into the \Installer directory, all that is created is a file called wix{}.SchedServiceConfig.rmi.
I tried perfecting the WIX installer, using its transacted nature, so that if the installation fails, the installation transaction would be rolled back, and the old version restored - but for some reason, most of the time, when the installer fails, I end up with the app being wiped.
I tried finding the .msi file used for the install in other locations, so that the auto-updater can re-run the installer in case of a failure, but I can't find the msi copied anywhere.
Any ideas how a.) an installer created with WIX can be authored to be fully transactional? or b.) where to find the msi after the installation?