Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Script generated by the Inno Setup Script Wizard.
- ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
- #define MyAppName "SISAUTO - SISTEMA DE AUTOMAÇÃO COMERCIAL"
- #define MyAppVersion "7.0.23"
- #define MyAppPublisher "SUPPORT INFORMÁTICA"
- #define MyAppURL "http://www.support-br.com.br"
- #define MyAppExeName "MyProg.exe"
- [Setup]
- ; NOTE: The value of AppId uniquely identifies this application.
- ; Do not use the same AppId value in installers for other applications.
- ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
- AppId={{0D0A707B-5DF4-4AF9-BC4C-133886E5E379}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- ;AppVerName={#MyAppName} {#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- CreateAppDir=no
- OutputDir=C:UsersSERVERDesktopArquivos para ExecutavelOutput
- OutputBaseFilename=INSTALADOR_SISAUTO_2017
- SetupIconFile=C:UsersSERVERDesktopArquivos para ExecutavelSISAUTOinstall.ico
- Compression=lzma
- SolidCompression=yes
- DisableWelcomePage=no
- DisableDirPage=yes
- DisableProgramGroupPage=yes
- DisableReadyMemo=yes
- DisableReadyPage=yes
- DisableStartupPrompt=yes
- DisableFinishedPage=no
- [Languages]
- Name: brazilianportuguese; MessagesFile: compiler:LanguagesBrazilianPortuguese.isl
- [Tasks]
- Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:
- [Dirs]
- Name: C:SISAUTO
- Name: C:BASESISAUTO
- Name: C:BASESISAUTOGERNFE2
- Name: C:BASESISAUTOBASE1
- Name: C:notas
- Name: C:ACBrMonitorPLUS
- Name: C:Unimake
- Name: C:UnimakeUniNFe
- Name: C:UnimakeUniDANFE
- [Files]
- Source: C:UsersSERVERDesktopArquivos para ExecutavelBASESISAUTOGERNFE2*; DestDir: C:BASESISAUTOGERNFE2; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite; Tasks:
- Source: C:UsersSERVERDesktopArquivos para ExecutavelBASESISAUTOBASE1*; DestDir: C:BASESISAUTOBASE1; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
- Source: C:UsersSERVERDesktopArquivos para ExecutavelSISAUTO*; DestDir: C:SISAUTO; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
- Source: C:UsersSERVERDesktopArquivos para ExecutavelACBrMonitorPLUS*; DestDir: C:ACBrMonitorPLUS; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite; Tasks: ; Languages:
- Source: C:UsersSERVERDesktopArquivos para ExecutavelUniNFe*; DestDir: C:UnimakeUniNFe; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
- Source: C:UsersSERVERDesktopArquivos para ExecutavelUniDANFE*; DestDir: C:UnimakeUniDANFE; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
- [Icons]
- Name: {userdesktop}SISAUTO; Filename: C:SISAUTOsisauto.exe; Tasks: desktopicon
- Name: {userdesktop}GERNFE2; Filename: C:BASESISAUTOGERNFE2gernfe2.exe; Tasks: desktopicon
- Name: {userdesktop}ACBrMonitorPLUS; Filename: C:ACBrMonitorPLUSACBrMonitor.exe; Tasks: desktopicon
- Name: {userdesktop}UNINFE; Filename: C:UnimakeUniNFeuninfe.exe; Tasks: desktopicon
- Name: {userdesktop}UNIDANFE; Filename: C:UnimakeUniDANFEunidanfe.exe; Tasks: desktopicon
- Name: {commonstartup}GERNFE2; Filename: C:BASESISAUTOGERNFE2gernfe2.exe
- Name: {commonstartup}ACBrMonitorPLUS; Filename: C:ACBrMonitorPLUSACBrMonitor.exe
- Name: {commonstartup}UniNFe; Filename: C:UnimakeUniNFeuninfe.exe
- [_ISTool]
- UseAbsolutePaths=true
- ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
- [Run]
- Filename: C:SISAUTOInstalaDLL2.exe
- Filename: C:ACBrMonitorPLUSACBrMonitor.exe; Flags: nowait runminimized hidewizard runhidden
- Filename: C:UnimakeUniNFeuninfe.exe; Flags: nowait runminimized hidewizard runhidden
- [Files]
- Source: {#MyAppDirOut}Exemplo.exe; DestDir: {#MyAppDirIns}; BeforeInstall: onBeforeInstall;
- [Code]
- procedure Validar();
- begin
- if (DirExists('C:SISAUTO')) then
- CreateDir('C:SISAUTO2');
- end;
- procedure onBeforeInstall();
- begin
- Validar;
- end;
- if (DirectoryExists(C:SISAUTO)) then
- ForceDirectories(C:SISAUTO2);
Add Comment
Please, Sign In to add comment