; -- Sample1.iss --
; Demonstrates copying 3 files, creating an icon, and some registry entries.

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING SETUP SCRIPTS!

[Setup]
AppName=CHROMuLAN
AppVerName=CHROMuLAN version 0.60
AppCopyright=Copyright © 1999-2000 Jindrich Jindrich
DefaultDirName={pf}\CHROMuLAN
DefaultGroupName=CHROMuLAN
;MinVersion=0,3.51
UninstallDisplayIcon={app}\CHROMuLAN.exe
OutputBaseFileName=SetupCHROMuLAN060
OutputDir=Setup
;DiskSpanning=yes
;AdminPrivilegesRequired=yes
AlwaysCreateUninstallIcon=yes
ChangesAssociations=yes
ExtraDiskSpaceRequired=10000000
InfoAfterFile=readme.txt
;LicenseFile=gnu.txt


[Dirs]
Name: "{app}\data"
Name: "{app}\demodata"
Name: "{app}\log"

[Files]
Source: "CHROMuLAN.exe"; DestDir: "{app}"
;Source: "ul_drv.sys"; DestDir: "{app}"
Source: "Copying"; DestDir: "{app}"
;Source: "drvtool.exe"; DestDir: "{app}"
;Source: "ulf2asc.exe"; DestDir: "{app}"
Source: "readme.txt"; DestDir: "{app}"
Source: "demodata\*.ulf"; DestDir: "{app}\demodata"
;Source: "utl\*.*"; DestDir: "{app}"
Source: "report.dfm"; DestDir: "{app}"
Source: "CHROMuLAN.hlp"; DestDir: "{app}"
;Source: "utl\ul_wdm*.*"; DestDir: "{app}";

[Icons]
Name: "{group}\CHROMuLAN"; Filename: "{app}\CHROMuLAN.exe"
; NOTE: Most apps do not need registry entries to be pre-created, so if
; you are using this script as a template for a new install, you should
; probably remove these [Registry] entries.

[Registry]
Root: HKCR; Subkey: ".ULF"; Flags: uninsdeletekey; ValueType: string; ValueData: "ULFFile"
Root: HKCR; Subkey: "ULFFile"; Flags: uninsdeletekey; ValueType: string; ValueData: "CHROMuLAN Data File"
Root: HKCR; Subkey: "ULFFile\shell"; Flags: uninsdeletekey
Root: HKCR; Subkey: "ULFFile\shell\open"; Flags: uninsdeletekey; ValueType: string; ValueData: ""
Root: HKCR; Subkey: "ULFFile\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueData: "{app}\CHROMuLAN.exe %1"
