<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.cntrl
{mso-style-name:cntrl;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">I am trying to install shibboleth-sp-3.4.1.4-win64.msi on Windows (german version) and it fails with „An error occurred while applying security settings. USERS is not a valid
user or group.“<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">The problem is that WiX will use lstrcmpW to compare the well known usernames which is case sensitve:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">See
<a href="https://github.com/wixtoolset/wix/blob/976ac446dcb4aa1bfcbf38e188deb1c3741a2e46/src/ext/Util/ca/secureobj.cpp#L643">
https://github.com/wixtoolset/wix/blob/976ac446dcb4aa1bfcbf38e188deb1c3741a2e46/src/ext/Util/ca/secureobj.cpp#L643</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">The following two files should be changed:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b">https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"> <CreateFolder><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l32"><span style="color:#999999;text-decoration:none">
32</span></a> <Permission User="Administrators" GenericAll="yes" /><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l33"><span style="color:#999999;text-decoration:none">
33</span></a> <Permission User="SYSTEM" GenericAll="yes" /><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l34"><span style="color:#999999;text-decoration:none">
34</span></a> <Permission User="USERS" ReadPermission="yes" GenericRead="yes" GenericExecute="yes" Read="yes" /><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l35"><span style="color:#999999;text-decoration:none">
35</span></a> <Permission User="[WEBSERVER_USER]" ReadPermission="yes" GenericRead="yes" GenericExecute="yes" Read="yes" /><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l36"><span style="color:#999999;text-decoration:none">
36</span></a> </CreateFolder><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Should be:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l33"><span style="color:#999999;text-decoration:none">
33</span></a> <Permission User="LocalSystem" GenericAll="yes" /><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Courier New";color:black"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-noarch.wxs;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l34"><span style="color:#999999;text-decoration:none">
34</span></a> <Permission User="Users" ReadPermission="yes" GenericRead="yes" GenericExecute="yes" Read="yes" /><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">And<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-properties.wxi;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b">https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-properties.wxi;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-properties.wxi;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l39"><span style="font-size:9.0pt;font-family:"Courier New";color:#999999;background:white;text-decoration:none">39</span></a><span style="font-size:9.0pt;font-family:"Courier New";color:black;background:white">
<Property Id="WEBSERVER_USER" Value="USERS" Secure="yes" /><span class="cntrl"><span style="border:dashed #AAAAAA 1.0pt;padding:0cm"><o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span class="cntrl"><span style="font-size:9.0pt;font-family:"Courier New";color:black;border:dashed #AAAAAA 1.0pt;padding:0cm;background:white"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Should be:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://git.shibboleth.net/view/?p=cpp-sp.git;a=blob;f=msi/WiX/ShibbolethSP-properties.wxi;hb=e60077613fe2e3ace80d2264c0b675ef2081f94b#l39"><span style="font-size:9.0pt;font-family:"Courier New";color:#999999;background:white;text-decoration:none">39</span></a><span style="font-size:9.0pt;font-family:"Courier New";color:black;background:white">
<Property Id="WEBSERVER_USER" Value="Users" Secure="yes" /><span class="cntrl"><span style="border:dashed #AAAAAA 1.0pt;padding:0cm"><o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Christoph von Wittich</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
<br>
<b><span style="color:#005E3F"><o:p></o:p></span></b></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>