Example2.iss 817 B

123456789101112131415161718192021222324
  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. DefaultDirName={pf}\My Program
  9. ; Since no icons will be created in "{group}", we don't need the wizard
  10. ; to ask for a Start Menu folder name:
  11. DisableProgramGroupPage=yes
  12. UninstallDisplayIcon={app}\MyProg.exe
  13. OutputDir=userdocs:Inno Setup Examples Output
  14. [Files]
  15. Source: "MyProg.exe"; DestDir: "{app}"
  16. Source: "MyProg.chm"; DestDir: "{app}"
  17. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  18. [Icons]
  19. Name: "{commonprograms}\My Program"; Filename: "{app}\MyProg.exe"
  20. Name: "{commondesktop}\My Program"; Filename: "{app}\MyProg.exe"