Click to See Complete Forum and Search --> : Any idea about creating Uninstaller?
vincentg
Sep 23rd, 2005, 02:23 PM
Hi,
I knew how to create an installer from the VB.Net and make it as auto run in the CD if burn there...
If you knew how to create some uninstaller which later on I could add this to my installer which the user has some choice to uninstall the program...
The option of going to Control Panel to remove the program is also cool but not the problem...
Thanks.
-vince
zaza
Sep 23rd, 2005, 03:00 PM
Hi,
So far I do things in a slightly complicated way, largely because I install files in a folder which is unknown until the user installs the app (namely the Office startup folder). Hence I can't actually include this location in the install package and I do it at first run. In order to track the files (as there may be several users), I put a subfolder in the Shared Documents folder and write a logfile there detailing all the files which have been installed. It's the only location to which all users can surely write. Then, at Uninstall, I peruse that logfile and Kill all the files named therein, then run the Add/Remove Programs portion of Control Panel directly. I haven't yet figured out how to then get this bit to select and remove the app, though.
So, ultimately, I don't know of another way unless you want to do a similar thing to me but keep a log of ALL files that you install (and you should know what they are). as well as registry entries etc.
There may be a third-party uninstaller though...
HTH
zaza
Hack
Sep 24th, 2005, 04:48 AM
There are commerical grade installation and setup packages which permit you to create both and Install and an UnInstall. The two that come to mind are Wise and InstallShield.
Both of these packages are pretty sophisticated, and they both come with a pretty sophisticated price tag.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.