xpack-dev-tools / windows-build-tools-xpack

A binary distribution of the Windows Build Tools (used by Eclipse Embedded CDT)
http://xpack-dev-tools.github.io/windows-build-tools-xpack/
MIT License
191 stars 59 forks source link

installer - silent installation does not respect /D option #2

Closed RuneSorensen closed 7 years ago

RuneSorensen commented 8 years ago

The following command does not install to c:\tools\gbt but rather c:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002 (the default installation directory):

gnuarmeclipse-build-tools-win64-2.6-201507152002-setup.exe /S /D=c:\tools\gbt

Perhaps this could be related to not specifying the variable InstallDir explicitly in gnuarmeclipse-build-tools.nsi?

ilg-ul commented 8 years ago

I don't know, can you suggest a fix?

ilg-ul commented 8 years ago

you are probably right regarding the missing InstallDir.

the next release will include something like

; The default installation directory.
!ifdef W64
InstallDir "$PROGRAMFILES64\${PUBLISHER}\${PRODUCT}"
!else
InstallDir "$PROGRAMFILES\${PUBLISHER}\${PRODUCT}"
!endif

hopefully this will fix the problem.

ilg-ul commented 7 years ago

could you check the latest version and confirm?