Link to home
Start Free TrialLog in
Avatar of Venkatesan Dinesh
Venkatesan DineshFlag for India

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
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Define: professionally to uninstall it.

Any installer worth its salt has the uninstall as part of it.
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).
Avatar of Venkatesan Dinesh

ASKER

i dont want to go control panel and uninstall, i need a file to uninstall it in C:/Programfiles/MyProductName/uninstall.bat
check the registry in

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

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 TRIAL
Members 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.