wix: pre-check the 'I approve this license' checkbox
authorSteve Borho <steve@borho.org>
Mon, 08 Mar 2010 11:12:48 -0600
changeset 10610 eea2db5f56ba
parent 10609 5ee3faa7c563
child 10611 e764f24a45ee
wix: pre-check the 'I approve this license' checkbox This is simply a convenience to the user, they can click next until the installer goes away. Optimally, the checkbox would be hidden or removed, but that requires rewriting the UI.
contrib/wix/mercurial.wxs
--- a/contrib/wix/mercurial.wxs	Sun Mar 07 22:04:35 2010 -0600
+++ b/contrib/wix/mercurial.wxs	Mon Mar 08 11:12:48 2010 -0600
@@ -37,6 +37,9 @@
     <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property>
     <Property Id='REINSTALLMODE'>amus</Property>
 
+    <!--Auto-accept the license page-->
+    <Property Id='LicenseAccepted'>1</Property>
+
     <Directory Id='TARGETDIR' Name='SourceDir'>
       <Directory Id='ProgramFilesFolder' Name='PFiles'>
         <Directory Id='INSTALLDIR' Name='Mercurial'>