diff --git a/Installer/UpdateClient/Automatic Updates Checking for FactuGES.xml b/Installer/UpdateClient/Automatic Updates Checking for FactuGES.xml new file mode 100644 index 0000000..5a7048c Binary files /dev/null and b/Installer/UpdateClient/Automatic Updates Checking for FactuGES.xml differ diff --git a/Installer/UpdateClient/ClientUpdateLog.html b/Installer/UpdateClient/ClientUpdateLog.html new file mode 100644 index 0000000..2d1ad11 Binary files /dev/null and b/Installer/UpdateClient/ClientUpdateLog.html differ diff --git a/Installer/UpdateClient/check_updater.bat b/Installer/UpdateClient/check_updater.bat new file mode 100644 index 0000000..2f77940 --- /dev/null +++ b/Installer/UpdateClient/check_updater.bat @@ -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. +) \ No newline at end of file diff --git a/Installer/UpdateClient/factuges_updater.exe b/Installer/UpdateClient/factuges_updater.exe new file mode 100644 index 0000000..5f0a905 Binary files /dev/null and b/Installer/UpdateClient/factuges_updater.exe differ diff --git a/Installer/factuges.aup b/Installer/factuges.aup index f8670a3..7de828d 100644 Binary files a/Installer/factuges.aup and b/Installer/factuges.aup differ diff --git a/Installer/factuges.iss b/Installer/factuges.iss index 3a915ec..ace7703 100644 --- a/Installer/factuges.iss +++ b/Installer/factuges.iss @@ -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;