Exec not working in NSIS installer -


i new nsis trying execute executable while installation similar pre request. tried below code copies exe installation path not executing it.

section "example" example   setoutpath "$instdir"   file "setup.exe"   exec "$instdir\setup.exe"   bringtofront sectionend  

the answer seki correct, i'd add correct syntax exec/execwait always exec '"c:\path\app.exe" param1 "par am2" param3'

parameters of course optional path app should quoted, not because in case $instdir contain spaces @ least on win9x fail no matter if don't quote (according nsis manual)

if spaces/lack of quotes not issue there couple of other things might want into:

  • $outdir working directory new process (setoutpath sets this)
  • missing dll's etc (check process monitor)

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -