View Single Post
  #915  
Old 14-02-2014, 09:49
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
One question.. i try to execute directx in ssPostInstall.. my code for this is:

Quote:
procedure CurStepChanged(CurStep: TSetupStep);
begin
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\D XSETUP.exe'),'/Silent',false);
but return invalid numbers of parameters error.. i'm lost,, what is wrong? thanks.
end;
Reply With Quote