Page 1 of 1

IA 11 not removing link from Add/Remove Programs on uninstal

Posted: Wed Jun 22, 2011 2:19 pm
by Coder
I have built an IA 11 installation in Native mode. On Windows XP SP3 this installation installs fine. Uninstalling will remove everything but it leaves the entry in Add/Remove Programs. If the install is re-run it will bring up the Maintenance mode dialog. Any ideas what I should look for?

Wayne

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Wed Jun 22, 2011 7:48 pm
by giaviv
Hey Wayne,

Please try creating am empty setup from the Basic Setup template. Run this setup on the XP machine and let me know what you are experiencing.

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 7:49 am
by Coder
Creating an empty "Native Setup" worked fine. so I now I guess I need to figure out what in my script is causing this problem. I suppose commenting out commands would be the easiest way to find it.

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 7:50 am
by giaviv
Yep, definitely.

It may also be caused by plugins you are using, just a thought.

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 11:15 am
by Coder
This is driving me nuts. I have commented out almost everything. I am not using any plugins. Still no change. The Apply Uninstall returns "COMPLETE". Interestingly the uninstall under the PREREQ does remove the entry from Add/Remove programs. Any other ideas other than creating the install from scratch again?

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 11:30 am
by Coder
Ok a little more data on this.

I do these steps:
1. Run the install (adds the entry in Add/Remove Programs).
2. Run the install again and Choose "Delete" (the entry remains in add/remove programs when complete)
3. Uninstall it from Add/Remove Programs (the entry remains in add/remove programs when complete)
4. Try to uninstall from Add/Remove Programs again, Windows says is can't find it and deletes it from the list).
5. Run the install again, it brings up the Maintenance dialog, choose "Delete".
6. After this last Uninstall it puts the entry back into Add/Remove Programs.

Could it be always putting the entry into Add/Remove programs even when uninstalling?

Wayne

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 11:43 am
by Coder
I found it, Sorry for the trouble. Somehow the End statement that matches the Else in "if REMOVE = TRUE" got moved above the Apply Install. I moved it back down where it should be and all is working now :)

Re: IA 11 not removing link from Add/Remove Programs on unin

Posted: Thu Jun 23, 2011 2:16 pm
by giaviv
:D