Jeff_Applegate | 1 Feb 2011 19:30
Favicon

Package limit in a single profile

Is there a package limit for a specific profile?  What I am seeing is, as an example, in my defautl.xml I have the following:

<?xml version="1.0" encoding="UTF-8"?>

<profiles>

    <profile id="default">
        <package package-id="1" />
        <package package-id="2" />
        <package package-id="3" />
        <package package-id="4" />
        <package package-id="5" />
        <package package-id="6" />
        <package package-id="7" />
        <package package-id="8" />
        <package package-id="9" />
        <package package-id="10" />
        <package package-id="11" />
    </profile>

</profiles>

Packages 9 - 11 are not showing up in the wpkg.xml in the system32 directory.  This shows me that the last 3 packages are not being sent over to the desktop.  Could it be that after setting up the first 8 that the next packages will not be seen by the desktop?  I have seen this with XP (32bit) and Win 7 (64bit).  

Any and all help is greatly appreciated!

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_applegate <at> fws.gov
-------------------------------------------------------------------------
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
Paul McGrath | 1 Feb 2011 20:10
Picon
Favicon

Re: Package limit in a single profile

Hi Jeff,
  your problem must lie elsewhere as I have dozens of packages in a few profiles and it works fine.  Try changing
their order and see what happens.  It may be that package 8 or 9 is not completing properly and holding up the
wpkg service.
Paul
________________________________________
From: wpkg-users-bounces <at> lists.wpkg.org [wpkg-users-bounces <at> lists.wpkg.org] On Behalf Of
Jeff_Applegate <at> fws.gov [Jeff_Applegate <at> fws.gov]
Sent: 01 February 2011 18:30
To: wpkg-users <at> lists.wpkg.org
Subject: [wpkg-users] Package limit in a single profile

Is there a package limit for a specific profile?  What I am seeing is, as an example, in my defautl.xml I have
the following:

<?xml version="1.0" encoding="UTF-8"?>

<profiles>

    <profile id="default">
        <package package-id="1" />
        <package package-id="2" />
        <package package-id="3" />
        <package package-id="4" />
        <package package-id="5" />
        <package package-id="6" />
        <package package-id="7" />
        <package package-id="8" />
        <package package-id="9" />
        <package package-id="10" />
        <package package-id="11" />
    </profile>

</profiles>

Packages 9 - 11 are not showing up in the wpkg.xml in the system32 directory.  This shows me that the last 3
packages are not being sent over to the desktop.  Could it be that after setting up the first 8 that the next
packages will not be seen by the desktop?  I have seen this with XP (32bit) and Win 7 (64bit).

Any and all help is greatly appreciated!

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_applegate <at> fws.gov
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Jeff_Applegate | 1 Feb 2011 20:30
Favicon

Re: Package limit in a single profile

Hi Paul,

Thanks for the answer to that question I appreciate it.  I will be digging more into it.

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_applegate <at> fws.gov


Paul McGrath <J.P.McGrath <at> leeds.ac.uk>

02/01/2011 12:11 PM

To
"Jeff_Applegate <at> fws.gov" <Jeff_Applegate <at> fws.gov>, "wpkg-users <at> lists.wpkg.org" <wpkg-users <at> lists.wpkg.org>
cc
Subject
RE: [wpkg-users] Package limit in a single profile





Hi Jeff,
 your problem must lie elsewhere as I have dozens of packages in a few profiles and it works fine.  Try changing their order and see what happens.  It may be that package 8 or 9 is not completing properly and holding up the wpkg service.
Paul
________________________________________
From: wpkg-users-bounces <at> lists.wpkg.org [wpkg-users-bounces <at> lists.wpkg.org] On Behalf Of Jeff_Applegate <at> fws.gov [Jeff_Applegate <at> fws.gov]
Sent: 01 February 2011 18:30
To: wpkg-users <at> lists.wpkg.org
Subject: [wpkg-users] Package limit in a single profile

Is there a package limit for a specific profile?  What I am seeing is, as an example, in my defautl.xml I have the following:

<?xml version="1.0" encoding="UTF-8"?>

<profiles>

   <profile id="default">
       <package package-id="1" />
       <package package-id="2" />
       <package package-id="3" />
       <package package-id="4" />
       <package package-id="5" />
       <package package-id="6" />
       <package package-id="7" />
       <package package-id="8" />
       <package package-id="9" />
       <package package-id="10" />
       <package package-id="11" />
   </profile>

</profiles>

Packages 9 - 11 are not showing up in the wpkg.xml in the system32 directory.  This shows me that the last 3 packages are not being sent over to the desktop.  Could it be that after setting up the first 8 that the next packages will not be seen by the desktop?  I have seen this with XP (32bit) and Win 7 (64bit).

Any and all help is greatly appreciated!

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_applegate <at> fws.gov

-------------------------------------------------------------------------
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
Donny Brooks | 2 Feb 2011 18:04
Picon

Single xml file for 32 and 64 bit Ultravnc msi file?

What would be the proper syntax for a single entry in a package.xml file 
for me to install Ultravnc via an msi install file to both 32 and 64 bit 
clients? I have copied the 7-zip example from the silent installers wiki 
and tried to edit it to fit to no avail. I am using individual package 
xml files in the packages directory. Also I have created two msi files 
that should install ultravnc configured to our needs. One is for the 32 
bit client and the other is 64 bit. Both should already be silent 
installers. Could someone guide me to the correct syntax to create this 
package file. Thanks in advance.

Donny B.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Nick Elmendorf | 2 Feb 2011 19:42

Re: Package limit in a single profile

Jeff,

First no limit on how many you can have as far as I remember. My profile I use daily has at least twice as many
packages. 

It might not be package 8 or 9 that is holding it up. How WPKG works is that it will go in order, package 1, then
package 2, but that is first dependent on package priority but then its also dependent on package
dependencies. For instance, you could have Microsoft Paint.net as your 4th package and Microsoft.Net
4.0 as your 5th Package but you would need to have the dependency for Paint.net on Microsoft.net, so it
would temporarily skip Package 4 (the Paint.net), install package 5 (Microsoft.net) then go back and do
package 4. Alternatively you could have package one priority 1 and package 2 priority 100 and package 2
will install first. Higher number package installs first.

Another tip about order, I like to put potentially troublemaker programs towards the end, and do force
reboots. Of course when WPKG starts it will run a check against what has installed and continue from there. 

Finally the reason you say your later packages aren't working leads me to believe you recently slapped
together some code, threw it on the end of a Profile and let it rip. At least that's the issue I have with new
code. I would go back and check the new code.

Also I don't know what you use for error checking but I'll plug Tail v. 4.2.12. I use it and while it sometimes
won't catch a tail it works 95% of the time, and its free.

Hope this helps.

Nick Elmendorf
Senior Information Technology Specialist
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Daniel Dehennin | 3 Feb 2011 08:27
Picon
Favicon

Re: Single xml file for 32 and 64 bit Ultravnc msi file?

Donny Brooks <dbrooks <at> mdah.state.ms.us> writes:

> What would be the proper syntax for a single entry in a package.xml
> file for me to install Ultravnc via an msi install file to both 32 and
> 64 bit clients? I have copied the 7-zip example from the silent
> installers wiki and tried to edit it to fit to no avail. I am using
> individual package xml files in the packages directory. Also I have
> created two msi files that should install ultravnc configured to our
> needs. One is for the 32 bit client and the other is 64 bit. Both
> should already be silent installers. Could someone guide me to the
> correct syntax to create this package file. Thanks in advance.

Hello,

Here we use simple cmd script to handle this[1], the WPKG package looks
like this:

#v+
<?xml version='1.0' encoding='utf-8'?>
<packages>
  <package
      id='ultravnc'
      name='UltraVNC'
      revision='1.0.8.2.2'
      reboot='false'
      priority='500'>

    <check type='uninstall' condition='exists' path='UltraVNC 1.0.8.2'/>
    <check type='file' condition='versionequalto' 
           path='%ProgramFiles%\UltraVNC\winvnc.exe'
           value='1.0.8.2'/>
    <check type='file' condition='exists' path='%PROGRAMFILES%\UltraVNC\ultravnc.ini' />
    <check type='execute' path='findstr /R /C:"passwd=$" "%PROGRAMFILES%\UltraVNC\ultravnc.ini" >
NUL' condition='exitcodeequalto' value='1' />
    <check type='execute' 
           path='%ComSpec% /c netsh firewall show allowedprogram | find /I "winvnc.exe" > NUL'
           condition='exitcodeequalto' value='0' />

    <install cmd='"%SOFTWARE%\ultravnc\1.0.8.2\install.cmd"'/>

    <upgrade cmd='"%SOFTWARE%\ultravnc\1.0.8.2\install.cmd"'/>

    <remove cmd='"%SOFTWARE%\ultravnc\1.0.8.2\remove.cmd"'/>

  </package>
</packages>
#v-

and the install.cmd:

#v+
 <at> echo off

REM Do not export variables
SETLOCAL

set PROGRAM_NAME=UltraVNC 1.0.8

REM Command to run
set CMD32=ultravnc_1.0.8.2_setup.exe
set CMD64=ultravnc_1.0.8.2_x64_setup.exe
set CMD_PATH=%~dp0
set CMD_OPTS=/loadinf=%CMD_PATH%ultravnc.inf

REM Unattended installer
set INSTALLER=unattended.cmd
set INSTALLER_TYPE=innoinstall
set INSTALLER_LOC=%~dp0

:install
echo Installing %PROGRAM_NAME%

call "%INSTALLER_LOC%%INSTALLER%" %INSTALLER_TYPE% "%CMD32%" "%CMD64%" "%CMD_PATH%" "%CMD_OPTS%"
set EXIT_CODE=%ERRORLEVEL%

:end
exit /B %EXIT_CODE%

REM End of local variables
ENDLOCAL

REM Local Variables:
REM mode: cmd
REM comment-start: "REM "
REM comment-end: ""
REM End:
#v-

The inf file:

#v+
[Setup]
Lang=fr
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=server_silent
Components=ultravnc_server_s
Tasks=
#v-

Note for myself: test if I can remove the "Dir" in the inf file to let the
                 installer detect it automatically ;-)

Regards.

Footnotes: 
[1]  http://wpkg.org/User:Dad

--

-- 
Daniel Dehennin
RAIP de l'Orne
-------------------------------------------------------------------------
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
Alexey | 3 Feb 2011 15:12
Picon

several hosts (by mask) with several profiles

I have a few branches. Each branch has its own functional structure: accounting, sales, customer service etc.
Computers are named: <City>-<Func>-<PC#>, for example MOW-ACC-2001, MOW-SAL-01, NYK-SAL-43, BER-CST-02
and ....CIT-FUN-\d\d
Software products are installed by a territorially and b functionally.

Could anyone help to implement it such as on scheme below?
 
<wpkg>
<host name="MOW-[ACC|SAL|CST]-\d\d " profile-id="MoscowProfile" />
<host name="BER-[ACC|SAL|CST]-\d\d " profile-id="BerlinProfile" />

<host name="[MOW|BER|NYK]-SAL-\d\d " profile-id="SalesApps" />
<host name="[MOW|BER|NYK]-ACC-\d\d " profile-id="AccountingApps" />

<host name="host2" profile-id="custom2" />
</wpkg>

So, I see only one solution: multiply all parameters and to support all resulting profiles.

For example:  [MOW|BER|NYK]x[ACC|SAL|CST] give us 9 Profiles.   Nevertheless, it is  very inconvenient solution.

In real life, i have got 17 branches and about 5 functionalities.

17x5= 85 Profiles?!  Oh, no... Please, Help to find decision!
 
With regards,
Alexey

 

-------------------------------------------------------------------------
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
Alexey | 4 Feb 2011 10:30
Picon

several hosts (by mask) with several profiles

To warn against attempts to send me to read about regular expressions and article "Several profiles for one host" (  http://wpkg.org/Hosts.xml ) I note the following points:
 
The system selects the first matching profile and stops processing other profiles.
 For example, the computer MOW-SAL-01 executed only MoscowProfile.
 
<host name="MOW-.*" profile-id="MoscowProfile" />
<host name="BER-.*" profile-id="BerlinProfile" />
<host name="NYK-.*" profile-id="NewYorkProfile" />
<host name=".*-SAL-.*" profile-id="SalesApps" />
<host name=".*-ACC-.*" profile-id="AccountingApps" />
<host name=".*-CST-.*" profile-id="CustomerorwhatevverApps" />
 
On the example shown , will work out only the profiles of cities, and to profile the functionality of the system will not come.
-------------------------------------------------------------------------
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
Daniel Dehennin | 4 Feb 2011 10:44
Picon
Favicon

Re: several hosts (by mask) with several profiles

Alexey <alexey.dubovsky <at> gmail.com> writes:

> To warn against attempts to send me to read about regular expressions and
> article "Several profiles for one host" (  http://wpkg.org/Hosts.xml ) I
> note the following points:
>
> The system selects the first matching profile and stops processing other
> profiles.
>  For example, the computer MOW-SAL-01 executed only MoscowProfile.
>
> <host name="MOW-.*" profile-id="MoscowProfile" />
> <host name="BER-.*" profile-id="BerlinProfile" />
> <host name="NYK-.*" profile-id="NewYorkProfile" />
> <host name=".*-SAL-.*" profile-id="SalesApps" />
> <host name=".*-ACC-.*" profile-id="AccountingApps" />
> <host name=".*-CST-.*" profile-id="CustomerorwhatevverApps" />
>
> On the example shown , will work out only the profiles of cities, and to
> profile the functionality of the system will not come.

That's the point of /applymultiple[1] which is not yet integrated in
mainline ;-)

We used it here for ~2500 machines, it works great.

Footnotes: 
[1]  http://bugzilla.wpkg.org/show_bug.cgi?id=118

--

-- 
Daniel Dehennin
RAIP de l'Orne
-------------------------------------------------------------------------
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
luca_manganelli | 7 Feb 2011 12:08
Picon
Favicon

Where can I set %SOFTWARE% environment variable?


Hi, as subject. Where can I set the SOFTWARE env variable used in the xml
files?

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/

Gmane