Hey all,

I was wondering how to accomplish the following:

Uninstalling software after successfully installing another software. I'll explain.

We have to use Inno Setup on an application to get the Eula in there and some other stuff, but we want this version only as a sort of gateway version. We are going to host it on a download site that insists on housing the files in entireity. After a person downloads and installs this software, they will have the ability to use it as is for a little while, but we are then going to have them install the same software through clickonce (so we can use the auto-update feature). Is there a way to uninstall the gateway software after the other software is installed.

The only thing I can think of is bundling the setup for the clickonce app with the other one and having a button somewhere in the app that launches it. Then have a button pop up that says something like, "if you installed the update, click here to uninstall the old software" which will close the application, ,but on close run a batch that uninstalls the software. lol, does anyone have a better idea?

Thanks

Mike