]> repos.lx-s.de Git - winmute.git/commitdiff
Added update check to setup 2.4.9.0
authorlx-s <lx-s@users.noreply.github.com>
Wed, 20 Dec 2023 10:23:44 +0000 (11:23 +0100)
committerlx-s <lx-s@users.noreply.github.com>
Wed, 20 Dec 2023 10:23:44 +0000 (11:23 +0100)
Dist/InnoSetup/winmute-setup-languages.iss
Dist/InnoSetup/winmute-setup.iss

index 325839a7f91a7c0e0da5673aff65dba7ed58467d..f7badf22814e0f3eae93c79f53303d204abe7101 100644 (file)
@@ -2,6 +2,9 @@
 en.StartpAppLogon=Start WinMute when you log on\r
 de.StartpAppLogon=WinMute mit Windows starten\r
 it.StartpAppLogon=Esegui WinMute all'accesso\r
+en.CheckForUpdates=Automatically check for updates\r
+de.CheckForUpdates=Automatisch nach Updates suchen\r
+it.CheckForUpdates=Verifica automaticamente la disponibilità di aggiornamenti\r
 \r
 [Languages]\r
 Name: "en"; MessagesFile: "compiler:Default.isl";           InfoBeforeFile: "translations/info-before.en.txt";\r
index d2967d8fe049b7f0ee697e791af51fbedc2559de..595e44f294cb38b16293db31d44164c10baec496 100644 (file)
@@ -26,7 +26,7 @@ VersionInfoProductName={#MyAppName}
 VersionInfoVersion={#MyAppVersion}\r
 \r
 UninstallDisplayName={#MyAppName}\r
-UninstallDisplayIcon={app}\{#MyAppExeName}.exe\r
+UninstallDisplayIcon={app}\{#MyAppExeName}.exe,1\r
 \r
 WizardStyle=modern\r
 ShowLanguageDialog=yes\r
@@ -38,7 +38,7 @@ DisableProgramGroupPage=yes
 LicenseFile=..\bin\license.rtf\r
 AppMutex={#MyAppMutex}\r
 SetupMutex={#MyAppMutex}Setup\r
-;PrivilegesRequiredOverridesAllowed=dialog\r
+PrivilegesRequiredOverridesAllowed=dialog\r
 PrivilegesRequired=lowest\r
 OutputDir=..\bin\\r
 OutputBaseFilename=WinMuteSetup\r
@@ -51,13 +51,17 @@ SolidCompression=yes
 [Tasks]\r
 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked\r
 Name: "autostart" ; Description: "{cm:StartpAppLogon}" ; GroupDescription: "Autostart"; Flags: unchecked\r
+Name: "updates"; Description: "{cm:CheckForUpdates}";  GroupDescription: "Updates"; Flags: unchecked\r
 \r
 [Files]\r
 Source: "..\bin\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion\r
 Source: "..\bin\changelog.txt"; DestDir: "{app}"; Flags: ignoreversion\r
 Source: "..\bin\license.txt"; DestDir: "{app}"; Flags: ignoreversion\r
-Source: "..\bin\liesmich.html"; DestDir: "{app}"; Flags: ignoreversion\r
-Source: "..\bin\readme.html"; DestDir: "{app}"; Flags: ignoreversion\r
+Source: "..\bin\lang\lang-de.json"; DestDir: "{app}\lang"; Flags: ignoreversion\r
+Source: "..\bin\lang\lang-en.json"; DestDir: "{app}\lang"; Flags: ignoreversion\r
+Source: "..\bin\lang\lang-es.json"; DestDir: "{app}\lang"; Flags: ignoreversion\r
+Source: "..\bin\lang\lang-it.json"; DestDir: "{app}\lang"; Flags: ignoreversion\r
+Source: "..\bin\lang\lang-nl.json"; DestDir: "{app}\lang"; Flags: ignoreversion\r
 \r
 [Icons]\r
 Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"\r
@@ -67,10 +71,11 @@ Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: de
 Root: HKCU; Subkey: "Software\lx-systems"; Flags: uninsdeletekeyifempty\r
 Root: HKCU; Subkey: "Software\lx-systems\WinMute"; Flags: uninsdeletekey\r
 Root: HKCU; Subkey: "Software\lx-systems\WinMute"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}"\r
+Root: HKCU; Subkey: "Software\lx-systems\WinMute"; ValueType: dword; ValueName: "CheckForUpdate"; ValueData: "1"; Tasks: updates;\r
 Root: HKCU; Subkey: "Software\lx-systems\WinMute\BluetoothDevices"; Flags: uninsdeletekey\r
 Root: HKCU; Subkey: "Software\lx-systems\WinMute\WifiNetworks"; Flags: uninsdeletekey\r
 Root: HKCU; Subkey: "Software\lx-systems\WinMute\ManagedAudioEndpoints"; Flags: uninsdeletekey\r
-Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "LX-Systems WinMute"; ValueData: "{app}\{#MyAppExeName}"; Tasks: autostart\r
+Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "LX-Systems WinMute"; ValueData: "{app}\{#MyAppExeName}"; Tasks: autostart; Flags: uninsdeletevalue\r
 \r
 [Run]\r
 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent\r