xa6a4ok
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору #define AppId "{{287A12F0-915C-492F-867E-9511075DB83D}" #define MyAppName "Need for Speed(TM) Hot Pursuit" #define AppVerName "Need for Speed(TM) Hot Pursuit v 1.0" #define DefaultGroupName "Electronic Arts\Need for Speed(TM) Hot Pursuit" #define NeedSize "4936" ;#define TotalNeedSize "8162" #define NeedMem "600" #define MyAppExeName "NFS11.exe" #define path "{app}\NFS11.exe" #define IconFile "icon.ico" ; Если нужна другая картинка на финишной странице. Если нет, закомментировать #define FinishImage "2.bmp" ; Если нужны компоненты. Если нет, закомментировать ;#define Components ;#define FirewallInstallHelper ; Если нужны скины. Если нет, закомментировать #define Skin "Tiger.cjstyles" ; Если нужно лого. Если нет, закомментировать #define logo #define SecondProgressBar #define records #define precomp04 ;#define precomp038 ;#define unrar [Setup] AppId={#AppId} AppName={#MyAppName} AppVerName={#AppVerName} AppPublisher=RePack by DefaultDirName={pf}\{#MyAppName} DefaultGroupName={#DefaultGroupName} OutputBaseFilename=Setup ; Что бы быстрей запускался - закомментировать. Что бы был меньше размер инсталлятора - раскомментировать. ;InternalCompressLevel=ultra64 ;Compression=lzma/ultra64 ;SolidCompression=true AllowNoIcons=true ;VersionInfoCopyright=nik1967 VersionInfoDescription={#MyAppName} SetupIconFile=Files\{#IconFile} WizardImageFile=Files\WizardImage.bmp #ifdef Skin WizardSmallImageFile=Files\WizardSmallImage1.bmp #else WizardSmallImageFile=Files\WizardSmallImage.bmp #endif DirExistsWarning=no UninstallFilesDir={app}\Uninstall ShowTasksTreeLines=true #ifdef NeedSize ;ExtraDiskSpaceRequired={#TotalNeedSize} #endif [Languages] Name: rus; MessagesFile: compiler:Languages\Russian.isl ;Name: eng; MessagesFile: "compiler:Default.isl" [Messages] BeveledLabel=Твой текcт [CustomMessages] rus.ExtractedFile=Извлекается файл: rus.Extracted=Распаковка архивов... rus.Error=Ошибка распаковки! rus.ElapsedTime=Прошло времени: rus.RemainingTime=Осталось времени: rus.EstimatedTime=Всего: rus.AllElapsedTime=Время установки: rus.Welcome1=Вас приветствует %nМастер установки игры %n{#MyAppName} rus.Welcome2=Программа установит игру %n{#AppVerName} на Ваш компьютер.%n%nРекомендуется закрыть антивирусные пакеты, %nа также все прочие приложения перед тем, %nкак продолжить.%n%n%nНажмите «Далее», чтобы продолжить, или %n«Отмена», чтобы выйти из программы установки. rus.Finished1=Установка игры %n{#MyAppName} %nуспешно завершена. rus.Finished2=Игра {#AppVerName} %nбыла успешно установлена на Ваш компьютер. %n%nДля ее запуска выберите соответствующий ярлык в меню «Пуск» или на Рабочем столе. rus.Finished3=Нажмите «Завершить», чтобы выйти из программы установки. rus.ISDoneFinishedHeading=Установка игры %n{#MyAppName} %nне завершена! rus.ISDoneTitleBack=Откат установки... rus.DeleteSave=Удалить сохраненные игры и профили? [Files] Source: Files\*; Flags: dontcopy Source: Files\ISDone.dll; DestDir: {tmp}; Flags: dontcopy Source: Files\facompress.dll; DestDir: {tmp}; Flags: dontcopy Source: Files\facompress_mt.dll; DestDir: {tmp}; Flags: dontcopy Source: Files\DirBitmap.bmp; DestDir: {tmp}; Flags: dontcopy Source: Files\GroupBitmap.bmp; DestDir: {tmp}; Flags: dontcopy Source: Files\5.ico; DestDir: {app}; Flags: ignoreversion; Attribs: hidden system #ifdef FirewallInstallHelper Source: Files\FirewallInstallHelper.dll; DestDir: {app}; Flags: ignoreversion #endif #ifdef Skin Source: Files\{#Skin}; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; Source: Files\ISSkin.dll; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; #endif ;Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy ;Source: Include\srep.exe; DestDir: {tmp}; Flags: dontcopy ;Source: {win}\help\*; DestDir: {app}\Files; Flags: external recursesubdirs createallsubdirs; Check: CheckError; #ifdef records Source: Files\records.inf; DestDir: {tmp}; Flags: dontcopy #endif #ifdef precomp04 Source: Files\packjpg_dll.dll; DestDir: {tmp}; Flags: dontcopy Source: Files\RTconsole.exe; DestDir: {tmp}; Flags: dontcopy Source: Files\precomp04.exe; DestDir: {tmp}; Flags: dontcopy #endif #ifdef precomp038 Source: Files\packjpg_dll.dll; DestDir: {tmp}; Flags: dontcopy Source: Files\RTconsole.exe; DestDir: {tmp}; Flags: dontcopy Source: Files\precomp038.exe; DestDir: {tmp}; Flags: dontcopy Source: Files\zlib1.dll; DestDir: {tmp}; Flags: dontcopy #endif #ifdef unrar Source: Files\Unrar.dll; DestDir: {tmp}; Flags: dontcopy #endif #ifdef Components [Types] Name: full; Description: Full installation; Flags: iscustom [Components] Name: text; Description: Язык субтитров; Types: full; Flags: fixed Name: text\rus; Description: Русский; Flags: exclusive; Name: text\eng; Description: Английский; Flags: exclusive; Name: voice; Description: Язык озвучки; Types: full; Flags: fixed Name: voice\rus; Description: Русский; Flags: exclusive; Name: voice\eng; Description: Английский; Flags: exclusive; #endif [Registry] [Icons] Name: {userdesktop}\{#MyAppName}; Filename: {app}\bin\xrEngine.exe; WorkingDir: {app}; Tasks: Icon/desktopicon; Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}; IconFilename: {app}\5.ico; Name: {group}\{#MyAppName}; Filename: {app}\bin\xrEngine.exe; WorkingDir: {app}; ;Name: {group}\{#MyAppName}; Filename: "{app}\{#MyAppExeName}"; WorkingDir: {app}; IconFilename: {#path}; Comment: {#MyAppName}; Check: CheckError ;Name: {commondesktop}\{#MyAppName}; Filename: "{app}\{#MyAppExeName}"; WorkingDir: {app}; IconFilename: {#path}; Comment: {#MyAppName}; Check: CheckError ;Name: {group}\Удалить игру; Filename: {uninstallexe}; WorkingDir: {app}\Uninstall\; IconFilename: {app}\5.ico; Comment: Удалить игру {#MyAppName}; Check: CheckError ;Name: {group}\Настройки; Filename: {app}\ConfigTool.exe; WorkingDir: {app}; IconFilename: {#path}; Comment: Настройки игры; Check: CheckError ;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; [Tasks] Name: Icon; Description: Дополнительные задачи: Name: Icon/desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: Icon/quicklaunchicon; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked ;Name: Icon; Description: Создание ярлыков: ;Name: Icon/desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked ;Name: Icon/quicklaunchicon; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: Redist; Description: Дополнительное программное обеспечение: Name: Redist\DirectXCheck; Description: Обновить DirectX; Flags: unchecked ;Name: Redist\PhysXCheck; Description: Установить Nvidia PhysX; Flags: unchecked Name: Redist\VCCheck; Description: Установить Microsoft Visual C++ Redist; Flags: unchecked ;Name: Redist\gfwliveCheck; Description: Установить Games for Windows Live; Flags: unchecked [Run] Filename: {src}\Redist\vcredist_x86.exe; Parameters: /q; StatusMsg: Устанавливаем Microsoft Visual C++ Redist...; Flags: skipifdoesntexist; Tasks: Redist\VCCheck; Check: CheckError and not IsWin64 Filename: {src}\Redist\vcredist_x64.exe; Parameters: /q; StatusMsg: Устанавливаем Microsoft Visual C++ Redist...; Flags: skipifdoesntexist; Tasks: Redist\VCCheck; Check: CheckError and IsWin64 ;Filename: {src}\Redist\PhysX.exe; Parameters: /qn; StatusMsg: Устанавливаем Nvidia PhysX...; Flags: skipifdoesntexist; Tasks: Redist\PhysXCheck; Check: CheckError Filename: {src}\Redist\DirectX.exe; StatusMsg: Обновляем DirectX...; Flags: skipifdoesntexist; Tasks: Redist\DirectXCheck; Check: CheckError ;Filename: {src}\Redist\gfwlive.exe; StatusMsg: Устанавливаем Games for Windows Live...; Flags: skipifdoesntexist; Tasks: Redist\gfwliveCheck; Check: CheckError [UninstallDelete] Type: filesandordirs; Name: {app} |