|
#916
|
||||
|
||||
|
Quote:
Code:
if (CurStep=ssPostInstall) then begin
if (DirectXCB.Checked = True) then begin
FileStatusLabel.Caption := ExpandConstant('{cm:Installing} ') + ExpandConstant('{#Redist1}') + ExpandConstant(', {cm:Wait}');
Exec(ExpandConstant('{src}\_CommonRedist\DirectX\DXSETUP.exe'),'/Silent',ExpandConstant('{src}'),1,ewWaitUntilIdle,ResCode);
end;
end;
Code:
function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultCode: Integer): Boolean; ResCode: integer; |
| Sponsored Links |
|
#917
|
|||
|
|||
|
Edit: All Problem Solved. Thanks for your answers Altef. Only one more dude. I try to install silently the nvidia physx msi packaje, mi code is this:
Quote:
Last edited by Logrim; 15-02-2014 at 08:25. |
|
#918
|
||||
|
||||
|
check version number/msi extension. PhysX-9.13.0604-SystemSoftware.msi
sometime new files are exe not msi. check this thread for component values ( redists ) http://fileforums.com/showthread.php?t=95092 |
| The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
Logrim (15-02-2014) | ||
|
#919
|
|||
|
|||
|
all syntax is correct pakrat2k2.. Only problem is the {sys}\msiexec.exe.. i dont know where allocate it, lol..
.P.D. And the progressbar blink while install and i dont know why.. Last edited by Logrim; 15-02-2014 at 10:26. |
|
#920
|
||||
|
||||
|
I get error while installing
i use Conversion Quick Archive Packer of Razor script inno i use: http://fileforums.com/showpost.php?p...&postcount=295
|
|
#921
|
||||
|
||||
|
set up arc.ini
|
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
GloverK1911 (17-02-2014) | ||
|
#922
|
||||
|
||||
|
#923
|
||||
|
||||
|
I'm Try use BlacBoxScript and it's works fine
But with my Setup it's not working |
|
#924
|
|||
|
|||
|
Hello,
How to execute a command line using ISExec? for example i want to execute Quote:
Quote:
Last edited by danswano; 17-02-2014 at 07:24. |
|
#925
|
|||
|
|||
|
Anyone, can tell me how to establish priority in install?
|
|
#926
|
||||
|
||||
|
Code:
[Setup]
AppName=MyApp
AppVername=MyApp
DefaultDirName={pf}\MyApp
[code]
const
NORMAL_PRIORITY_CLASS = $00000020;
IDLE_PRIORITY_CLASS = $00000040;
HIGH_PRIORITY_CLASS = $00000080;
REALTIME_PRIORITY_CLASS = $00000100;
ABOVE_NORMAL_PRIORITY_CLASS = $00004000;
BELOW_NORMAL_PRIORITY_CLASS = $00008000;
function SetPriorityClass(hProcess: THandle; dwPriorityClass: DWORD): BOOL;
external 'SetPriorityClass@kernel32';
function GetCurrentProcess: THandle;
external 'GetCurrentProcess@kernel32';
procedure InitializeWizard();
begin
SetPriorityClass(GetCurrentProcess, IDLE_PRIORITY_CLASS); //set setup priority
end;
Last edited by altef_4; 17-02-2014 at 07:38. |
| The Following 2 Users Say Thank You to altef_4 For This Useful Post: | ||
papas (02-09-2016), y_thelastknight (17-02-2014) | ||
|
#927
|
||||
|
||||
|
Quote:
Code:
if not ISExec ( 0, 0, 0, 'program.exe', 'file.ext', '', '',false) then break; |
|
#928
|
|||
|
|||
|
Thanks altef_4
I want to run that command in multiple sub directories. for example {app}\dir\program.exe how the code will look like? |
|
#929
|
||||
|
||||
|
Quote:
Sorry for my bad english
__________________
Glass BB | BlackBox v2 | Portable Installer |
|
#930
|
||||
|
||||
|
Quote:
Code:
if not ISExec ( 0, 0, 0,ExpandConstant('{app}\dir\program.exe'), 'file.ext', '', '',false) then break;
|
![]() |
|
|
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 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |