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.
This commit is contained in:
parent
071ae303bd
commit
646c4cea58
@ -542,17 +542,6 @@
|
||||
Value="utf8" />
|
||||
</Component>
|
||||
|
||||
<!--- Grant service account permission to the database folder (Windows 7 and later) -->
|
||||
<Component Id="C.serviceaccount.permission" Guid="*" Directory='DATADIR' Transitive='yes'>
|
||||
<Condition><![CDATA[SERVICENAME AND (VersionNT > 600)]]></Condition>
|
||||
<RegistryValue Root='HKLM'
|
||||
Key='SOFTWARE\Monty Program AB\@CPACK_WIX_PACKAGE_NAME@'
|
||||
Name='servicepermission' Value='1' Type='string' KeyPath='yes'/>
|
||||
<CreateFolder>
|
||||
<util:PermissionEx User="NT SERVICE\[SERVICENAME]" GenericAll="yes" />
|
||||
</CreateFolder>
|
||||
</Component>
|
||||
|
||||
<!-- Shortcuts in program menu (mysql client etc) -->
|
||||
<Component Id="c.shortcuts" Guid="*" Directory="ShortcutFolder">
|
||||
<!-- shortcut to my.ini-->
|
||||
|
Loading…
x
Reference in New Issue
Block a user