Advertisement
AceScottie

installer.iss

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