ProyectoTransporte/ServTransporte.iss

46 lines
2.0 KiB
Plaintext

; Script de instalación para el Ejército Nacional de Venezuela
#define MyAppName "Servicio de Transporte Militar"
#define MyAppVersion "1.0.0"
#define MyAppPublisher "Ejército Nacional Bolivariano de Venezuela"
#define MyAppURL "https://www.ejercito.mil.ve"
#define MyAppExeName "Intendencia.exe"
[Setup]
AppId={{B3F5A6C2-1A8D-4E2A-9E7B-12C3D4E5F6A7}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}/soporte
AppUpdatesURL={#MyAppURL}/actualizaciones
DefaultDirName={autopf}\{#MyAppName}
OutputDir=B:\PROYECTOS\ProyectoTransporte\sistema\Installer_Output
OutputBaseFilename=Instalador_Servicio_Transporte_Militar
SetupIconFile=B:\PROYECTOS\ProyectoTransporte\sistema\icono.ico
Compression=lzma2/ultra
SolidCompression=yes
ArchitecturesAllowed=x64 x86
ArchitecturesInstallIn64BitMode=x64
WizardStyle=modern
PrivilegesRequired=admin
LanguageDetectionMethod=uilanguage
[Languages]
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
[Tasks]
Name: "desktopicon"; Description: "Crear icono en el escritorio"; GroupDescription: "Accesos directos:"
Name: "quicklaunchicon"; Description: "Crear icono en la barra de acceso rápido"; GroupDescription: "Accesos directos:"; Flags: unchecked
[Files]
Source: "B:\PROYECTOS\ProyectoTransporte\sistema\dist\Intendencia.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "B:\PROYECTOS\ProyectoTransporte\sistema\static\*"; DestDir: "{app}\static"; Flags: ignoreversion recursesubdirs
Source: "B:\PROYECTOS\ProyectoTransporte\sistema\intendencia\templates\*"; DestDir: "{app}\templates"; Flags: ignoreversion recursesubdirs
Source: "B:\PROYECTOS\ProyectoTransporte\sistema\db.sqlite3"; DestDir: "{app}"; Flags: onlyifdoesntexist
[Icons]
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "Iniciar aplicación"; Flags: nowait postinstall skipifsilent