diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-04-17 01:03:10 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-04-17 01:03:10 +0200 |
commit | e13e93cb0b4ba2f0edf74fa7ed4d602bd5731ed1 (patch) | |
tree | 83dc68eb343ef6fe0ecacef9fc5488058df76bca /win/packaging/extra.wxs.in | |
parent | 296167d6d222a84ef5c019f7572378075b0d7c7c (diff) | |
parent | 2004bd1736d0a984c12b1d56156f5552816c80f4 (diff) | |
download | mariadb-git-e13e93cb0b4ba2f0edf74fa7ed4d602bd5731ed1.tar.gz |
merge
Diffstat (limited to 'win/packaging/extra.wxs.in')
-rw-r--r-- | win/packaging/extra.wxs.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/packaging/extra.wxs.in b/win/packaging/extra.wxs.in index e4f459d3dfe..d4adc959333 100644 --- a/win/packaging/extra.wxs.in +++ b/win/packaging/extra.wxs.in @@ -34,6 +34,7 @@ <!-- Root password -->
<Property Id="PASSWORD" Hidden="yes" Secure="yes" />
+ <Property Id="ESCAPEDPASSWORD" Hidden="yes" Secure="yes" />
<!-- Database port -->
<Property Id="PORT" Value="3306" Secure="yes"/>
<!-- Whether to allow remote access for root user -->
@@ -668,7 +669,7 @@ <CustomAction Id='PresetDatabaseProperties' BinaryKey='wixca.dll' DllEntry='PresetDatabaseProperties' />
<CustomAction Id="CreateDatabaseCommand" Property="CreateDatabase"
Value=
- ""[#F.bin.mysql_install_db.exe]" "--service=[SERVICENAME]" --port=[PORT] "--password=[PASSWORD]" "--datadir=[DATADIR]\" [SKIPNETWORKING] [ALLOWREMOTEROOTACCESS] [DEFAULTUSER]"
+ ""[#F.bin.mysql_install_db.exe]" "--service=[SERVICENAME]" --port=[PORT] "--password=[ESCAPEDPASSWORD]" "--datadir=[DATADIR]\" [SKIPNETWORKING] [ALLOWREMOTEROOTACCESS] [DEFAULTUSER]"
Execute="immediate"
HideTarget="yes"
/>
@@ -703,7 +704,7 @@ <![CDATA[&DBInstance=3 AND NOT !DBInstance=3 AND OLDERVERSIONBEINGUPGRADED=""]]>
</Custom>
<Custom Action="ErrorDataDirNotEmpty" After="CheckDataDirectoryEmpty" >DATADIRNOTEMPTY</Custom>
-
+ <Custom Action="CheckDatabaseProperties" Before="CreateDatabaseCommand">SERVICENAME</Custom>
<Custom Action="CreateDatabaseCommand" After="CostFinalize" >
<![CDATA[&DBInstance=3 AND NOT !DBInstance=3 AND OLDERVERSIONBEINGUPGRADED=""]]>
</Custom>
|