#At file:///C:/Users/Reggie/work/connector-net/6.3/ based on revid:reggie.burnett@stripped
959 Reggie Burnett 2011-01-07
fixed installer problem with referencing C: directly and use of INSTALLUTIL property name (bug #59301)
modified:
Installer/core.wxs
Installer/main.wxs
Installer/webproviders.wxs
=== modified file 'Installer/core.wxs'
=== modified file 'Installer/core.wxs'
--- a/Installer/core.wxs 2010-12-22 21:21:41 +0000
+++ b/Installer/core.wxs 2011-01-07 22:57:06 +0000
@@ -93,6 +93,7 @@
<InstallExecuteSequence>
<!-- v2 custom action scheduling -->
+ <Custom Action="Setv2InstallUtil" After="InstallValidate"/>
<Custom Action='Setv4InstallUtil' After='InstallValidate'>NETFRAMEWORK40FULL</Custom>
<Custom Action='ManagedDataInstallSetup' After="InstallFiles">NOT Installed</Custom>
<Custom Action='ManagedDataInstall' After="ManagedDataInstallSetup">NOT Installed</Custom>
@@ -101,11 +102,12 @@
</InstallExecuteSequence>
<!-- Custom Actions -->
- <CustomAction Id="Setv4InstallUtil" Property="InstallUtil" Value="c:\windows\microsoft.net\framework\v4.0.30319"/>
+ <CustomAction Id="Setv2InstallUtil" Property="INSTALLUTIL" Value="[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\installUtil.exe"/>
+ <CustomAction Id="Setv4InstallUtil" Property="INSTALLUTIL" Value="[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\installUtil.exe"/>
<CustomAction Id="ManagedDataInstallSetup" Property="ManagedDataInstall"
- Value='"[InstallUtil]\installUtil.exe" /LogToConsole=false /LogFile= "[#MySql.Data.v2]"'/>
+ Value='"[INSTALLUTIL]" /LogToConsole=false /LogFile= "[#MySql.Data.v2]"'/>
<CustomAction Id='ManagedDataUnInstallSetup' Property="ManagedDataUnInstall"
- Value='"[InstallUtil]\installUtil.exe" /LogToConsole=false /LogFile= /u "[#MySql.Data.v2]"'/>
+ Value='"[INSTALLUTIL]" /LogToConsole=false /LogFile= /u "[#MySql.Data.v2]"'/>
<CustomAction Id="ManagedDataInstall" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Execute='deferred' Impersonate='no'/>
<CustomAction Id="ManagedDataUnInstall" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Execute='deferred' Impersonate='no'/>
</Fragment>
=== modified file 'Installer/main.wxs'
--- a/Installer/main.wxs 2011-01-06 16:04:23 +0000
+++ b/Installer/main.wxs 2011-01-07 22:57:06 +0000
@@ -110,7 +110,6 @@
<Binary Id="H2Reg" SourceFile="Binary\H2Reg.exe"/>
<Property Id="WIXUI_INSTALLDIR" Value='INSTALLDIR'/>
- <Property Id='INSTALLUTIL' Value='[NETFRAMEWORK20INSTALLROOTDIR]'/>
<!-- Remove the license agreement dialog -->
<UIRef Id='WixUI_MySQL'/>
=== modified file 'Installer/webproviders.wxs'
--- a/Installer/webproviders.wxs 2010-12-22 21:21:41 +0000
+++ b/Installer/webproviders.wxs 2011-01-07 22:57:06 +0000
@@ -48,9 +48,9 @@
</InstallExecuteSequence>
<CustomAction Id="ManagedWebInstallSetup" Property="ManagedWebInstall"
- Value='"[InstallUtil]\installUtil.exe" /LogToConsole=false /LogFile= "[#MySqlWeb.v2]"'/>
+ Value='"[INSTALLUTIL]" /LogToConsole=false /LogFile= "[#MySqlWeb.v2]"'/>
<CustomAction Id='ManagedWebUnInstallSetup' Property="ManagedWebUnInstall"
- Value='"[InstallUtil]\installUtil.exe" /LogToConsole=false /LogFile= /u "[#MySqlWeb.v2]"'/>
+ Value='"[INSTALLUTIL]" /LogToConsole=false /LogFile= /u "[#MySqlWeb.v2]"'/>
<CustomAction Id="ManagedWebInstall" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Execute='deferred' Impersonate='no'/>
<CustomAction Id="ManagedWebUnInstall" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Execute='deferred' Impersonate='no'/>
</Fragment>
Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20110107225706-0kjxnooy5tdrl7a7.bundle
| Thread |
|---|
| • bzr commit into connector-net-trunk branch (reggie.burnett:959) Bug#59301 | Reggie Burnett | 7 Jan |