[cpp-sp] 02/02: CPPSP-53 Rewrite Windows Installer as a '.bat' file
Codeberg
noreply at shibboleth.net
Wed Apr 29 14:42:56 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/772ee96b6aad2fa2695f01291f55a38a466c3ffd
commit 772ee96b6aad2fa2695f01291f55a38a466c3ffd
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Apr 29 10:11:38 2026 +0100
CPPSP-53 Rewrite Windows Installer as a '.bat' file
https://shibboleth.atlassian.net/browse/CPPSP-53
Fix some bugs found integrating against the AWS hub
---
WindowsInstall/doupdate.bat | 9 ++++++---
WindowsInstall/install.bat | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/WindowsInstall/doupdate.bat b/WindowsInstall/doupdate.bat
index 21744045..63caae6b 100644
--- a/WindowsInstall/doupdate.bat
+++ b/WindowsInstall/doupdate.bat
@@ -54,6 +54,9 @@ echo Copying new config Files
mkdir "%targetdir%\etc\shibboleth-sp\"
robocopy /xc /xn /xo /njs /njh etc "%targetdir%\etc\shibboleth-sp"
+echo Creating Session Cache Directory
+mkdir %targetdir%\var\cache\shibboleth-sp\sessions
+
Rem Set registry
Rem Firstly the "have I been installed" setting
@@ -70,9 +73,9 @@ reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D9DA52E3-F96E-
Rem
Rem now the event viewer
Rem
-reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v CategoryCount /t REG_DWORD /d 0 1> nul:
+reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v CategoryCount /t REG_DWORD /d 8 1> nul:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v TypesSupported /t REG_DWORD /d 7 1> nul:
-reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v CategoryMessageFile /t REG_SZ /d "%TargetDir%\lib\shibboleth-sp\NTEventLogAppender.dll" 1> nul:
-reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v EventMessageFile /t REG_SZ /d "%TargetDir%\lib\shibboleth-sp\NTEventLogAppender.dll" 1> nul:
+reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v CategoryMessageFile /t REG_SZ /d "%TargetDir%\lib\shibboleth-sp\NativeLogMessages.dll" 1> nul:
+reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Shibboleth\Shibboleth Service Provider" /f /v EventMessageFile /t REG_SZ /d "%TargetDir%\lib\shibboleth-sp\NativeLogMessages.dll" 1> nul:
exit /b
diff --git a/WindowsInstall/install.bat b/WindowsInstall/install.bat
index afcd029c..7b7a7f53 100644
--- a/WindowsInstall/install.bat
+++ b/WindowsInstall/install.bat
@@ -37,7 +37,7 @@ if exist %SYSTEMROOT%\System32\INETSRV\appcmd.exe (
%SYSTEMROOT%\System32\INETSRV\appcmd.exe install module /name:ShibAgent /image:"%TargetDir%\lib\shibboleth-sp\iis_shib4.dll"
)
-Rem Aak to update ACLs and if so CALL SETACL
+Rem Ask whether to update ACLs and if so CALL SETACL
:loop
set /p YesNo="Run SetAcl.bat [Yn] "
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list