Skip to content

Commit

Permalink
Allow downgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
koho committed Jan 10, 2023
1 parent 58e0a55 commit 1567b0f
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion installer/msi/en-US.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="en-US" Codepage="1252" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">1033</String>
<String Id="ApplicationName">FRP Manager</String>
<String Id="DowngradeErrorMessage">A newer version of FRP Manager is already installed.</String>
</WixLocalization>
1 change: 0 additions & 1 deletion installer/msi/es-ES.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="es-ES" Codepage="1252" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">3082</String>
<String Id="ApplicationName">Administrador de FRP</String>
<String Id="DowngradeErrorMessage">Ya está instalada una versión más reciente del Administrador de FRP.</String>
</WixLocalization>
3 changes: 2 additions & 1 deletion installer/msi/frpmgr.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!--
Upgrading
-->
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" />
<MajorUpgrade AllowDowngrades="yes" />

<Icon Id="ProductIcon" SourceFile="..\icon\app.ico" />
<Binary Id="actions.dll" SourceFile="build\actions.dll" />
Expand All @@ -18,6 +18,7 @@
<Property Id="ARPURLINFOABOUT" Value="https://github.com/koho/frpmgr" />
<Property Id="ARPNOREPAIR" Value="yes" />
<Property Id="DISABLEADVTSHORTCUTS" Value="yes" />
<Property Id="REINSTALLMODE" Value="amus" />

<!--
Detect previous install folder if it's a upgrade
Expand Down
1 change: 0 additions & 1 deletion installer/msi/ja-JP.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="ja-JP" Codepage="932" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">1041</String>
<String Id="ApplicationName">FRP マネージャ</String>
<String Id="DowngradeErrorMessage">新しいバージョンの FRP マネージャーがすでにインストールされています。</String>
</WixLocalization>
1 change: 0 additions & 1 deletion installer/msi/ko-KR.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="ko-KR" Codepage="949" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">1042</String>
<String Id="ApplicationName">FRP 관리자</String>
<String Id="DowngradeErrorMessage">최신 버전의 FRP 관리자 가 이미 설치되어 있습니다.</String>
</WixLocalization>
1 change: 0 additions & 1 deletion installer/msi/zh-CN.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="zh-CN" Codepage="936" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">2052</String>
<String Id="ApplicationName">FRP 管理器</String>
<String Id="DowngradeErrorMessage">该计算机已安装了更高版本的 FRP 管理器。</String>
</WixLocalization>
1 change: 0 additions & 1 deletion installer/msi/zh-TW.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<WixLocalization Culture="zh-TW" Codepage="950" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<String Id="Language">1028</String>
<String Id="ApplicationName">FRP 管理器</String>
<String Id="DowngradeErrorMessage">該計算機已安裝了更高版本的 FRP 管理器。</String>
</WixLocalization>

0 comments on commit 1567b0f

Please sign in to comment.