View Single Post
Old 4th April 2020, 09:38   #3
ikreb
Junior Member
 
Join Date: Aug 2018
Posts: 14
Thank you for your answer. The strange is that I tried:

code:

IfFileExists $TEMP\Test-Installer\FortiClientVPNSetup_$Platform.exe 0 +2
MessageBox MB_OK "Exists."



And it shows me the MessageBox. But If I test

code:

IfFileExists $TEMP\FortiClientVPNSetup_$Platform.exe 0 +2
MessageBox MB_OK "Does not exist."



It jumps. However I tried this:

code:

DetailPrint '"Run $TEMP\Test-Installer\FortiClientVPNSetup_$Platform.exe /quiet /norestart"'
ExecWait '"$TEMP\Test-Installer\FortiClientVPNSetup_$Platform.exe" /quiet /norestart' $0
DetailPrint "$0"

DetailPrint '"Run $TEMP\Test-Installer\FortiClientVPNSetup_$Platform.exe /quiet /norestart"'
nsExec::ExecToStack '"$TEMP\Test-Installer\FortiClientVPNSetup_$Platform.exe" /quiet /norestart'
Pop $0
Pop $1
DetailPrint '"$0", "$1"'



This is the result.

1. DetailPrint -> empty
2. DetailPrint "error", ""

So sadly it still doesn't work.
ikreb is offline   Reply With Quote