[cpp-sp] 03/03: SSPCPP-650 Add an acl of shibboleth\etc

Rod Widdowson rdw at steadingsoftware.com
Mon Mar 26 06:13:50 EDT 2018


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

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=80c4585a7396c0460a79b72cd8d0eea48e9de76a

commit 80c4585a7396c0460a79b72cd8d0eea48e9de76a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Mar 26 09:43:43 2018 +0100

    SSPCPP-650 Add an acl of shibboleth\etc
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-650
    
    But precicate it on new installs only.
---
 msi/WiX/ShibbolethSP-defs-x86.wxi | 1 +
 msi/WiX/ShibbolethSP-noarch.wxs   | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/msi/WiX/ShibbolethSP-defs-x86.wxi b/msi/WiX/ShibbolethSP-defs-x86.wxi
index 729be46..6c03f88 100644
--- a/msi/WiX/ShibbolethSP-defs-x86.wxi
+++ b/msi/WiX/ShibbolethSP-defs-x86.wxi
@@ -9,6 +9,7 @@
   <ComponentRef Id="README.txt" />
   <ComponentRef Id="RELEASE.txt" />
 
+  <ComponentRef Id="SetPermissions" />
   <ComponentRef Id="example_metadata.xml" />
   <ComponentRef Id="example_shibboleth3.xml" />
   <ComponentRef Id="keygen.bat" />
diff --git a/msi/WiX/ShibbolethSP-noarch.wxs b/msi/WiX/ShibbolethSP-noarch.wxs
index 1c888e8..b377004 100644
--- a/msi/WiX/ShibbolethSP-noarch.wxs
+++ b/msi/WiX/ShibbolethSP-noarch.wxs
@@ -50,6 +50,13 @@
       </Directory><!-- doc -->
       <Directory Id="etc" Name="etc">
         <Directory Id="etc_shibboleth" Name="shibboleth" FileSource="$(var.SPBuildDirectory)\cpp-sp\configs">
+          <Component Id="SetPermissions" Guid="{14FBE93B-B06B-4BDE-AF6C-C34289CA98F9}">
+            <RegistryValue Id="SetPermissions" Root="HKLM" Key="SOFTWARE\Shibboleth\SP" Name="SetPermissions" Value="TRUE" Type="string" KeyPath="yes" />
+            <CreateFolder>
+              <Permission User="Administrators" GenericAll="yes" />
+            </CreateFolder>
+            <Condition>(NOT Installed) AND (NOT ALREADYINSTALLED)</Condition>
+          </Component>
           <Component Id="example_metadata.xml" Guid="{D9852008-249D-405D-8059-5DAD307D2723}" Permanent="yes">
             <File KeyPath="yes" Name="example-metadata.xml" />
           </Component>

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


More information about the commits mailing list