mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-10108 Fix errors in installations by domain user
This commit is contained in:
parent
964c4f070a
commit
18487ed60e
1 changed files with 3 additions and 1 deletions
|
|
@ -66,6 +66,7 @@
|
|||
<CustomAction Id="LaunchUrl" BinaryKey="WixCA" DllEntry="WixShellExec" Execute="immediate" Return="check" Impersonate="yes" />
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
User interface dialogs
|
||||
-->
|
||||
|
|
@ -463,7 +464,7 @@
|
|||
Key='SOFTWARE\@MANUFACTURER@\@CPACK_WIX_PACKAGE_NAME@'
|
||||
Name='DATADIR' Value='[DATADIR]' Type='string' KeyPath='yes'/>
|
||||
<CreateFolder>
|
||||
<util:PermissionEx User="[LogonUser]" GenericAll="yes" />
|
||||
<util:PermissionEx User="[LogonUser]" Domain="[USER_DOMAIN]" GenericAll="yes" />
|
||||
<util:PermissionEx User="NetworkService" GenericAll="yes" />
|
||||
</CreateFolder>
|
||||
</Component>
|
||||
|
|
@ -851,6 +852,7 @@
|
|||
<Property Id="ARPSYSTEMCOMPONENT" Value="1" Secure="yes" />
|
||||
<Property Id="ARPINSTALLLOCATION" Secure="yes"/>
|
||||
<SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLDIR]" After="InstallValidate" Sequence="execute"/>
|
||||
<SetProperty Id="USER_DOMAIN" Value="[%USERDOMAIN]" After="LaunchConditions" Sequence="first" />
|
||||
<Feature Id='ARPRegistryEntries'
|
||||
Title='Add or remove program entries'
|
||||
Description='Add or remove program entries'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue