Windows Installer is providing a set of properties based on which we can deduce what scenario is running (install, uninstall, repair, etc).
But it is not very intuitively what properties should be checked for each scenario. We propose a set of custom properties to create in our installers that can helps us in this direction.
This tutorial demonstrates how to identify the different types of installation scenarios (install, uninstall, repair, etc.)
- sources
- I provided the complete Visual Studio solution that solves the described problem. Use it if you need to test it by yourself, in your environment or if you have further ideas that you want to verify.
Fill free to use the discussions page whenever needed:
- Do you have an improvement suggestion?
- Is there any typo in the articles or bug in the code?
- I appreciate any information on how you used this tutorial and if it was useful to you or not.
- Do you have any other questions?
If you like my work and want to support me, you can buy me a coffee: