Advertisement
Guest User

Inno Setup Script

a guest
Nov 5th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 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 "My Program"
  5. #define MyAppVersion "1.5"
  6. #define MyAppPublisher "My Company, Inc."
  7. #define MyAppURL "http://www.example.com/"
  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={{97AD1A2A-0AD6-4512-A12E-16C76E3C70F5}
  15. AppName={#MyAppName}
  16. AppVersion={#MyAppVersion}
  17. ;AppVerName={#MyAppName} {#MyAppVersion}
  18. AppPublisher={#MyAppPublisher}
  19. AppPublisherURL={#MyAppURL}
  20. AppSupportURL={#MyAppURL}
  21. AppUpdatesURL={#MyAppURL}
  22. DefaultDirName={pf}\{#MyAppName}
  23. DefaultGroupName={#MyAppName}
  24. OutputDir=C:\Users\ssaa\Desktop
  25. OutputBaseFilename=setup
  26. SetupIconFile=C:\Users\ssaa\Downloads\favicon.ico
  27. Compression=lzma
  28. SolidCompression=yes
  29. PrivilegesRequired=admin
  30.  
  31. [Languages]
  32. Name: "english"; MessagesFile: "compiler:Default.isl"
  33.  
  34. [Tasks]
  35. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  36.  
  37. [Files]
  38. Source: "C:\Program Files\Inno Setup 5\Examples\MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
  39. Source: "C:\Users\ssaa\Downloads\NotificationServer1_client\dist\NotificationServer1_client.jar"; DestDir: "{app}"; Flags: ignoreversion
  40. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  41.  
  42. [Icons]
  43. Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  44. Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  45. Name: "{commonstartup}\My Program"; Filename: "{app}\MyProg.exe"
  46.  
  47. [Run]
  48. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement