I have built an nsis installer with V2.46
I want to run an exe present in the installer via command prompt with some aruguments.
The command to be executed in cmd is " setup /qb /AcceptLicenses yes "
Is there a way to do this ?
Run exe via Command prompt
5 posts
Use Exec or ExecWait. Also, use a full path where you can, like "$INSTDIR\setup.exe /qb /AcceptLicenses yes".
Thanks a lot.That worked as expected.
Actually he should better be using:Originally Posted by JasonFriday13 View PostUse Exec or ExecWait. Also, use a full path where you can, like "$INSTDIR\setup.exe /qb /AcceptLicenses yes".
ExecWait '"$INSTDIR\setup.exe" /qb /AcceptLicenses yes'
Whoops, forgot to add extra quotes, thanks.Originally Posted by LoRd_MuldeR View PostActually he should better be using:
ExecWait '"$INSTDIR\setup.exe" /qb /AcceptLicenses yes'