#At file:///C:/src/bzr.mysql/wex/installer/ based on revid:iggy@stripped
345 Iggy Galarza 2011-02-28
Display license agreement during the first run of the application.
modified:
Setup/config.xml
WexInstaller/InstallWizard/LicenseAgreement.cs
=== modified file 'Setup/config.xml'
--- a/Setup/config.xml 2011-02-14 15:42:24 +0000
+++ b/Setup/config.xml 2011-02-28 17:24:37 +0000
@@ -9,7 +9,7 @@
<UpdateCheckFrequency>7</UpdateCheckFrequency>
<ProductCachePath>C:\ProgramData\MySQL\MySQL Universal Installer\Product Cache\</ProductCachePath>
<InstallationRoot>C:\Program Files\MySQL\</InstallationRoot>
- <LicenseAgreement>0</LicenseAgreement>
+ <LicenseAgreement>1</LicenseAgreement>
<Location>
<X>246</X>
<Y>84</Y>
=== modified file 'WexInstaller/InstallWizard/LicenseAgreement.cs'
--- a/WexInstaller/InstallWizard/LicenseAgreement.cs 2011-02-07 21:39:59 +0000
+++ b/WexInstaller/InstallWizard/LicenseAgreement.cs 2011-02-28 17:24:37 +0000
@@ -28,6 +28,16 @@ namespace WexInstaller
return true;
}
+ public override bool Next()
+ {
+ if (acceptLicense.Checked)
+ {
+ InstallerConfiguration.DisplayLicenseAgreement = false;
+ }
+
+ return base.Next();
+ }
+
private void acceptLicense_CheckedChanged(object sender, EventArgs e)
{
SignalChange();
Attachment: [text/bzr-bundle] bzr/iggy@mysql.com-20110228172437-l7w7psnhn431h28z.bundle
| Thread |
|---|
| • bzr commit into wex-installer-1.0 branch (iggy:345) | Iggy Galarza | 28 Feb |