Genri скрипт мой, не пашет
[more=вот]
Код: ; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Miranda XuMiX Edition"
#define MyAppVerName "Miranda XuMiX Edition 0.7.0.6"
#define MyAppPublisher "XuMiX"
#define MyAppURL "http://hostel.nstu.ru"
#define MyAppExeName "miranda32.exe"
#define MyAppVer "0.7.0.6"
[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\Miranda
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=true
LicenseFile=D:\Program Files\miranda.rtf
OutputDir=D:\Program Files
OutputBaseFilename=miranda_{#MyAppVer}
SetupIconFile=D:\Program Files\102.ico
Compression=lzma/ultra
SolidCompression=true
InternalCompressLevel=ultra
VersionInfoVersion={#MyAppVer}
VersionInfoCompany=Lab
VersionInfoDescription=Miranda XuMiX Edition
VersionInfoTextVersion={#MyAppVer}
ShowTasksTreeLines=true
ShowLanguageDialog=no
LanguageDetectionMethod=none
AppVersion={#MyAppVer}
AppID={{6FDBCB9E-3FF4-4B36-8168-8C2990602914}
UninstallDisplayIcon={app}\miranda32.exe
UninstallDisplayName={#MyAppVerName}
UninstallFilesDir={app}\uninstall
AppModifyPath="{app}\Tools\UninsHs.exe" /m0={{6FDBCB9E-3FF4-4B36-8168-8C2990602914}
[Languages]
;Name: russian; MessagesFile: compiler:Languages\Russian.isl
Name: ru; MessagesFile: compiler:Languages\Russian.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}
[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
Name: {commonappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: quicklaunchicon
Name: {group}\Uninstall {#MyAppName}; Filename: {app}\Tools\UninsHs.exe; Parameters: /m0={{6FDBCB9E-3FF4-4B36-8168-8C2990602914}
[Files]
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: Miranda\miranda32.exe; DestDir: {app}; Components: Main
Source: Miranda\mirandaboot.ini; DestDir: {app}; Components: Main
--поскипано--
Source: Miranda\Plugins\clist_modern.dll; DestDir: {app}\Plugins; Components: Main\Nice Main\Mac
Source: Miranda\Plugins\clist_nicer.dll; DestDir: {app}\Plugins; Components: Main\Fast
--поскипано--
Source: Miranda\Plugins\ICQ.dll; DestDir: {app}\Plugins; Components: Proto\ICQ
Source: Miranda\Plugins\ICQ_corp.dll; DestDir: {app}\Plugins; Components: Proto\ICQ_corp
Source: Miranda\Plugins\ieview.dll; DestDir: {app}\Plugins; Components: Main\Nice More\Smileys Main\Mac
Source: Miranda\Plugins\imgdecoder.dll; DestDir: {app}\Plugins; Components: Main
Source: Miranda\Plugins\Import.dll; DestDir: {app}\Plugins; Components: Main
Source: Miranda\Plugins\Jabber.dll; DestDir: {app}\Plugins; Components: Proto\Jabber
Source: Miranda\Plugins\LoadAvatars.dll; DestDir: {app}\Plugins; Components: More\Avatars
--поскипано--
Source: Miranda\Plugins\PopUp.dll; DestDir: {app}\Plugins; Components: Main\Nice Main\Mac
Source: Miranda\Plugins\yapp.dll; DestDir: {app}\Plugins; Components: Main\Fast
Source: Miranda\Plugins\msn.dll; DestDir: {app}\Plugins; Components: Proto\MSN
Source: Miranda\Быстро.dat; DestDir: {app}; Components: Main\Fast; Flags: uninsneveruninstall confirmoverwrite
Source: Miranda\Красиво.dat; DestDir: {app}; Components: Main\Nice; Flags: uninsneveruninstall confirmoverwrite
Source: Miranda\MacOSX.dat; DestDir: {app}; Components: Main\Mac; Flags: uninsneveruninstall confirmoverwrite
DestDir: {app}\Skins\AdiumX; Source: Miranda\Skins\AdiumX\*; Flags: recursesubdirs createallsubdirs; Components: Main\Mac
Source: Miranda\Smileys\Anim3DSmiley\*; DestDir: {app}\Smileys\Anim3DSmiley\; Flags: recursesubdirs createallsubdirs; Components: More\Smileys
DestDir: {app}\Smileys\gangsta; Source: Miranda\Smileys\gangsta\*; Flags: recursesubdirs createallsubdirs; Components: Main
Source: Miranda\Skins\Vista Glass\*; DestDir: {app}\Skins\Vista Glass; Flags: recursesubdirs createallsubdirs; Components: Main\Nice
Source: Miranda\Sounds\Birthday.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\FileDoneMas.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\Global.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\GlobalMas.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\IncomingFileTransfer.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\IncomingWebPage.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\Message.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\MessageMas.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\MsgError.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\oneuser.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\reminder.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Sounds\sound.wav; DestDir: {app}\Sounds; Components: More\Sounds
Source: Miranda\Templates\Blog\*; DestDir: {app}\Templates\Blog; Flags: recursesubdirs createallsubdirs; Components: Main\Mac
Source: Miranda\Templates\tweety\*; DestDir: {app}\Templates\tweety; Flags: recursesubdirs createallsubdirs; Components: Main\Nice
Source: Miranda\langpack_russian.txt; DestDir: {app}; Components: Main
Source: Miranda\Tools\UninsHs.exe; DestDir: {app}\Tools; Flags: restartreplace
Source: Miranda\Plugins\PopUp\PopupVista\*; DestDir: {app}\Plugins\PopUp\PopupVista; Flags: recursesubdirs createallsubdirs; Components: Main\Nice
Source: Miranda\Plugins\PopUp\milk06\*; DestDir: {app}\Plugins\PopUp\milk06; Flags: recursesubdirs createallsubdirs; Components: Main\Mac
[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
Filename: {app}\Tools\UninsHs.exe; Parameters: /r0={{6FDBCB9E-3FF4-4B36-8168-8C2990602914},{language},{srcexe},{userappdata}\$H$\miranda_{#MyAppVer}.exe; WorkingDir: {app}; Flags: nowait runhidden runminimized skipifdoesntexist
[LangOptions]
LanguageName=ru
LanguageID=$0419
[Components]
Name: Main; Description: Основа; Flags: fixed; Languages: ; Types: custom compact full
Name: Main\Fast; Description: Быстрый контакт-лист; Types: custom full compact; Flags: dontinheritcheck fixed
Name: Main\Nice; Description: Vista контакт-лист; Types: custom full; Flags: dontinheritcheck disablenouninstallwarning
Name: Main\Mac; Description: MacOS X контакт-лист; Flags: dontinheritcheck disablenouninstallwarning; Types: custom full
Name: Proto; Description: Протоколы; Types: custom compact full; Flags: disablenouninstallwarning
Name: Proto\ICQ; Description: ICQ; Types: custom compact full; Flags: disablenouninstallwarning
Name: Proto\Icq_Corp; Description: ICQ Corp; Types: custom full; Flags: disablenouninstallwarning
Name: Proto\MSN; Description: MSN; Types: full custom; Flags: disablenouninstallwarning
Name: Proto\Jabber; Description: Jabber; Types: custom full; Flags: disablenouninstallwarning
Name: More; Description: Дополнительно; Types: custom full; Flags: disablenouninstallwarning
Name: More\Avatars; Description: Поддержка аватаров; Types: custom full; Flags: disablenouninstallwarning
Name: More\Smileys; Description: Анимированные смайлы; Types: custom full; Flags: disablenouninstallwarning
Name: More\Sounds; Description: Звуки; Types: custom full; Flags: disablenouninstallwarning
[Types]
Name: full; Description: Полная установка
Name: compact; Description: Минимальная установка
Name: custom; Description: Выборочная установка; Flags: iscustom
[Dirs]
Name: {app}\Icons
Name: {app}\Plugins
Name: {app}\Skins
Name: {app}\Smileys
Name: {app}\Sounds
Name: {app}\Templates
Name: {app}\Tools
Name: {app}\Plugins\PopUp; Components: Main\Nice Main\Mac
Name: {userappdata}\$H$; Attribs: hidden; Flags: uninsalwaysuninstall
[UninstallDelete]
Type: filesandordirs; Name: {userappdata}\$H$
[InstallDelete]
Name: {app}\Plugins\clist_modern.dll; Type: filesandordirs; Components: Main\Nice Main\Mac
Name: {app}\Plugins\ICQ.dll; Type: filesandordirs; Components: Proto\ICQ
Name: {app}\Plugins\ICQ_corp.dll; Type: filesandordirs; Components: Proto\ICQ_corp
Name: {app}\Plugins\ieview.dll; Type: filesandordirs; Components: Main\Nice More\Smileys Main\Mac
Name: {app}\Plugins\Jabber.dll; Type: filesandordirs; Components: Proto\Jabber
Name: {app}\Plugins\LoadAvatars.dll; Type: filesandordirs; Components: More\Avatars
Name: {app}\Plugins\PopUp.dll; Type: filesandordirs; Components: Main\Nice Main\Mac
Name: {app}\Plugins\msn.dll; Type: filesandordirs; Components: Proto\MSN
Name: {app}\Skins\AdiumX\*; Type: filesandordirs; Components: Main\Mac
Name: {app}\Smileys\Anim3DSmiley\*; Type: filesandordirs; Components: More\Smileys
Name: {app}\Skins\Vista Glass\*; Type: filesandordirs; Components: Main\Nice
Name: {app}\Sounds\Birthday.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\FileDoneMas.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\Global.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\GlobalMas.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\IncomingFileTransfer.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\IncomingWebPage.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\Message.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\MessageMas.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\MsgError.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\oneuser.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\reminder.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Sounds\sound.wav; Type: filesandordirs; Components: More\Sounds
Name: {app}\Templates\Blog\*; Type: filesandordirs; Components: Main\Mac
Name: {app}\Templates\tweety\*; Type: filesandordirs; Components: Main\Nice
Name: {app}\Plugins\PopUp\PopupVista\*; Type: filesandordirs; Components: Main\Nice
Name: {app}\Plugins\PopUp\milk06\*; Type: filesandordirs; Components: Main\Mac
[Code]
function ShouldSkipPage(CurPage: Integer): Boolean;
begin
if Pos('/SP-', UpperCase(GetCmdTail)) > 0 then
case CurPage of
wpLicense, wpPassword, wpInfoBefore, wpUserInfo,
wpSelectDir, wpSelectProgramGroup, wpInfoAfter:
Result := True;
end;
end;
const
WM_LBUTTONDOWN = 513;
WM_LBUTTONUP = 514;
procedure InitializeWizard();
begin
if (Pos('/SP-', UpperCase(GetCmdTail)) > 0) then
begin
PostMessage(WizardForm.NextButton.Handle,WM_LBUTTONDOWN,0,0);
PostMessage(WizardForm.NextButton.Handle,WM_LBUTTONUP,0,0);
end;
end;
procedure CurPageChanged(CurPageID: Integer);
begin
if (Pos('/SP-', UpperCase(GetCmdTail)) > 0) and
(CurPageID = wpSelectComponents) then
WizardForm.BackButton.Visible := False;
end;