Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a setup for the application i created . What i need is to have an uninstall option in the start Menu where the programs are displayed and also in the folder where the application is installed.
Posted

1 solution

What you'll need is an uninstall.bat file with the following in it:

SQL
@echo off
msiexec /x {FC5C0E0A-DAEA-4B54-9421-AB0E3F26C6AD}


where that GUID would be the ProductCode of the app to uninstall. (Don't just use the one shown above...it's just an example)

Just add the .bat file to your setup project and have it placed wherever you want during install.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900