Autoupdater
git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoDesign_FactuGES/trunk@187 93f398dd-4eb6-7a46-baf6-13f46f578da2
This commit is contained in:
parent
1f5e6ebcb9
commit
4bf7431849
Binary file not shown.
BIN
Installer/UpdateClient/ClientUpdateLog.html
Normal file
BIN
Installer/UpdateClient/ClientUpdateLog.html
Normal file
Binary file not shown.
11
Installer/UpdateClient/check_updater.bat
Normal file
11
Installer/UpdateClient/check_updater.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
set "programa=factuges_updater.exe"
|
||||
|
||||
REM Verifica si el programa está en ejecución
|
||||
tasklist /FI "IMAGENAME eq %programa%" 2>NUL | find /I /N "%programa%">NUL
|
||||
if "%ERRORLEVEL%"=="1" (
|
||||
REM El programa no está en ejecución. Iniciando...
|
||||
start "" /MIN "%programa%" /Tray REM Inicia el programa si no está en ejecución con el parámetro /Tray
|
||||
) else (
|
||||
REM El programa ya está en ejecución.
|
||||
)
|
||||
BIN
Installer/UpdateClient/factuges_updater.exe
Normal file
BIN
Installer/UpdateClient/factuges_updater.exe
Normal file
Binary file not shown.
Binary file not shown.
@ -6,11 +6,11 @@ AppPublisher=Rodax Software S.L.
|
||||
AppPublisherURL=http://www.rodax-software.com
|
||||
AppSupportURL=http://www.rodax-software.com
|
||||
AppUpdatesURL=http://www.rodax-software.com
|
||||
DefaultDirName={sd}\Rodax Software\FactuGES2
|
||||
DefaultGroupName=FactuGES2
|
||||
DefaultDirName={sd}\FactuGES
|
||||
DefaultGroupName=FactuGES
|
||||
AllowNoIcons=true
|
||||
OutputDir=Output
|
||||
OutputBaseFilename=factuges2setup
|
||||
OutputBaseFilename=factugessetup
|
||||
Compression=lzma
|
||||
SolidCompression=true
|
||||
InfoBeforeFile=
|
||||
@ -31,13 +31,13 @@ Source: Input\version.dat; DestDir: {tmp}; Flags: dontcopy
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Icons]
|
||||
Name: {group}\FactuGES2; Filename: {app}\FactuGES.exe; WorkingDir: {app}
|
||||
Name: {userdesktop}\FactuGES2; Filename: {app}\FactuGES.exe; Tasks: desktopicon; WorkingDir: {app}; Languages:
|
||||
Name: {group}\Comprobar actualizaciones; Filename: {app}\FactuGES.exe; WorkingDir: {app}; Parameters: CheckNow; Comment: Comprobar si hay nuevas actualizaciones de FactuGES2; IconFilename: {app}\update.ico
|
||||
Name: {group}\{cm:UninstallProgram,FactuGES2}; Filename: {uninstallexe}
|
||||
Name: {group}\FactuGES; Filename: {app}\FactuGES.exe; WorkingDir: {app}
|
||||
Name: {userdesktop}\FactuGES; Filename: {app}\FactuGES.exe; Tasks: desktopicon; WorkingDir: {app}; Languages:
|
||||
Name: {group}\Comprobar actualizaciones; Filename: {app}\FactuGES.exe; WorkingDir: {app}; Parameters: CheckNow; Comment: Comprobar si hay nuevas actualizaciones de FactuGES; IconFilename: {app}\update.ico
|
||||
Name: {group}\{cm:UninstallProgram,FactuGES}; Filename: {uninstallexe}
|
||||
|
||||
[Run]
|
||||
Filename: {app}\FactuGES.exe; Description: {cm:LaunchProgram,FactuGES2}; Flags: nowait postinstall skipifsilent
|
||||
Filename: {app}\FactuGES.exe; Description: {cm:LaunchProgram,FactuGES}; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Registry]
|
||||
Root: HKLM; Subkey: Software\Rodax Software; ValueType: string; ValueName: Version; ValueData: {code:GetAppVersion|''}; Flags: uninsdeletekey
|
||||
@ -58,5 +58,5 @@ function GetAppVersion(param: String): String;
|
||||
|
||||
function GetAppID(param: String): String;
|
||||
begin
|
||||
Result := 'FactuGES2';
|
||||
Result := 'FactuGES';
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user