Index: scripts/setup.iss =================================================================== diff -u --- scripts/setup.iss (revision 0) +++ scripts/setup.iss (revision 28a99d3dea1a6955a436b86995063370f2769959) @@ -0,0 +1,83 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "Copy Handler" +#define MyAppVerName "Copy Handler 1.28-svn14" +#define MyAppPublisher "J�zef Starosczyk" +#define MyAppURL "http://www.copyhandler.com" +#define MyAppExeName "ch.exe" + +[Setup] +AppName={#MyAppName} +AppVerName={#MyAppVerName} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf}\{#MyAppName} +DefaultGroupName={#MyAppName} +AllowNoIcons=yes +LicenseFile=..\License.txt +OutputDir=..\bin +OutputBaseFilename=ch +Compression=lzma +SolidCompression=yes + +[Languages] +Name: english; MessagesFile: compiler:Default.isl +Name: brazilianportuguese; MessagesFile: compiler:Languages\BrazilianPortuguese.isl +Name: catalan; MessagesFile: compiler:Languages\Catalan.isl +Name: czech; MessagesFile: compiler:Languages\Czech.isl +Name: danish; MessagesFile: compiler:Languages\Danish.isl +Name: dutch; MessagesFile: compiler:Languages\Dutch.isl +Name: finnish; MessagesFile: compiler:Languages\Finnish.isl +Name: french; MessagesFile: compiler:Languages\French.isl +Name: german; MessagesFile: compiler:Languages\German.isl +Name: hungarian; MessagesFile: compiler:Languages\Hungarian.isl +Name: italian; MessagesFile: compiler:Languages\Italian.isl +Name: norwegian; MessagesFile: compiler:Languages\Norwegian.isl +Name: polish; MessagesFile: compiler:Languages\Polish.isl +Name: portuguese; MessagesFile: compiler:Languages\Portuguese.isl +Name: russian; MessagesFile: compiler:Languages\Russian.isl +Name: slovak; MessagesFile: compiler:Languages\Slovak.isl +Name: slovenian; MessagesFile: compiler:Languages\Slovenian.isl +Name: basque; MessagesFile: compiler:Languages\Basque.isl +Name: spanish; MessagesFile: compiler:Languages\Spanish.isl + +[Tasks] +Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked +Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked +Name: startatboot; Description: Run program at system startup; Flags: unchecked; Languages: + +[Files] +Source: ..\bin\release\ch.exe; DestDir: {app}; Flags: ignoreversion +Source: ..\License.txt; DestDir: {app}; Flags: ignoreversion +Source: ..\bin\release\chext.dll; DestDir: {app}; Flags: ignoreversion restartreplace uninsrestartdelete +Source: ..\bin\release\libicpf.dll; DestDir: {app}; Flags: ignoreversion +Source: ..\bin\release\ch.ini.template; DestDir: {app}; Flags: ignoreversion +Source: ..\bin\release\help\*; DestDir: {app}\help; Flags: ignoreversion recursesubdirs createallsubdirs +Source: ..\bin\release\langs\*; DestDir: {app}\langs; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files +Source: ..\bin\release\ch.log; DestDir: {app}; Flags: ignoreversion + +[Icons] +Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName} +Name: {userdesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon +Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: quicklaunchicon + +[Run] +Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent + +[Registry] +Root: HKLM; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: Copy Handler; Flags: dontcreatekey uninsdeletevalue +Root: HKLM; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: Copy Handler; Tasks: " startatboot"; ValueData: {app}\ch.exe; Flags: uninsdeletevalue + +[INI] +Filename: {app}\ch.ini; Section: Program; Key: Reload after restart; String: 1; Tasks: startatboot + +[Dirs] +Name: {app}\help +Name: {app}\langs + +[_ISTool] +UseAbsolutePaths=false