I am using visual studio 2008 and I have created setup project using the same. After deployment of the application whenever I change any of the file or even rename any file setup.exe automatically starts to reinstall the setup. In this case it should customized error.
Do anybody has idea on this??
This is the normal behavior. Windows Installer automatically performs a repair if it determines that some of the installed resources are missing.
This repair is triggered by:
To avoid it you should:
or
To answer your actual question, you cannot show a customized error. You can only try to avoid this behavior.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.