浏览代码

bump exe uninstaller to new version and skip uninstaller on bundle uninstall

Armin Schrenk 1 年之前
父节点
当前提交
031dc8a31a
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 3 2
      dist/win/bundle/bundleWithWinfsp.wxs
  2. 1 1
      dist/win/bundle/resources/winfsp-uninstaller.url

+ 3 - 2
dist/win/bundle/bundleWithWinfsp.wxs

@@ -40,16 +40,17 @@
               DetectCondition="false"
               InstallCondition="InstalledLegacyWinFspVersion <> v0.0.0.0"
               >
-                <CommandLine Condition="WixBundleUILevel &lt;= 3" InstallArgument="-q" />
+                <CommandLine Condition="WixBundleUILevel &lt;= 3" InstallArgument="-q" RepairArgument="-q" UninstallArgument="-s" />
                 <!-- XML allows line breaks in attributes, hence keep the line breaks here -->
                 <CommandLine Condition="WixBundleUILevel &gt; 3" InstallArgument="-t &quot;Cryptomator Installer&quot; -m &quot;Cryptomator requires a newer version of the WinFsp driver. The installer will now uninstall WinFsp, possibly reboot, and afterwards proceed with the installation.
 
-Do you want to continue?&quot;" />
+Do you want to continue?&quot;" RepairArgument="-q" UninstallArgument="-s" />
                 <ExitCode Behavior="success" Value="0"/>
                 <ExitCode Behavior="success" Value="1"/>
                 <ExitCode Behavior="error" Value="2"/>
                 <ExitCode Behavior="error" Value="3"/>
                 <ExitCode Behavior="forceReboot" Value="4"/>
+                <ExitCode Behavior="success" Value="5"/>
             </ExePackage>
             <!-- see https://wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.html-->
             <MsiPackage

+ 1 - 1
dist/win/bundle/resources/winfsp-uninstaller.url

@@ -1,2 +1,2 @@
 [InternetShortcut]
-URL=https://github.com/cryptomator/winfsp-uninstaller/releases/download/1.0.0-beta7/winfsp-uninstaller.exe
+URL=https://github.com/cryptomator/winfsp-uninstaller/releases/download/1.0.0-beta8/winfsp-uninstaller.exe