Venkatesan Dinesh
asked on
create Uninstaller for a setup
Hello sir,
I create a setup for my project, i need uninstaller file to uninstall my project. but i know i can go to control panel and uninstall but i want want professionally to uninstall it.
thanks in advance
I create a setup for my project, i need uninstaller file to uninstall my project. but i know i can go to control panel and uninstall but i want want professionally to uninstall it.
thanks in advance
Do you mean when you install the app (MyWonderApp) you also want a menu point 'uninstall MyWonderApp' in the start menu.
The usual way to uninstall is to go to the control panel and display installed programs and select one to uninstall (which you seem to say your installer has already done all that for you - but i know i can go to control panel and uninstall).
The usual way to uninstall is to go to the control panel and display installed programs and select one to uninstall (which you seem to say your installer has already done all that for you - but i know i can go to control panel and uninstall).
ASKER
i dont want to go control panel and uninstall, i need a file to uninstall it in C:/Programfiles/MyProductN ame/uninst all.bat
check the registry in
HKEY_LOCAL_MACHINE\Softwar e\Microsof t\Windows\ CurrentVer sion\Unins tall
all the entries you see here might be displayed in control panel. if you search for your program at here, you might find an entry where you can check the value 'UninstallString'. it might contain exactly the uninstall command you were looking for and which could work as well in a batch file or at the command line, granted you change to the right start folder and have the needed access rights.
note, that HKEY_CURRENT_USER also may have uninstall entries.
Sara
HKEY_LOCAL_MACHINE\Softwar
all the entries you see here might be displayed in control panel. if you search for your program at here, you might find an entry where you can check the value 'UninstallString'. it might contain exactly the uninstall command you were looking for and which could work as well in a batch file or at the command line, granted you change to the right start folder and have the needed access rights.
note, that HKEY_CURRENT_USER also may have uninstall entries.
Sara
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Any installer worth its salt has the uninstall as part of it.