Results 1 to 2 of 2

Thread: Question on running uninstaller after reboot

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Question Question on running uninstaller after reboot

    Hi Everyone,

    I have an uninstall.exe file I need to run. But the program it needs to uninstall is always running. And you actually need to execute the uninstall.exe through that program. I was wondering how to do this.

    How about this? The main program is run through the startup regisistry. When they click the button to uninstall in the app, it deletes the startup in the registry and adds the uninstall.exe to the RunOnce registry. Will this work? Also, on the RunOnce, after it is run, is it removed from that registry area?

    Thanks!

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Question on running uninstaller after reboot

    It will work, but you may not need this. What did you use to create the installer? Many installer builders (like NSIS which I use) provide you with methods for closing running applications. So you can code the uninstaller to first close the application and then proceed with deleting it.
    That should be done for the installer too, in case the user is updating a previous version of your app.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width