[cpp-sp] 02/04: CPPSP-53 Rewrite Windows Installer as a '.bat' file

Codeberg noreply at shibboleth.net
Mon Jun 29 14:38:10 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/38f9b3e7a0afde1b5ffe1c6ba055d5dcd52ba4e3

commit 38f9b3e7a0afde1b5ffe1c6ba055d5dcd52ba4e3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jun 28 15:43:27 2026 +0100

    CPPSP-53 Rewrite Windows Installer as a '.bat' file
    
    https://shibboleth.atlassian.net/browse/CPPSP-53
    
    Make uninstall quieter
---
 WindowsInstall/uninstall.bat | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/WindowsInstall/uninstall.bat b/WindowsInstall/uninstall.bat
index 1cb86bee..ffe25bfb 100644
--- a/WindowsInstall/uninstall.bat
+++ b/WindowsInstall/uninstall.bat
@@ -21,20 +21,20 @@ cd /d %~dp0
 
 if exist %SYSTEMROOT%\System32\INETSRV\appcmd.exe (
     echo Uninstalling ShibAgent module from IIS
-    %SYSTEMROOT%\System32\INETSRV\appcmd.exe delete module ShibAgent 2> nul:
-    %SYSTEMROOT%\System32\INETSRV\appcmd.exe uninstall module ShibAgent  2> nul:
+    %SYSTEMROOT%\System32\INETSRV\appcmd.exe delete module ShibAgent 2> nul: 1> nul:
+    %SYSTEMROOT%\System32\INETSRV\appcmd.exe uninstall module ShibAgent  2> nul: 1> nul:
 )
 
-echo "Removing bat files"
+echo Removing bat files
 rd /s /q shibboleth-sp
 
 cd ..\lib
-echo "Removing library files"
+echo Removing library files
 rd /s /q shibboleth-sp
 
 Echo Not touching configuration files
 
 Rem remove from "installed apps & Features"
-reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D9DA52E3-F96E-4C84-B153-C3B17C34F730} /f
+reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D9DA52E3-F96E-4C84-B153-C3B17C34F730} /f  2> nul:
 Rem and from logging
-reg delete HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\ShibbolethSPAgent /f
+reg delete HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\ShibbolethSPAgent /f  2> nul:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list