; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Acronym Decoder" #define MyAppNameShort "AcronymDecoder" #define MyAppVersion "1.0.0" #define MyAppPublisher "Chronosoft" #define MyAppPublisherShort "Chronosoft" #define MyAppURL "http://svn.zdechov.net/trac/AcronymDecoder/" #define MyAppExeName "AcronymDecoder.exe" #define MyAppDebugName "AcronymDecoder.dbg" #define MyAppSubDir ".." [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{B68CA6BD-A768-45D5-9F72-E9645BBCCD3A} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName} DefaultGroupName={#MyAppPublisherShort}\{#MyAppName} AllowNoIcons=yes OutputDir=. OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion} Compression=lzma SolidCompression=yes ChangesAssociations=yes [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl" ;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: [Registry] Root: HKCU; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey #define FileTypeName "Acronym Decoder project" Root: HKCR; Subkey: ".adp"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0" Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1""" [Files] Source: "{#MyAppSubDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion ;Source: "{#MyAppSubDir}\{#MyAppDebugName}"; DestDir: "{app}"; Flags: ignoreversion Source: "{#MyAppSubDir}\Example acronyms.adp"; DestDir: "{app}"; Flags: ignoreversion Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent