Skip to content

Commit 672bbcd

Browse files
committed
MDEV-9973 : Do not set permissions for serviceaccount user (Win7 and later)
This appears to break some installation, and it did not do anything useful anyway.
1 parent 4f1ad43 commit 672bbcd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

win/packaging/extra.wxs.in

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -542,17 +542,6 @@
542542
Value="utf8" />
543543
</Component>
544544

545-
<!--- Grant service account permission to the database folder (Windows 7 and later) -->
546-
<Component Id="C.serviceaccount.permission" Guid="*" Directory='DATADIR' Transitive='yes'>
547-
<Condition><![CDATA[SERVICENAME AND (VersionNT > 600)]]></Condition>
548-
<RegistryValue Root='HKLM'
549-
Key='SOFTWARE\@MANUFACTURER@\@CPACK_WIX_PACKAGE_NAME@'
550-
Name='servicepermission' Value='1' Type='string' KeyPath='yes'/>
551-
<CreateFolder>
552-
<util:PermissionEx User="NT SERVICE\[SERVICENAME]" GenericAll="yes" />
553-
</CreateFolder>
554-
</Component>
555-
556545
<!-- Shortcuts in program menu (mysql client etc) -->
557546
<Component Id="c.shortcuts" Guid="*" Directory="ShortcutFolder">
558547
<!-- shortcut to my.ini-->

0 commit comments

Comments
 (0)