[JIRA] Closed: (SSPCPP-363) Windows Installer loops infinitely if the SP is deinstalled from the Control Panel

Scott Cantor (JIRA) noreply at shibboleth.net
Sat Sep 10 00:58:25 BST 2011


     [ https://issues.shibboleth.net/jira/browse/SSPCPP-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor closed SSPCPP-363.
-------------------------------


> Windows Installer loops infinitely if the SP is deinstalled from the Control Panel
> ----------------------------------------------------------------------------------
>
>                 Key: SSPCPP-363
>                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-363
>             Project: Shibboleth SP - C++
>          Issue Type: Bug
>          Components: Installation
>    Affects Versions: 2.4, 2.4.1, 2.4.2
>            Reporter: Rod Widdowson
>            Assignee: Rod Widdowson
>             Fix For: 2.4.3
>
>
> Known issue. This case is for the record of my research.
> In order to trigger this you first have to turn on the ability to Deinstall the SP. Do this by setting
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8280E58C-D290-42CD-9425-BCC0BA439649}\NoRemove to zero
> You can then do an uninstall from control panel\programs and features (or whatever)
> (obviously for 32 bit installs on a 64 but target you need to look for the WOW thing)
> We looked at the logs and then I added some further logging to the shib_uninstall_isapi_filter.vbs script (thanks Orca!). Fortunately the problem isn't in the IIS config functions, rather it is in these lines
>   'Remove all trailing backslashes to normalize
>   do while (mid(InstallDir,Len(InstallDir),1) = "\")
>     InstallDir = mid(InstallDir,1,Len(InstallDir)-1)
>   loop
> It turns out that when we are invoked from the control panel to do the uninstalls InstallDir is set to "". So things deteriorate a bit.
> I'm now going to chase back into the WSI and see why this happens.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list