Chuvakstepan
Всеравно неработает из обновленым может я неправильно состыковал скины
[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"
[_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=1.1.1.0
CreateUninstallRegKey=true
ShowUndisplayableLanguages=false
WizardImageBackColor=clLime
UpdateUninstallLogAppName=true
WindowVisible=yes
UninstallDisplayIcon=c:\Program Files\Counter Strike - Source\unins000.exe
DisableReadyPage=true
DisableStartupPrompt=true
VersionInfoCompany=Plusnet
VersionInfoDescription=Установка Counter-Strike 1.6
;и по желанию
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[CustomMessages]
BeveledOnClick=http://192.168.77.48/
;Ссылка, на которую переходит пользователь при нажатии на BeveledLabel
WelcomeLabel1=Вас приветствует Мастер установки
[Messages]
BeveledLabel=Собрал Вик
[Files]
Source: ..\..\Games\hl.exe; DestDir: {app}; Flags: ignoreversion
Source: C:\My_Image.bmp; DestDir: {tmp}; Flags: dontcopy
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKU; SubKey: S-1-5-21-1214440339-1202660629-1801674531-1003\Software\Valve\Half-Life\Settings; ValueType: string; ValueName: ValveKey; ValueData: 5RP2E-EPH3K-BR3LG-KMGTE-FN8PY
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Arial,0; ValueData: Arial,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Courier New,0; ValueData: Courier New,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Verdana,0; ValueData: Verdana,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Times New Roman,0; ValueData: Times New Roman,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Tahoma,0; ValueData: Tahoma,204
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1250; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1251; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1252; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1253; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1254; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1255; ValueData: c_1251.nls
[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}\codename.ico
Name: {group}\{cm:UninstallProgram,Counter-Strike 1.6}; Filename: {uninstallexe}; IconFileName: c:\Program Files\Counter Strike - Source\unins000.exe
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}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe
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}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe
Name: {group}\Античит Норма; Filename: {app}\Norma_AntiCheat\myAC.exe; IconFileName: {app}\Norma_AntiCheat\myAC.exe
Name: {commondesktop}\Посетить сайт Вик; Filename: http://192.168.77.48/; IconFileName: {app}\codename.ico
[Run]
Filename: {app}\Russian.exe; Description: {cm:LaunchProgram,русификатор}; Flags: nowait postinstall skipifsilent
[Code]
procedure InitializeWizard();
begin
InitializeSkin
end;
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
width,height: Integer;
BackgroundBitmapImage: TBitmapImage;
s: string;
begin
ExtractTemporaryFile('My_Image.bmp');
s:=ExpandConstant('{tmp}')+'\My_Image.bmp';
WizardForm.Position:=poScreenCenter;
MainForm.BORDERSTYLE:=bsNone;
width:=GetSystemMetrics(0);
height:=GetSystemMetrics(1);
MainForm.Width:=width;
MainForm.Height:=height;
width:=MainForm.ClientWidth;
height:=MainForm.ClientHeight;
MainForm.Left := 0;
MainForm.Top := 0;
BackgroundBitmapImage := TBitmapImage.Create(MainForm);
BackgroundBitmapImage.Bitmap.LoadFromFile(s);
BackgroundBitmapImage.Align := alClient;
BackgroundBitmapImage.Parent := MainForm;
BackgroundBitmapImage.Stretch:=True;
MainForm.Visible:=True;
end;
[/more]
Всеравно неработает из обновленым может я неправильно состыковал скины
[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"
[_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=1.1.1.0
CreateUninstallRegKey=true
ShowUndisplayableLanguages=false
WizardImageBackColor=clLime
UpdateUninstallLogAppName=true
WindowVisible=yes
UninstallDisplayIcon=c:\Program Files\Counter Strike - Source\unins000.exe
DisableReadyPage=true
DisableStartupPrompt=true
VersionInfoCompany=Plusnet
VersionInfoDescription=Установка Counter-Strike 1.6
;и по желанию
[Languages]
Name: russian; MessagesFile: compiler:Languages\Russian.isl
[CustomMessages]
BeveledOnClick=http://192.168.77.48/
;Ссылка, на которую переходит пользователь при нажатии на BeveledLabel
WelcomeLabel1=Вас приветствует Мастер установки
[Messages]
BeveledLabel=Собрал Вик
[Files]
Source: ..\..\Games\hl.exe; DestDir: {app}; Flags: ignoreversion
Source: C:\My_Image.bmp; DestDir: {tmp}; Flags: dontcopy
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKU; SubKey: S-1-5-21-1214440339-1202660629-1801674531-1003\Software\Valve\Half-Life\Settings; ValueType: string; ValueName: ValveKey; ValueData: 5RP2E-EPH3K-BR3LG-KMGTE-FN8PY
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Arial,0; ValueData: Arial,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Courier New,0; ValueData: Courier New,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Verdana,0; ValueData: Verdana,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Times New Roman,0; ValueData: Times New Roman,204
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes; ValueType: string; ValueName: Tahoma,0; ValueData: Tahoma,204
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1250; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1251; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1252; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1253; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1254; ValueData: c_1251.nls
Root: HKLM; SubKey: SYSTEM\CurrentControlSet\Control\Nls\CodePage; ValueType: string; ValueName: 1255; ValueData: c_1251.nls
[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}\codename.ico
Name: {group}\{cm:UninstallProgram,Counter-Strike 1.6}; Filename: {uninstallexe}; IconFileName: c:\Program Files\Counter Strike - Source\unins000.exe
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}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe
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}\Plusnet_AntiCheat\AntiCheat_v3.4.4.exe
Name: {group}\Античит Норма; Filename: {app}\Norma_AntiCheat\myAC.exe; IconFileName: {app}\Norma_AntiCheat\myAC.exe
Name: {commondesktop}\Посетить сайт Вик; Filename: http://192.168.77.48/; IconFileName: {app}\codename.ico
[Run]
Filename: {app}\Russian.exe; Description: {cm:LaunchProgram,русификатор}; Flags: nowait postinstall skipifsilent
[Code]
procedure InitializeWizard();
begin
InitializeSkin
end;
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
width,height: Integer;
BackgroundBitmapImage: TBitmapImage;
s: string;
begin
ExtractTemporaryFile('My_Image.bmp');
s:=ExpandConstant('{tmp}')+'\My_Image.bmp';
WizardForm.Position:=poScreenCenter;
MainForm.BORDERSTYLE:=bsNone;
width:=GetSystemMetrics(0);
height:=GetSystemMetrics(1);
MainForm.Width:=width;
MainForm.Height:=height;
width:=MainForm.ClientWidth;
height:=MainForm.ClientHeight;
MainForm.Left := 0;
MainForm.Top := 0;
BackgroundBitmapImage := TBitmapImage.Create(MainForm);
BackgroundBitmapImage.Bitmap.LoadFromFile(s);
BackgroundBitmapImage.Align := alClient;
BackgroundBitmapImage.Parent := MainForm;
BackgroundBitmapImage.Stretch:=True;
MainForm.Visible:=True;
end;
[/more]