I am having issues in running a batch file with certain parameters in NSIS installer.
I have followed the instructions mentioned in Executing Batch File in NSIS installer
The command i am using is
SetOutPath "$INSTDIR\64-bitRegistration"
ExpandEnvStrings $0 %COMSPEC%
ExecWait '"$0" "$INSTDIR\64-bitRegistration\EIQServersRegistration.cmd" "$INSTDIR\Param1" "$INSTDIR\Param2" "$INSTDIR\Param3" "$INSTDIR\Param4" "$INSTDIR\Param5"'
I using .cmd instead of .bat. I have quoted the parameters for ExecWait.
What I am facing is it opens the command prompts and do nothing. The command prompt is not taking the batch file and it does not execute the batch file.
Can someone point out what is that I am missing.