|
|
|
#1
|
||||
|
||||
|
guyz, the directX and vcredist installation, not working after the game installed !!!
no window for them appeared !! i have put the files in the ouptu directory of the script and put the "dxseupt.exe" in [Output/DirectX] but, nothing happened !! ----------------------------------------------------------------------- plus, how i can put a registery file in the script ! ----------------------------------------------------------------------- PS: how i can make the #AppURL auto opened once the installation got completed ? same like blackbox
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Example: DX is in Folder _CommonRedist\2010\DirectX\DXSETUP.exe you have to define this correct and maby set in the script a {src} before it. Otherwise it's a bug. |
|
#3
|
|||
|
|||
|
Quote:
![]() 1)Open Browser After Installation Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
ErrCode: integer;
begin
if (CurStep=ssDone) then
begin
ShellExec('open', 'http://google.it/', '', '', SW_SHOW, ewNoWait, ErrCode);
end;
end;
Code:
Title Compressor echo off&color e :start cls set choice1= set EX=-xunins* set Popt=--password= set PASS=12345 set Option=a -ep1 -r -ed -ld -w.\ set Method=-msrep+lzma:a2:mfbt4:d256m:fb128:mc1000:lc8 set arc= set retry= echo. set /p choice1=PathDir: if "%choice1%"=="" goto start cls echo. :data1 set arc=data.arc if exist .\DISK_1\%arc% goto end arc %Option% %Method% %Popt%%PASS% [email protected] %EX% -dp"%choice1%" .\DISK_1\%arc% if ERRORLEVEL 1 goto arcfail :end echo. echo. pause goto EOF :arcfail echo. echo.WARNING: FreeArc returns an error in archive %arc%! set /p retry=Do you wish to retry [Y/N]: if /I "%retry%"=="Y" goto %arc:~0,5% exit :EOF Code:
[Tasks]
Name: DX; Description: Install Microsoft DirectX; Flags: unchecked;
Name: VC; Description: Install Microsoft Visual C++ Redist; Flags: unchecked;
[Run]
Filename: {src}\Redist\DirectX\DXSETUP.exe; Parameters: /Silent; StatusMsg: Installation Microsoft DirectX...; Flags: skipifdoesntexist; Tasks: DX; Check: CheckError
Filename: {src}\Redist\vcredist_x86.exe; Parameters: /q; StatusMsg: Installation Microsoft Visual C++ Redist...; Flags: skipifdoesntexist; Tasks: VC; Check: CheckError
Code:
[Components]
Name: "directx"; Description: "Install DirectX"
Name: "visualc"; Description: "Install Visual C++"
Name: "nvidiaphysx"; Description: "Install Nvidia Physx"
Name: "framework"; Description: "Install Framework"
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'),'/q',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);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'),'/q',false);
end;
end;
if (CurStep=ssInstall) and ISDoneError then begin
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
end;
end;
Screenshot Compressor system and The End
Last edited by Dante1995; 28-12-2014 at 20:54. |
| The Following User Says Thank You to Dante1995 For This Useful Post: | ||
Gehrman (17-01-2023) | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |