[wpkg-users] getting started

Kevin McMahan k_mcmahan at archerlandtitle.com
Mon Oct 13 20:04:20 CEST 2008


I am having no luck and not sure what I am missing.
I am trying for now to get one program pushed out to our clients.
Do I need to make changes to wpkg.js initially to get this to work? Any help is greatly appreciated.

I ran a debug which gave me the following.
2008-10-13 13:26:36, DEBUG  : Initialized temporary local log file: C:\DOCUME~1\K_MCMA~1\LOCALS~1\Temp\wpkg-logInit.log
2008-10-13 13:26:37, DEBUG  : Initializing new log file: C:\DOCUME~1\K_MCMA~1\LOCALS~1\Temp\wpkg-awws66.log
2008-10-13 13:26:27, DEBUG  : Reboot-Cmd is standard.
2008-10-13 13:26:37, DEBUG  : WPKG 1.0.2 starting...
2008-10-13 13:26:37, DEBUG  : Base directory is '\\ahc01\it$\wpkg'.
2008-10-13 13:26:38, DEBUG  : Log level is 255
2008-10-13 13:26:38, DEBUG  : Trying to read XML file: \\ahc01\it$\wpkg\profiles.xml<file:///\\ahc01\it$\wpkg\profiles.xml>
2008-10-13 13:26:38, DEBUG  : Successfully loaded XML file: \\ahc01\it$\wpkg\profiles.xml<file:///\\ahc01\it$\wpkg\profiles.xml>
2008-10-13 13:26:38, DEBUG  : Trying to read XML files from directory: \\ahc01\it$\wpkg\profiles<file:///\\ahc01\it$\wpkg\profiles>
2008-10-13 13:26:39, DEBUG  : Reading XML file: //ahc01/it$/wpkg/profiles/dialpad.xml
2008-10-13 13:26:39, DEBUG  : Reading XML file: //ahc01/it$/wpkg/profiles/room1.xml
2008-10-13 13:26:39, DEBUG  : Trying to read XML file: \\ahc01\it$\wpkg\hosts.xml<file:///\\ahc01\it$\wpkg\hosts.xml>
2008-10-13 13:26:40, DEBUG  : Successfully loaded XML file: \\ahc01\it$\wpkg\hosts.xml<file:///\\ahc01\it$\wpkg\hosts.xml>
2008-10-13 13:26:40, DEBUG  : Trying to read XML files from directory: \\ahc01\it$\wpkg\hosts<file:///\\ahc01\it$\wpkg\hosts>
2008-10-13 13:26:40, DEBUG  : Reading XML file: //ahc01/it$/wpkg/hosts/dialpad.xml
2008-10-13 13:26:41, DEBUG  : Reading XML file: //ahc01/it$/wpkg/hosts/room1.xml
2008-10-13 13:26:41, DEBUG  : Trying to read XML file: \\ahc01\it$\wpkg\packages.xml<file:///\\ahc01\it$\wpkg\packages.xml>
2008-10-13 13:26:41, DEBUG  : Successfully loaded XML file: \\ahc01\it$\wpkg\packages.xml<file:///\\ahc01\it$\wpkg\packages.xml>
2008-10-13 13:26:42, DEBUG  : Trying to read XML files from directory: \\ahc01\it$\wpkg\packages<file:///\\ahc01\it$\wpkg\packages>
2008-10-13 13:26:43, DEBUG  : Reading XML file: //ahc01/it$/wpkg/packages/dialpad.xml
2008-10-13 13:26:43, DEBUG  : Profiles applying to the current host:|dialpad|
2008-10-13 13:26:44, DEBUG  : Reading settings file: C:\WINDOWS\system32\wpkg.xml
2008-10-13 13:26:44, DEBUG  : Trying to read XML file: C:\WINDOWS\system32\wpkg.xml
2008-10-13 13:26:45, DEBUG  : Successfully loaded XML file: C:\WINDOWS\system32\wpkg.xml
2008-10-13 13:26:46, DEBUG  : Hosts file contains 3 hosts:|awws66|awws66|awws66
2008-10-13 13:26:47, DEBUG  : Settings file contains 0 packages:
2008-10-13 13:26:47, DEBUG  : Packages file contains 1 packages:|dialpad
2008-10-13 13:26:48, DEBUG  : Profile file contains 1 profiles:|dialpad
2008-10-13 13:26:48, DEBUG  : Using profile(s):|dialpad|
2008-10-13 13:26:49, DEBUG  : Getting profiles which apply to this node.
2008-10-13 13:26:49, DEBUG  : Applying profile: dialpad
2008-10-13 13:26:50, DEBUG  : No more dependencies for profile 'dialpad'
2008-10-13 13:26:50, DEBUG  : Synchronizing: Number of packages referenced by profile: 0
2008-10-13 13:26:51, DEBUG  : Number of packages to remove: 0
2008-10-13 13:26:52, DEBUG  : Saving sorted settings to 'C:\WINDOWS\system32\wpkg.xml'.
2008-10-13 13:26:52, DEBUG  : Saving XML : C:\WINDOWS\system32\wpkg.xml

**I placed the setup3.exe in the wpkg folder
**I have made no changes to config.xml
**For details on the files I have created see below
**Dialpad.xml (packages.xml is exact same as this)
<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
     id="dialpad"
     name="SafeSoft Diapad"
     revision="1"
     reboot="false"
     priority="5">

 <check type="uninstall" condition="exists" path="Dialpad 1.0" />

 <install cmd='"%SOFTWARE%\Mortgage Dialer Client\setup3.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\SafeSoft Dialpad"'/>

 <remove cmd='"%PROGRAMFILES%\SafeSoft Dialpad\unins000.exe" /VERYSILENT /NORESTART' />

</package>

</packages>



**Host.xml (made this one machine to just test it )
<?xml version="1.0" encoding="UTF-8"?>

<!-- Lists host names and associated profile. This file can be edited
     directly, or even created automatically depending on your
     environment.

     For more info, see http://wpkg.org/index.php/Category:Documentation

     -->

<wpkg>

    <host name="awws66" profile-id="dialpad" />

</wpkg>


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

<!-- System profile database.

     Lists profiles available to the systems. A profile represents a certain
     selection of packages from the packages database. Profiles can depend on
     other profiles, the end result being the sum of all required packages.

     THIS IS A SAMPLE FILE

     For more info, see http://wpkg.org/index.php/Category:Documentation

-->

<profiles>

    <profile id="dialpad">
        <depends profile-id="dialpad" />
    </profile>

</profiles>




Kevin McMahan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20081013/5423a5d8/attachment-0001.html>


More information about the wpkg-users mailing list