PDA

View Full Version : Where did the uninstall go?



NewsArchive
11-20-2009, 02:08 AM
Friedrich,

In addition to the email I sent you, I've noticed that the uninstall.exe
program seems to have vanished. For each install I make, I also make a web
update project for it. Is there anything I can check to see if I have set
something I should not have?

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
11-20-2009, 02:08 AM
Russ,

> In addition to the email I sent you, I've noticed that the uninstall.exe
> program seems to have vanished. For each install I make, I also make a
> web update project for it. Is there anything I can check to see if I have
> set something I should not have?

Your first problem is caused by your protection software (firewall, etc.).
"Something" blocks access to your server.

Are you using the same uninstall .exe/.log name in your initial and web
update projects? If this is the case then the uninstall will perform a
"smart rollback" if a previous install existed. It rolls back all the last
transactions but leaves the uninstall intact. If there was no previous
install, it will remove both the uninstall.exe and .log.

Friedrich

NewsArchive
11-21-2009, 03:29 AM
OK. So how does one do an uninstall when that happens?

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
11-21-2009, 03:30 AM
>
> OK. So how does one do an uninstall when that happens?
>

If you have "Disable Rollback after Failed Installation" disabled, then it
should automatically roll back (requires an uninstall generated with Build
#2680 or better).

Friedrich

NewsArchive
11-21-2009, 03:30 AM
I believe that is the default, and I don't change it mainly because I can't
see a reason to enable it <g>.

However, the uninstall program is still removed after a web update. Both my
main install and web update projects support uninstall. My interpretation
of those settings is that either could be uninstalled or rolled back. The
odd thing is, the install log is still there.

I hope my confusion here is not contagious <g>

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
11-21-2009, 03:31 AM
Hi Russ,

> I believe that is the default, and I don't change it mainly because I
> can't see a reason to enable it <g>.
>
> However, the uninstall program is still removed after a web update. Both
> my main install and web update projects support uninstall. My
> interpretation of those settings is that either could be uninstalled or
> rolled back. The odd thing is, the install log is still there.
>
> I hope my confusion here is not contagious <g>

I have uploaded a demo for you:

http://www.lindersoft.com/projects/Web1.exe

Please run the above. It will install dummy files into C:\Program
Files\Web1

Go to the above folder and launch wupdate.exe. It tells you than an update
is available. Let it download the update. It will then simulate a "file
not found" error and you'll get

Source file not found: www.lindersoft.com/projects/Web2.00002. Verify that
the file exists and that you can access it.

Then it offers to rollback (say "yes") and it rolls back ;-) Uninstall is
still there <g>

I assume you are using different names for the uninstall in your initial and
in your web update!!!!!!

Friedrich

NewsArchive
11-21-2009, 03:31 AM
Thanks Friedrich.

Worked as you described. I'll do some more tests on my end.

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
11-21-2009, 03:32 AM
Russ,
FWIW... I've inadvertently wiped out "xxxuninstall.exe" files.
I now make it a practice to give them unique names for each update if the
update can be uninstalled (uninstallv123.exe)

Jane

NewsArchive
11-21-2009, 03:32 AM
I thought I did that, but I'll double check it again. That may be the
reason.

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm