diff --git a/JamiInstaller/JamiInstaller.wax b/JamiInstaller/JamiInstaller.wax index a3b03657..060f03ee 100644 --- a/JamiInstaller/JamiInstaller.wax +++ b/JamiInstaller/JamiInstaller.wax @@ -1,5 +1,6 @@ - + diff --git a/JamiInstaller/Localization.wxl b/JamiInstaller/Localization.wxl index a649d175..ede934f0 100644 --- a/JamiInstaller/Localization.wxl +++ b/JamiInstaller/Localization.wxl @@ -2,6 +2,14 @@ By installing this software you agree to the terms in the license agreement - - + + diff --git a/JamiInstaller/Product.wxs b/JamiInstaller/Product.wxs index bd947eb8..16cfa45a 100644 --- a/JamiInstaller/Product.wxs +++ b/JamiInstaller/Product.wxs @@ -1,25 +1,44 @@ - - + + - - + + - + - - - + + + - + - - + + @@ -29,118 +48,187 @@ - + - + - + NOT Installed AND NOT WIX_UPGRADE_DETECTED AND NOT WIX_DOWNGRADE_DETECTED - + WIX_UPGRADE_DETECTED AND NOT (REMOVE="ALL") - - (REMOVE="ALL") AND UPGRADINGPRODUCTCODE + (REMOVE="ALL") AND UPGRADINGPRODUCTCODE - + Installed AND (REMOVE="ALL") AND NOT (WIX_UPGRADE_DETECTED OR UPGRADINGPRODUCTCODE) - + Installed AND NOT Upgrading AND NOT Uninstalling AND NOT UPGRADINGPRODUCTCODE - APPLICATIONFOLDER="" - + APPLICATIONFOLDER="" + - - - - + + + + + Directory="APPLICATIONFOLDER" + ExeCommand="cmd /c "del vc_redist.x64.exe; del uninstall.exe; del WinSparkle.dll;"" + Execute="deferred" + Return="ignore" + HideTarget="no" + Impersonate="no"/> + Value='"[APPLICATIONFOLDER]/$(var.ExeName).exe" --term'/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Execute="immediate" + Return="ignore"/> - + - + - + - + + Directory="APPLICATIONFOLDER"> + Guid="*"> + KeyPath="yes" + Source="$(var.ReleaseDir)\$(var.ExeName).exe" /> - - - - + + + + FirstInstall - - - - + + + + - - + + - - - - + + + + - + - + @@ -149,47 +237,88 @@ - + - + - 1 - 1 - 1 - 1 - 1 + 1 + 1 + 1 + 1 + 1 - WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed - NOT AbortInstall = 1 - + NOT AbortInstall = 1 + - - - WIXNONUILAUNCH - + + + WIXNONUILAUNCH + - - + + - - + + - - - - + + + + - +