|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB 6 custom Install & UninstallI have some additional directories and files I need to delete when the
customer uninstalls the vb application. Reading the newsgroup I could: Modify the install process by changing: Setup1.vbp I would have it change the registry to call another uninstall application uninstit.exe which would call ST6UNST.exe and then it would delete the additional directories and files that were created after setup was run. 1. How do I change the uninstall registry? 2. How do I call up the st6unst.exe from VB? OR is there a better way to do this? TIA If you look at the ST6UNST.LOG file in the
program folder you'll see the uninstall list. You can add to that log during install if you rewrite setup1.exe. You can also create the folders during install to make sure that they're listed for uninstall. Or, you could also do something like add to the log on first run. That would seem much easier to me than changing the uninstall key and writing a separate uninstaller. The only catch would be that you need to know the folder paths starting out. (Note that if a file or folder listed in the uninstall log is missing then uninstall will show a msgbox saying that it is unable to uninstall the file or folder because it's missing. Not a big deal, but possibly a bit confusing for the person running the uninstall.) -- Show quoteHide quotemayayanaX***@mindXXspring.com (Remove Xs for return email.) vbhelp <vbh***@microsoft.com> wrote in message news:u5KU7TGKGHA.3732@TK2MSFTNGP10.phx.gbl... > I have some additional directories and files I need to delete when the > customer uninstalls the vb application. > > Reading the newsgroup I could: > > Modify the install process by changing: Setup1.vbp > I would have it change the registry to call another uninstall > application uninstit.exe which would call ST6UNST.exe > and then it would delete the additional directories and > files that were created after setup was run. > > 1. How do I change the uninstall registry? > 2. How do I call up the st6unst.exe from VB? > > OR is there a better way to do this? > > TIA > > > The easiest way....change to InnoSetup...www.innosetup.com
best feature...its freeware and easy to use. AGP Show quoteHide quote "vbhelp" <vbh***@microsoft.com> wrote in message news:u5KU7TGKGHA.3732@TK2MSFTNGP10.phx.gbl... > I have some additional directories and files I need to delete when the > customer uninstalls the vb application. > > Reading the newsgroup I could: > > Modify the install process by changing: Setup1.vbp > I would have it change the registry to call another uninstall > application uninstit.exe which would call ST6UNST.exe > and then it would delete the additional directories and > files that were created after setup was run. > > 1. How do I change the uninstall registry? > 2. How do I call up the st6unst.exe from VB? > > OR is there a better way to do this? > > TIA > > >
Show quote
Hide quote
On Thu, 2 Feb 2006 17:56:25 -0800, "vbhelp" <vbh***@microsoft.com> Most commercial (and some free) programs put an uninstall commend inwrote: >I have some additional directories and files I need to delete when the >customer uninstalls the vb application. > >Reading the newsgroup I could: > >Modify the install process by changing: Setup1.vbp >I would have it change the registry to call another uninstall >application uninstit.exe which would call ST6UNST.exe >and then it would delete the additional directories and >files that were created after setup was run. > >1. How do I change the uninstall registry? >2. How do I call up the st6unst.exe from VB? > >OR is there a better way to do this? > >TIA the menu that will unistall that program. If you do not have that, run the uninstallation from the window's control panel "remove program" thing there. It removes the uninst file. ********************************************************************** Richm***@sympatico.ca Dog thinks: they feed me, they take care of me: they are gods. Cat thinks: they feed me, they take care of me: I am god. http://www3.sympatico.ca/richmann/ http://www.geocities.com/richmannsoft/ ********************************************************************** |
|||||||||||||||||||||||