[wpkg-users] %SOFTWARE% variable not resolving
Jacob A. Wyatt
jwyatt at ggc.usg.edu
Wed Dec 17 16:28:05 CET 2008
I'm having trouble with packages not installing because of the
%SOFTWARE% environment variable.
Example:
>From http://wpkg.org/Java:
<install cmd='%SOFTWARE%\jre\jre-6u11-windows-i586-p.exe /s IEXPLORER=1
MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0
AUTOUPDATECHECK=0' />
Does NOT work, but...
<install cmd='%comspec% /c %SOFTWARE%\jre\jre-6u11-windows-i586-p.exe /s
IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0
AUTOUPDATECHECK=0' />
Works!
Just adding %comspec% /c causes the %SOFTWARE% variable to expand where
it otherwise isn't. Weird. I'm working with a network that someone
else set up and I assume this is not wpkg's fault, but what could it be?
Jacob Wyatt
Associate Enterprise Systems Administrator
ex. 5301
More information about the wpkg-users
mailing list