diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 8a66e524b..88858e600 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -260,9 +260,14 @@ jobs: shell: pwsh - name: Download WinFsp run: | - $winfspUrl = (Select-String -Path ".\dist\win\bundle\resources\winFspMetaData.wxi" -Pattern '<\?define BundledWinFspDownloadLink="(.+)".*?>').Matches.Groups[1].Value + $winfspUrl = (Select-String -Path ".\dist\win\bundle\resources\winfsp.url" -Pattern 'URL=(https://.+)$').Matches.Groups[1].Value curl --output dist/win/bundle/resources/winfsp.msi -L $winfspUrl shell: pwsh + - name: Download Legacy-WinFsp uninstaller + run: | + $winfspUninstallerUrl = (Select-String -Path ".\dist\win\bundle\resources\winfsp-uninstaller.url" -Pattern 'URL=(https://.+)$').Matches.Groups[1].Value + curl --output dist/win/bundle/resources/winfsp-uninstaller.exe -L $winfspUninstallerUrl + shell: pwsh - name: Compile to wixObj file run: > "${WIX}/bin/candle.exe" dist/win/bundle/bundleWithWinfsp.wxs