Comment 3 for bug 719905

Revision history for this message
GEM (nimp3) wrote :

Hi,
I found the problem,
following Nsis documentation :
http://nsis.sourceforge.net/Docs/Chapter3.html :

/D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported.

in setup.nsi used to build allinone, in commands, there is quotes used with option /D for the path :
line 244 ExecWait '"$TEMP\${OPENERP_SERVER_SETUP}" /S /D="$INSTDIR\Server"'
line 264 ExecWait '"$TEMP\${OPENERP_CLIENT_SETUP}" /S /D="$INSTDIR\Client"'
line 271 ExecWait '"$TEMP\${OPENERP_WEB_SETUP}" /S /D="$INSTDIR\Web"'

just remove quotes and path choose in installation interface, is the real install path for installation :

ExecWait '"$TEMP\${OPENERP_SERVER_SETUP}" /S /D=$INSTDIR\Server'
ExecWait '"$TEMP\${OPENERP_WEB_SETUP}" /S /D=$INSTDIR\Web'
ExecWait '"$TEMP\${OPENERP_CLIENT_SETUP}" /S /D=$INSTDIR\Client'

Bye