View Single Post
  #1  
Old 20-08-2022, 11:42
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,375
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road
Help and Problem in Components and ISExec

How can the Exec function work only by selecting Component 2?

Component2.Name=Patch
Component2.ItemType=CHECK
Component2.Size=1 MB
Component2.Level=0
Component2.Checked=1
Component2.Enabled=1

I tried the below function but it didn't work.
Code:
if ComponentsList.Checked[2] then
 begin    
 if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\Patch.exe'), ExpandConstant('/Dir={app}'), ExpandConstant('{tmp}'), '...',false) then break;
end;
please help.
Reply With Quote
Sponsored Links