Remove schema path env var.
authorScott Cantor <cantor.2@osu.edu>
Fri, 3 Aug 2012 22:54:04 +0000 (22:54 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 3 Aug 2012 22:54:04 +0000 (22:54 +0000)
msi/scripts/shib_edit_config_files.vbs-wix

index 0d232b3..0aacd1c 100644 (file)
@@ -74,6 +74,9 @@ if (Err = 0) then
   Set WshShell = CreateObject("WScript.Shell")\r
   WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\SHIBSP_PREFIX", ConvertedDir, "REG_SZ"\r
 \r
+  'Blow away any old SHIBSPP_SCHEMAS variable we find\r
+  WshShell.RegDelete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\SHIBSP_SCHEMAS"\r
+\r
   'Perform actual Substitutions\r
   'Afterwards, if the config file doesn't already exist, copy up to etc/shibboleth\r
   'Also strip *.in for files in dist\r