Guest User

Untitled

a guest
Nov 24th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3.  
  4. #define MyAppName "SISAUTO - SISTEMA DE AUTOMAÇÃO COMERCIAL"
  5. #define MyAppVersion "7.0.23"
  6. #define MyAppPublisher "SUPPORT INFORMÁTICA"
  7. #define MyAppURL "http://www.support-br.com.br"
  8. #define MyAppExeName "MyProg.exe"
  9.  
  10. [Setup]
  11. ; NOTE: The value of AppId uniquely identifies this application.
  12. ; Do not use the same AppId value in installers for other applications.
  13. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  14. AppId={{0D0A707B-5DF4-4AF9-BC4C-133886E5E379}
  15. AppName={#MyAppName}
  16. AppVersion={#MyAppVersion}
  17. ;AppVerName={#MyAppName} {#MyAppVersion}
  18. AppPublisher={#MyAppPublisher}
  19. AppPublisherURL={#MyAppURL}
  20. AppSupportURL={#MyAppURL}
  21. AppUpdatesURL={#MyAppURL}
  22. CreateAppDir=no
  23. OutputDir=C:UsersSERVERDesktopArquivos para ExecutavelOutput
  24. OutputBaseFilename=INSTALADOR_SISAUTO_2017
  25. SetupIconFile=C:UsersSERVERDesktopArquivos para ExecutavelSISAUTOinstall.ico
  26. Compression=lzma
  27. SolidCompression=yes
  28.  
  29. DisableWelcomePage=no
  30. DisableDirPage=yes
  31. DisableProgramGroupPage=yes
  32. DisableReadyMemo=yes
  33. DisableReadyPage=yes
  34. DisableStartupPrompt=yes
  35. DisableFinishedPage=no
  36.  
  37. [Languages]
  38. Name: brazilianportuguese; MessagesFile: compiler:LanguagesBrazilianPortuguese.isl
  39.  
  40. [Tasks]
  41. Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:
  42.  
  43. [Dirs]
  44. Name: C:SISAUTO
  45. Name: C:BASESISAUTO
  46. Name: C:BASESISAUTOGERNFE2
  47. Name: C:BASESISAUTOBASE1
  48. Name: C:notas
  49. Name: C:ACBrMonitorPLUS
  50. Name: C:Unimake
  51. Name: C:UnimakeUniNFe
  52. Name: C:UnimakeUniDANFE
  53.  
  54. [Files]
  55.  
  56. Source: C:UsersSERVERDesktopArquivos para ExecutavelBASESISAUTOGERNFE2*; DestDir: C:BASESISAUTOGERNFE2; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite; Tasks:
  57. Source: C:UsersSERVERDesktopArquivos para ExecutavelBASESISAUTOBASE1*; DestDir: C:BASESISAUTOBASE1; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
  58. Source: C:UsersSERVERDesktopArquivos para ExecutavelSISAUTO*; DestDir: C:SISAUTO; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
  59. Source: C:UsersSERVERDesktopArquivos para ExecutavelACBrMonitorPLUS*; DestDir: C:ACBrMonitorPLUS; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite; Tasks: ; Languages:
  60. Source: C:UsersSERVERDesktopArquivos para ExecutavelUniNFe*; DestDir: C:UnimakeUniNFe; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
  61. Source: C:UsersSERVERDesktopArquivos para ExecutavelUniDANFE*; DestDir: C:UnimakeUniDANFE; Flags: recursesubdirs onlyifdoesntexist confirmoverwrite
  62.  
  63. [Icons]
  64. Name: {userdesktop}SISAUTO; Filename: C:SISAUTOsisauto.exe; Tasks: desktopicon
  65. Name: {userdesktop}GERNFE2; Filename: C:BASESISAUTOGERNFE2gernfe2.exe; Tasks: desktopicon
  66. Name: {userdesktop}ACBrMonitorPLUS; Filename: C:ACBrMonitorPLUSACBrMonitor.exe; Tasks: desktopicon
  67. Name: {userdesktop}UNINFE; Filename: C:UnimakeUniNFeuninfe.exe; Tasks: desktopicon
  68. Name: {userdesktop}UNIDANFE; Filename: C:UnimakeUniDANFEunidanfe.exe; Tasks: desktopicon
  69.  
  70. Name: {commonstartup}GERNFE2; Filename: C:BASESISAUTOGERNFE2gernfe2.exe
  71. Name: {commonstartup}ACBrMonitorPLUS; Filename: C:ACBrMonitorPLUSACBrMonitor.exe
  72. Name: {commonstartup}UniNFe; Filename: C:UnimakeUniNFeuninfe.exe
  73.  
  74. [_ISTool]
  75. UseAbsolutePaths=true
  76. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  77.  
  78. [Run]
  79. Filename: C:SISAUTOInstalaDLL2.exe
  80. Filename: C:ACBrMonitorPLUSACBrMonitor.exe; Flags: nowait runminimized hidewizard runhidden
  81. Filename: C:UnimakeUniNFeuninfe.exe; Flags: nowait runminimized hidewizard runhidden
  82.  
  83. [Files]
  84.  
  85. Source: {#MyAppDirOut}Exemplo.exe; DestDir: {#MyAppDirIns}; BeforeInstall: onBeforeInstall;
  86.  
  87. [Code]
  88.  
  89. procedure Validar();
  90. begin
  91. if (DirExists('C:SISAUTO')) then
  92. CreateDir('C:SISAUTO2');
  93. end;
  94.  
  95. procedure onBeforeInstall();
  96. begin
  97. Validar;
  98. end;
  99.  
  100. if (DirectoryExists(C:SISAUTO)) then
  101. ForceDirectories(C:SISAUTO2);
Add Comment
Please, Sign In to add comment