; Скрипт создан с помощью
; IS GameScript Generator by South
; специально для
www.csmania.ru
[Setup]
SourceDir=.
OutputDir=Setup
AppName=Next Car Game
AppVerName=Next Car Game
AppVersion=Next Car Game
DefaultDirName={pf}\Next Car Game
DefaultGroupName=Next Car Game
AllowNoIcons=yes
OutputBaseFilename=setup
WizardImageFile=G:\Разное\Разное2\Текстовые док\для торрента\разадача\Next car game\инсталлятор.bmp
SetupIconFile=C:\Program Files\Smart Install Maker\Icons\Install\Install-7.ico
WindowVisible=no
WindowShowCaption=no
WindowResizable=no
Compression=lzma/ultra
DiskSpanning=yes
DiskSliceSize=734003200
SlicesPerDisk=1
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
[Files]
Source: J:\Fraps\Screenshots\Next Car Game 2014-01-20 20-59-04-41.jpg; DestDir: {tmp}; Flags: ignoreversion dontcopy nocompression
Source: isgsg.dll; DestDir: {tmp}; Flags: ignoreversion dontcopy nocompression
Source: J:\game\Next Car Game\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs sortfilesbyextension
[Icons]
Name: {group}\Next Car Game; Filename: {app}\Next Car Game.exe; WorkingDir: {app}
Name: {userdesktop}\Next Car Game; Filename: {app}\Next Car Game.exe; WorkingDir: {app}; Tasks: desktopicon
Name: {group}\{cm:UninstallProgram,Next Car Game}; Filename: {uninstallexe}
[Run]
Description: {cm:LaunchProgram, Next Car Game}; Filename: {app}\Next Car Game.exe; WorkingDir: {app}; Flags: nowait postinstall skipifsilent unchecked
[UninstallDelete]
Type: filesandordirs; Name: {app}
[code]
function GetWindowLong(hWnd: HWND; nIndex: Integer): Longint; external 'GetWindowLongA@user32.dll stdcall delayload';
function ssInitialize(hParent:HWND;ssTimeShow:integer;FadeOut:boolean;StretchMode:integer;BkgColor:DWORD):boo lean; external 'ssInitialize@files:isgsg.dll stdcall delayload';
procedure ssDeInitialize; external 'ssDeInitialize@files:isgsg.dll stdcall delayload';
procedure ssSetBkgImage(FileName:PChar); external 'ssSetBkgImage@files:isgsg.dll stdcall delayload';
procedure InitializeWizard;
begin
ssInitialize(GetWindowLong(MainForm.Handle,-8),0,False,2,$FF000000);
ExtractTemporaryFile('Next Car Game 2014-01-20 20-59-04-41.jpg');
ssSetBkgImage(ExpandConstant('{tmp}')+'\Next Car Game 2014-01-20 20-59-04-41.jpg');
end;
procedure DeinitializeSetup;
begin
ssDeInitialize;
end;