I try to install a program (.exe)in the NSIS Script here is my code
;Install PDFXVIEWER
SetOutPath "$INSTDIR\PdfViewer"
File /r "file\PdfViewer\PDFXV.exe"
ExecWait 'msiexec /i "file\PdfViewer\PDFXV.exe" /VERYSILENT /NORESTART /DIR="$INSTDIR\PdfViewer"'
However, during the installation i got a windows installer popup ! :
https://i.stack.imgur.com/g8Gdh.jpg
and the program is not installed at all.
Can anyone point me my error??
thanks
msiexec is for installing .msi files (And remember to use full paths). You should be able to execute the .exe file normally…