Example2.iss 902 B

12345678910111213141516171819202122232425262728
  1. ; -- Example2.iss --
  2. ; Same as Example1.iss, but creates its icon in the Programs folder of the
  3. ; Start Menu instead of in a subfolder, and also creates a desktop icon.
  4. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  5. [Setup]
  6. AppName=My Program
  7. AppVersion=1.5
  8. WizardStyle=modern
  9. DefaultDirName={autopf}\My Program
  10. ; Since no icons will be created in "{group}", we don't need the wizard
  11. ; to ask for a Start Menu folder name:
  12. DisableProgramGroupPage=yes
  13. UninstallDisplayIcon={app}\MyProg.exe
  14. Compression=lzma2
  15. SolidCompression=yes
  16. OutputDir=userdocs:Inno Setup Examples Output
  17. [Files]
  18. Source: "MyProg.exe"; DestDir: "{app}"
  19. Source: "MyProg.chm"; DestDir: "{app}"
  20. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  21. [Icons]
  22. Name: "{autoprograms}\My Program"; Filename: "{app}\MyProg.exe"
  23. Name: "{autodesktop}\My Program"; Filename: "{app}\MyProg.exe"