[wpkg-users] populate variable value from registry
Carlos R. Pasqualini
pasqualinic at fcal.uner.edu.ar
Wed May 22 21:00:31 CEST 2013
El mié, 22-05-2013 a las 08:49 +0100, Paul McGrath escribió:
> Hi Carlos,
> I've just tested it. The switch for an alternative directory is
> /DIR="%PROGRAMFILES(X86)%\maxima\"
>
> This worked for me, I also had to put a '\' after the directory 'maxima' otherwise it expanded the contents into the program files folder itself.
>
> %SOFTWARE%\maxima\maxima-5.28.0-2.exe /SILENT /DIR="%PROGRAMFILES(X86)%\maxima\" /MERGETASKS=!desktopicon
>
> Paul
>
Thanks Paul!
That's exactly what i have executed, indeed the expanded command from
the WPKG Log is (as is, in spanish):
"\\capibara\repositorio\software\academico\maxima
\maxima-5.28.0-2.exe" /VERYSILENT /SUPPRESSMSGBOXES /D="C:\Archivos de
programa\maxima" /MERGETASKS=!desktopicon /LANG=es
I'm testing on a WinXP 32bit VM and it is not working reliable, it seems
to fail on some point and silently choose de default install dir with
this version. You can see that i am using that command in the previously
posted package definition.
That's why i tough to save the install dir on a registry value (wich was
my question).
Thanks!
More information about the wpkg-users
mailing list