[wpkg-users] %SOFTWARE% variable
Hi, I recently discovered wpkg and i'm evaluating it. It seems to work quite good. I'm using wpkg 1.0-rc7. But... i have a problem. In the silent installs the variable %SOFTWARE% is used. I tried to set it with the wpkg-client (general/wpkg variable). But it seems not to be expanded. Is there a problem with this expansion. Second question: Where does the wpkg-client save its configuration data? Thanks for answering my questions. -- Best regards, Marc - Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable
Hi Marc Marc Cuypers wrote: > In the silent installs the variable %SOFTWARE% is used. I tried to set > it with the wpkg-client (general/wpkg variable). But it seems not to be > expanded. Is there a problem with this expansion. No, no known problem with the expansion and I use this feature daily. You just need to define the SOFTWARE variable within WPKG-client. Do not specify the "%" sign within the specification. Just add a variable called "SOFTWARE" pointing to the share used "\\server\share". So check the variable definition that you do NOT include any "%" signs and check for typos. > Second question: > Where does the wpkg-client save its configuration data? This can be answered by some WPKG client developers ;-) HTH Rainer - Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable
Hi all Gerd Ott wrote: > I also was confused, because variables defined in wpkg-client are not > expanded, if you test your installation from the command line manually > with "/debug" flag. > So I think for testing/debugging packages with variables defined in > the client one has to use the wpkg-client and set "Show" in "Script > user interface". Of course this variables are not set if you run wpkg.js manually on command line. This is due to the fact that WPKG-client exports the variables before running wpkg.js which inherits the environment then. If you want to test by running wpkg on command line just set the variables on the shell you're invoking WPKG. Or write a small batch file (wpkg.cmd): @echo off set SOFTWARE=\\server\share set SETTINGS=\\server\share2 cscript wpkg.js [whatever parameter you like] Again. WPKG does NOT read the configuration of WPKG-client to export the variables. WPKG-client prepares the environment for wpkg.js to run. If you run it manually you also need to set the variables manually. br, Rainer - Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable
Rainer Meier schrieb: (...) >> Second question: >> Where does the wpkg-client save its configuration data? > > This can be answered by some WPKG client developers ;-) Yes, this problem is currently being investigated. We're still unsure where WPKG Client stores its data. We highly suspect is may hide somewhere in the murky places of the Windows registry you don't want to go to, and so we place our bet on this location right now. -- Tomasz Chmielewski - Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable
Hi all, I also was confused, because variables defined in wpkg-client are not expanded, if you test your installation from the command line manually with "/debug" flag. So I think for testing/debugging packages with variables defined in the client one has to use the wpkg-client and set "Show" in "Script user interface". Gerd > Hi Marc > > Marc Cuypers wrote: >> In the silent installs the variable %SOFTWARE% is used. I tried to set >> it with the wpkg-client (general/wpkg variable). But it seems not to be >> expanded. Is there a problem with this expansion. > > No, no known problem with the expansion and I use this feature daily. > You just need to define the SOFTWARE variable within WPKG-client. Do not > specify the "%" sign within the specification. Just add a variable > called "SOFTWARE" pointing to the share used "\\server\share". > > So check the variable definition that you do NOT include any "%" signs > and check for typos. > >> Second question: >> Where does the wpkg-client save its configuration data? > > This can be answered by some WPKG client developers ;-) > > HTH > Rainer - Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
[wpkg-users] %SOFTWARE% variable not resolving
I'm having trouble with packages not installing because of the %SOFTWARE% environment variable. Example: >From http://wpkg.org/Java: Does NOT work, but... 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 - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable not resolving
I'm seeing this too. WPKG client 1.2.1 and wpkg.js v 1.0.2. my settings file has SOFTWARE variable declared and this worked in older version i've been using for over a year. - Original Message - From: "Jacob A. Wyatt" To: wpkg-users@lists.wpkg.org Sent: Wednesday, December 17, 2008 10:28:05 AM GMT -05:00 US/Canada Eastern Subject: [wpkg-users] %SOFTWARE% variable not resolving I'm having trouble with packages not installing because of the %SOFTWARE% environment variable. Example: >From http://wpkg.org/Java: Does NOT work, but... 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 - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable not resolving
The easy fix is to edit your profiles.xml and add: If you have multiple profiles a trick is to add a dependency: It works under , I didn't try adding the variable to the top level . That may work also. Hope that helps. -Original Message- From: W. Chris Shank [mailto:shan...@acetechgroup.com] Sent: Friday, December 19, 2008 10:49 AM To: Jacob A. Wyatt Cc: wpkg-users@lists.wpkg.org Subject: Re: [wpkg-users] %SOFTWARE% variable not resolving I'm seeing this too. WPKG client 1.2.1 and wpkg.js v 1.0.2. my settings file has SOFTWARE variable declared and this worked in older version i've been using for over a year. - Original Message - From: "Jacob A. Wyatt" To: wpkg-users@lists.wpkg.org Sent: Wednesday, December 17, 2008 10:28:05 AM GMT -05:00 US/Canada Eastern Subject: [wpkg-users] %SOFTWARE% variable not resolving I'm having trouble with packages not installing because of the %SOFTWARE% environment variable. Example: >From http://wpkg.org/Java: Does NOT work, but... 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 - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] %SOFTWARE% variable not resolving
thanks for this. i found out that the variable directive also works if placed in the individual package declaration. it more useful to put it in the profile i suppose, that way you only need it once for each profile instead of once for every package. does anyone know if the download package directive works with wpkg 1.0.2? I looks like it's being completely ignored. - Original Message - From: "Jacob A. Wyatt" To: wpkg-users@lists.wpkg.org Sent: Friday, December 19, 2008 11:06:46 AM GMT -05:00 US/Canada Eastern Subject: Re: [wpkg-users] %SOFTWARE% variable not resolving The easy fix is to edit your profiles.xml and add: If you have multiple profiles a trick is to add a dependency: It works under , I didn't try adding the variable to the top level . That may work also. Hope that helps. -Original Message- From: W. Chris Shank [mailto:shan...@acetechgroup.com] Sent: Friday, December 19, 2008 10:49 AM To: Jacob A. Wyatt Cc: wpkg-users@lists.wpkg.org Subject: Re: [wpkg-users] %SOFTWARE% variable not resolving I'm seeing this too. WPKG client 1.2.1 and wpkg.js v 1.0.2. my settings file has SOFTWARE variable declared and this worked in older version i've been using for over a year. - Original Message - From: "Jacob A. Wyatt" To: wpkg-users@lists.wpkg.org Sent: Wednesday, December 17, 2008 10:28:05 AM GMT -05:00 US/Canada Eastern Subject: [wpkg-users] %SOFTWARE% variable not resolving I'm having trouble with packages not installing because of the %SOFTWARE% environment variable. Example: >From http://wpkg.org/Java: Does NOT work, but... 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 - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users