Skip to content

Commit

Permalink
Localization fix for referencing local service account
Browse files Browse the repository at this point in the history
  • Loading branch information
r-smith committed Jan 16, 2023
1 parent 06063ef commit c9050d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tcpTrigger.Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
<PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR"/>
<PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR64"/>

<!-- Reference for OSInfo well-known SID for Local Service account -->
<PropertyRef Id="WIX_ACCOUNT_LOCALSERVICE"/>

<!-- Define the directory structure -->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="$(var.PlatformProgramFilesFolder)">
Expand Down Expand Up @@ -223,7 +226,7 @@
<Permission User="Administrators" FileAllRights="yes"/>
<Permission User="Users" GenericRead="yes" GenericExecute="yes" />
-->
<util:PermissionEx User="NT Authority\Local Service" GenericAll="yes"/>
<util:PermissionEx User="[WIX_ACCOUNT_LOCALSERVICE]" GenericAll="yes"/>
</CreateFolder>
</Component>
</Directory>
Expand Down

0 comments on commit c9050d6

Please sign in to comment.