; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=File Downloader
AppVerName=File Downloader 0.1.0 beta
AppPublisher=michalss (xbox360warez.net)
DefaultDirName={pf}\File Downloader
DefaultGroupName=File Downloader
OutputDir=C:\-- MY PROJECT
OutputBaseFilename=File_Downloader.exe
Compression=lzma
SolidCompression=true
PrivilegesRequired=none
AppVersion=0.1.0
AppID={{1DBAFDE3-E11F-4061-9A40-9FC5D5244115}
[Registry]
Root: HKCR; Subkey: .xbl; ValueType: string; ValueName: ; ValueData: FileDownloader; Flags: uninsdeletevalue
Root: HKCR; Subkey: FileDownloaderFile; ValueType: string; ValueName: ; ValueData: FileDownloader File; Flags: uninsdeletekey
Root: HKCR; Subkey: FileDownloaderFile\DefaultIcon; ValueType: string; ValueData: {app}\FileDownloader.exe,2
Root: HKCR; Subkey: FileDownloaderFile\shell\open\command; ValueType: string; ValueName: ; ValueData:
""
"{app}\FileDownloader.exe"
[Languages]
Name: english; MessagesFile: compiler:
Default
.isl
Name: czech; MessagesFile: compiler:Languages\Czech.isl
Name: german; MessagesFile: compiler:Languages\German.isl
Name: slovak; MessagesFile: compiler:Languages\Slovak.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
[Files]
Source: C:\-- MY PROJECT
Source: C:\-- MY PROJECT
; NOTE: Don
[Icons]
Name: {group}\File Downloader; Filename: {app}\FileDownloader.exe
Name: {group}\{cm:UninstallProgram,File Downloader}; Filename: {uninstallexe}
Name: {commondesktop}\File Downloader; Filename: {app}\FileDownloader.exe; Tasks: desktopicon
[Code]
procedure CurStepChanged(CurStep: TSetupStep);
var
ResultCode:
Integer
;
Uninstall:
String
;
begin
if (CurStep = ssInstall) then begin
if RegQueryStringValue(HKLM,
MsgBox(
Exec(RemoveQuotes(Uninstall),
end;
end;
end;
[Run]
Filename: {app}\FileDownloader.exe; Description: {cm:LaunchProgram,File Downloader}; Flags: nowait postinstall skipifsilent