Return-Path: References: <20210422023226.935-1-rebecca@bsdio.com> From: Rebecca Cran Message-ID: <76320c05-4d0a-2c96-01a7-d5ebb6f4af3e@bsdio.com> Date: Wed, 21 Apr 2021 20:37:28 -0600 MIME-Version: 1.0 In-Reply-To: <20210422023226.935-1-rebecca@bsdio.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [PATCH] The GPL isn't a EULA: remove it and introduce WixUI_Minimal_NoEULA To: Jens Axboe , fio@vger.kernel.org List-ID: I've tested this on Windows 10 and it appears to work, but I'd appreciate any extra testing people can do because it's been quite a while since I've done much MSI work, but I remember how changing the InstallUISequence can introduce subtle issues. -- Rebecca Cran On 4/21/2021 8:32 PM, Rebecca Cran wrote: > The GPL shouldn't be used as a EULA in an installer. > Remove it, and since the WixUI_Minimal dialog set requires a EULA > create a custom WixUI_Minimal_NoEULA set. > > Signed-off-by: Rebecca Cran > --- > os/windows/WixUI_Minimal_NoEULA.wxs | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > os/windows/WixUI_fio.wxl | 12 ++++++++++ > os/windows/dobuild.cmd | 5 ++++- > os/windows/eula.rtf | Bin 1075 -> 0 bytes > os/windows/install.wxs | 2 +- > 5 files changed, 113 insertions(+), 2 deletions(-) > > diff --git a/os/windows/WixUI_Minimal_NoEULA.wxs b/os/windows/WixUI_Minimal_NoEULA.wxs > new file mode 100755 > index 00000000..48391186 > --- /dev/null > +++ b/os/windows/WixUI_Minimal_NoEULA.wxs > @@ -0,0 +1,96 @@ > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + 1 > > + > > + > > + > > + > > + > > + NOT Installed OR NOT PATCH > > + Installed AND PATCH > > + > > + > > + Installed AND PATCH > > + NOT Installed OR NOT PATCH > > + > > + > > + > > + > > + 1 > > + > > + 1 > > + > > + 1 > > + > > + 1 > > + 1 > > + 1 > > + > > + 1 > > + Installed AND PATCH > > + > > + > > + 0 > > + NOT Installed > > + > > + > > + > > + > > + > > + > > + > > + > \ No newline at end of file > diff --git a/os/windows/WixUI_fio.wxl b/os/windows/WixUI_fio.wxl > new file mode 100755 > index 00000000..11ec736a > --- /dev/null > +++ b/os/windows/WixUI_fio.wxl > @@ -0,0 +1,12 @@ > + > > + > > + > > + > > + > > + > > + > > + > > + > > +The Setup Wizard will install [ProductName] on your computer. Click Install to continue or Cancel to exit the Setup Wizard. > > + > > + > \ No newline at end of file > diff --git a/os/windows/dobuild.cmd b/os/windows/dobuild.cmd > index 08df3e87..7b9cb1dd 100644 > --- a/os/windows/dobuild.cmd > +++ b/os/windows/dobuild.cmd > @@ -44,7 +44,10 @@ if exist ..\..\fio.pdb ( > @if ERRORLEVEL 1 goto end > > "%WIX%bin\candle" -nologo -arch %FIO_ARCH% examples.wxs > > @if ERRORLEVEL 1 goto end > > -"%WIX%bin\light" -nologo -sice:ICE61 install.wixobj examples.wixobj -ext WixUIExtension -out %FIO_VERSION%-%FIO_ARCH%.msi > > +"%WIX%bin\candle" -nologo -arch %FIO_ARCH% WixUI_Minimal_NoEULA.wxs > > +@if ERRORLEVEL 1 goto end > > + > > +"%WIX%bin\light" -nologo -sice:ICE61 install.wixobj examples.wixobj WixUI_Minimal_NoEULA.wixobj -loc WixUI_fio.wxl -ext WixUIExtension -out %FIO_VERSION%-%FIO_ARCH%.msi > > :end > > > > if defined SIGN_FIO ( > > diff --git a/os/windows/eula.rtf b/os/windows/eula.rtf > deleted file mode 100755 > index a931017cd644cf9f1723705abb785fad694e113c..0000000000000000000000000000000000000000 > GIT binary patch > literal 0 > HcmV?d00001 > > literal 1075 > zcmaJ=O>g2b5Z!a7{)aiXD+*2u^n(*yl@curD1a&?UraJdtTlFIJ5Yr9?>kA0s=bhd > zzw&10z31_fTb~77XeXN?Df1xgg*?S9V_cg`CT3d-f8?3b-ft8w7|+~ZI>)o55Z0k* > zFh;dQFB361ovyErJTb~xLc@StOc~EDqGo)fDhzwQL4*0pbJS>sHx^=<6qtq#0@h~j > z;E8pE6W>YP|CKuJ@+t}7`ihsrrrdu#gp9_Z+pVWC=r_~jV?EvXSv_^{8%U2eklsTB > z>316lMc0srrv~!aCrG1+wo2&y2}aQj?qHnudiNAd9X4sJlwq8 > zLdXJk7cvTNetwS2LOLj|$*tG|Ei+ON&SZWsEIz}*RFDV_ zsmu=bL8Vi);0q)IcI&`o&E{>og15#x1@mg7WC9bJpmqp?>eeTY+=R`cfsg9yi?8Z1 > zGL%(#X>=7w2t-=o(p_sYXPyj5xypD!IX8-EwMa+5=7`6*S;kETVV=PH+%|H > zlAwa}lEl4K3N{Fp!>m#*ATQuOT8?L{B@Cx)cpt{`aJpO%2 zR%m~y+5dTsU&e$V{)#5ia$O4;Ma${yVgaLB3`3X?<7M=+nhax@uj2V^@!AGhkU_P} > z7mUrCi?IkPdLfnjPxP8D)DbzALLqiY7n`8m5j6n`b<5e-3+aV2I&UNrk?-aqZczr> > z_!cWG+WF&nJ%5cS(eyVI-k0vV)7kI$?Oa!FWAhI6M%@>#1E&)O > ctJFH>j~9`=Qj8}VJJEN38312;>EZtP2jP%zcmMzZ > > diff --git a/os/windows/install.wxs b/os/windows/install.wxs > index f73ec5e2..7773bb3b 100755 > --- a/os/windows/install.wxs > +++ b/os/windows/install.wxs > @@ -107,7 +107,7 @@ > > > > - > + > > AllowSameVersionUpgrades="yes"/>