简体   繁体   中英

How to create a install/uninstall/repair .exe in windows application?

I am new to windows application.Created a tool in windows application and with the help of setup build a exe and install it.

If i try to install when it is already installed its showing another version is already install so i have to go to control pannel uninstall it then install it again .

How can i do it in that way

When not install - Install it When installed - Uninstall it then install the new version.

When you made a working software, next step is called distributing. Which mostly means putting all your software files into a distribute package. For this you have to choose distribute system (my favorite is NSIS ).

It is the job of installer to detect whenever software is already installed and offer Repair or Uninstall option. And it should be very basic thing supported by distribute system (read - it will be very easy to do).

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM