I have some difficulties to execute a command line during my installation process:
This is my code which should extract the contents from the Data.7z file in the $INSTDIR directory:
In the log appear:
SetOutPath "$PLUGINSDIR"
File 7za.exe
SetOutPath "$INSTDIR"
nsExec::ExecToLog '”$PLUGINSDIR\7za.exe” x “$EXEDIR\Data.7z” -y -o”$INSTDIR\”'
Delete "$PLUGINSDIR\7za.exe"
But it do nothing and no error message appear.Exécution : ”C:\DOCUME~1\_SUPER~1\LOCALS~1\Temp\nsq112.tmp\7za.exe” x “E:\Data.7z” -y -o”C:\Program Files\MonApp\”
If I try to use ExecWait instead:
Nothing appear in the logExecWait '”$PLUGINSDIR\7za.exe” x “$EXEDIR\Data.7z” -y -o”$INSTDIR\”'
and if, manually, I enter this command in a shell, it work...
Is it normal that this line does not function either?
Do you know why these don't work?nsExec::ExecToLog 'dir'