[wpkg-users] populate variable value from registry

Paul McGrath J.P.McGrath at leeds.ac.uk
Wed May 22 21:38:24 CEST 2013


Just to add.  I tested this on Win7 32bit and 64 bit was well as Windows XP and it worked correctly on all of them.
________________________________________
From: wpkg-users-bounces at lists.wpkg.org [wpkg-users-bounces at lists.wpkg.org] On Behalf Of Paul McGrath [J.P.McGrath at leeds.ac.uk]
Sent: 22 May 2013 20:35
To: Carlos R. Pasqualini; wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] populate variable value from registry

You bit from the log shows:
 /D="C:\Archivos de programa\maxima"

The directory options is NOT '/D' .  It is /DIR
THIS IS WRONG.  I wrote:
The switch for an alternative directory is /DIR="%PROGRAMFILES(X86)%\maxima\"

You are welcome!

Paul
________________________________________
From: wpkg-users-bounces at lists.wpkg.org [wpkg-users-bounces at lists.wpkg.org] On Behalf Of Carlos R. Pasqualini [pasqualinic at fcal.uner.edu.ar]
Sent: 22 May 2013 20:00
To: wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] populate variable value from registry

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!



-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list