Advertisement
AceScottie

basic_setup

Nov 14th, 2019
3,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define MyAppName "Main System"
  2. #define MyAppVersion "0.0.0.1"
  3. #define MyProdVersion "0.1 relese"
  4. #define MyAppExeName "main.exe"
  5. #define appCopyright "Copyright © 2018-2023"
  6. #define basepath "C:\Users\MyUser\Desktop\patient\build\exe.win32-3.7"
  7. [Setup]
  8. ;PrivilegesRequired=admin
  9. AppId={}
  10.  
  11. AppName={#MyAppName}
  12. AppVersion={#MyProdVersion}      
  13. VersionInfoVersion={#MyAppVersion}
  14. VersionInfoDescription=Main System 0.1
  15. DefaultDirName={pf}\{#MyAppName}
  16. DefaultGroupName={#MyAppName}
  17. AllowNoIcons=yes
  18. OutputBaseFilename=Main-Setup
  19. AppCopyright={#appCopyright}
  20. SetupIconFile={#basepath}\icon.ico
  21. Compression=lzma
  22. SolidCompression=yes
  23. UninstallDisplayIcon={app}\{#MyAppExeName}
  24.  
  25. [Tasks]
  26. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
  27. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";
  28.  
  29.  
  30. [Files]
  31. Source: "{#basepath}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
  32. Source: "{#basepath}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
  33.  
  34. [Icons]
  35. Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  36. Name: "{commonstartmenu}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
  37.  
  38. [Run]
  39. Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall shellexec skipifsilent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement