|
|
|
#1
|
|||
|
|||
|
@mrmustatza1
No sorry. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
support internal compresion?
|
|
#3
|
|||
|
|||
|
@thedarkman
Not support internal compression. Because giving some problems. |
|
#4
|
|||
|
|||
|
Thank you Kurutucu for update inno script 1.3
but i have some problem in script Everything is ok i copy directx in folder Redist\directx and c++ i want after finish Installe .. setup directx and c++ i setup game but directx and c++ after finish don't installer He tell me installe but it is not installe ![]() any buddy can be help me ?? |
|
#5
|
|||
|
|||
|
Problem Decompress
![]() Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-1.srep'),ExpandConstant(' {app}\Setup-1.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-1.pcf'), ExpandConstant('{app}\Setup-1.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-2.srep'),ExpandConstant(' {app}\Setup-2.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-2.pcf'), ExpandConstant('{app}\Setup-2.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-3.srep'),ExpandConstant(' {app}\Setup-3.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-3.pcf'), ExpandConstant('{app}\Setup-3.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
|
|
#6
|
|||
|
|||
|
Hep me
I use freearc and create 2 file setup-1.bin setup-2,bin and i change Archives,ini Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
|
|
#7
|
|||
|
|||
|
Quote:
Archive which is shared in first page of this topic as an attachment includes Kurutucu Compressor. And secondly, change archives.ini like this: Code:
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
If you encounter the same error inspite of the fact that you use my solution, change archives.ini like this: Code:
if not ShowChangeDiskWindow ('Please Insert Disk 1 To Continue..', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
|
|
#8
|
|||
|
|||
|
Quote:
And i change compress.bat Work Code:
@echo Working Arc+Precomp+Srep+Arc again arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*" pause Code:
@echo Working Arc+Precomp+Srep+Arc again arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*" arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data2\*" pause |
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
you need both Setup-1.bin and Setup-2.bin file put the {src} that means where Setup.exe is create.
|
|
#11
|
|||
|
|||
|
@adiga
1. Check DirectX and Visual C++ boxes. ![]() 2. Open main.iss. Go line 737. Check folder and filenames. Code:
if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP.exe'),'/silent',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.exe'),'/q',false);
Code:
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP.exe'),'/silent',false);
|
|
#12
|
|||
|
|||
|
oh it work thanx man ..
![]() hmmmm how can i setup (2) file like setup-1.bin and setup-2.bin Where i put "setup-2.bin" in the script pliiiiiz ^__^ |
|
#13
|
|||
|
|||
|
@adiga
Go line 699. Change it ExpandConstant('{src}\setup-1.bin') to ExpandConstant('{src}\*.bin')
|
|
#14
|
|||
|
|||
|
thanx man
1-i wanna make 2 dvd's setup-1.bin in dvd1 and setup-2.bin in dvd2 how can i edit that in script !! ........ 2- how can i make logo.bmp Button in setup when i click for logo open my website ^__^ |
|
#15
|
||||
|
||||
|
Quote:
Code:
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
Quote:
Code:
procedure InitializeWizard1(); Code:
WizardForm.WizardBitmapImage2.Cursor:=crHand; WizardForm.WizardBitmapImage2.OnClick:=@LogoLabelOnClick; Code:
procedure LogoLabelOnClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('open', 'https://www.google.lk/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;
Code:
procedure LogoLabelOnClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('open', 'https://www.google.lk/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;
procedure InitializeWizard1();
begin
WizardForm.WizardBitmapImage2.Cursor:=crHand;
WizardForm.WizardBitmapImage2.OnClick:=@LogoLabelOnClick;
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |