Re: Cleaning up files after WISE uninstall

Tech-Archive recommends: Fix windows errors by optimizing your registry



I've only ever seen three ways of doing this with Wise...

a) Write entries to the install.log that unwise uses to "undo" it's install.
It should reverse the registry keys you put in place during the install, so
adding new ones to the end of the install log will cause it to undo those
too.

b) Replace the supplied "unwise.exe" with a program of your own, renaming
the unwise.exe to unwisex.exe. From your app, run the renamed unwisex.exe
and, once finished, ensure that the user really did uninstall and didn't
cancel. If they didn't cancel, then remove the registry entries you created.
Unfortunately, this does leave a folder with your uninstall in it.

c) Is essentially the same as (b) except that you remove your registry
entries first, then shell to unwisex.exe. It will then continue to uninstall
(set the options not to prompt the user). Your uninstall program will then
be removed by virtue of the fact that it was part of the original install.

Never done any of this myself, but it's all possible.

HTH
Steve


"shawn" <shawnl.liggett@xxxxxxxxxx> wrote in message
news:%2358vAibpGHA.4960@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for info...

I'm still trying to track down if WISE allows me to do the same (i.e.
Custom Action)...awaiting response from WISE forum.

Shawn
-------

InnoSetup has entries to let you run EXE files to do the clean up and
[Code] section to add your Pascal script to do the same. I don't know if
WISE has similar features.

http://www.jrsoftware.org/isinfo.php







.



Relevant Pages

  • Re: Need to create an uninstall program...
    ... >> application, get a snap shot of the registry after the install, should I ... >> able to figure out how to properly uninstall the application? ... > I think you are saying that you have so many registry entries that you ...
    (borland.public.delphi.non-technical)
  • Re: Why does "non-commercial use" show up at the top of my screen?
    ... the Student/Teacher registry entries (A whole bunch of ... unless you uninstall Student/Teacher first. ... Uninstall all versions of Office and install the ...
    (microsoft.public.office.setup)
  • Office 2003 - Cant uninstall updates.
    ... All was fine until the trial time ran out on 2007 which by that ... 2003 then run the msclean uninstall tool. ... trying to install service pk 3 was told by windows it was installed. ... The entries have ...
    (microsoft.public.office.misc)
  • Re: Fixing uninstall failures in "Add or Remove Programs" list Question
    ... The reinstall worked without trying to uninstall first. ... list of entries until I found the one for the errant program It even had the ... path to the missing uninstall data where the installer would stop and insist on ... being directed to the missing install data. ...
    (microsoft.public.windowsxp.general)
  • Re: Uninstalling programs
    ... and the install log is needed to uninstall. ... the system restore and fix your problem some other way. ... If you don't have the media to install the programs check with the tech ... You don't have to undo the restore in that case, just do another restore to an earlier date. ...
    (microsoft.public.windowsxp.general)