Reinstall Fails if IIS still installed

Description

I'll start by saying that I'm uninclined to "fix" this in 3.0. I'm not even sure if it is approrpi
ate to ever fix it.


I was testing and so I uninstalled the SP I had commissioned and working with IIS7 and then reinstalled it.

The reinstalled failed which I diagnosed was because I had ticked the "install for II7" box. The installer tried to rerun the IIS inkantation to install which failed becasue it was already there.

Which I could probably mock up the correct script to uninstall the IIS plugin on uninstall I'm not sure that this is our job? People may well want to tinker with their installation and we don't want to the uninstall to fail because they have.

Or maybe I just hate making changes to the installer and I'm rationalizing a reason to not go there.

Thoughts?

Environment

None

Activity

Show:

Rod Widdowson May 30, 2018 at 1:50 PM

For my reference, this is the paradigm to follow to conditionalize the uninstall

"!if this is an uninstall and it isn't as the result of an upgrade"

Scott Cantor May 30, 2018 at 1:42 PM

That's the RPM model, an upgrade installs the new one and uninstalls the old in that order and there are stupid shell variables that signal what's really happening.

Rod Widdowson May 30, 2018 at 1:40 PM

sigh you are right of course...

I'm pretty sure we are OK about the install like an upgrade, but I'll need to check since there may be a wrinkle about "uninstall after install"...

Scott Cantor May 30, 2018 at 1:35 PM

I think given that the install has a pretty minimal footprint now we should probably try and do the main deregister commands since that should address the majority of cases, unless this is like RPM and you end up with a mess because upgrades look like uninstalls.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Original estimate

Fix versions

Affects versions

Created May 30, 2018 at 1:20 PM
Updated July 17, 2018 at 2:48 PM
Resolved June 4, 2018 at 4:22 PM