Смотрите видео ниже, чтобы узнать, как установить наш сайт в качестве веб-приложения на домашнем экране.
Примечание: Эта возможность может быть недоступна в некоторых браузерах.
procedure CurStepChanged(CurStep: TSetupStep);
var
Version: TWindowsVersion;
begin
if CurStep = ssInstall then begin
GetWindowsVersionEx(Version);
if (Version.Major = 6) and (Version.Minor = 1) then //windows 7
begin
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data-7.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
end;
if (Version.Major = 5) and (Version.Minor = 1) then //windows xp
begin
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data-xp.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
end;
end;
end;
[/source][/SPOILER]
Куда путь?спс
Добавлено:
TERRAN, а в хр не знаешь как фаллоуте путь идет?
Прочитать справку к исдону. там прямо по русски написано, что при тестовом прогоне распаковываются вообще все компоненты, независимо от выбора.
А про ошибки - нужно видеть скрипт, файл arc.ini и строчку упаковки.
if not ISArcExtract ( 1, 0, ExpandConstant('{src}\G1.bin'), ExpandConstant('{app}\G1'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 2, 0, ExpandConstant('{src}\G2.bin'), ExpandConstant('{app}\G2'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;