I have not ever used the wpkg client in my 6+ years of using wpkg , but would like to switch to it or wpkg-gp. But somehow I did not create a good test environment.
I have set up a test environment with the following config.xml and settings.xml base=\\wpkg_server\app\wpkg wpkg.js is in \\wpkg_server\app\wpkg\wpkg.js (v 1.3.0) config.xml from \\wpkg_server\app\wpkg\config.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns="http://www.wpkg.org/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/config xsd/config.xsd"> <param name='wpkg_base' value='\\wpkg_server\app\wpkg' /> <param name='nonotify' value='true' /> <param name='caseSensitivity' value='false' /> <languages> removed the standard default entries for language messages for this email. </languages> </config> settings.xml from \\wpkg_server\app\Install\WPKG Agent\settings.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <file>\\wpkg_server\app\wpkg\wpkg.js</file> <net-use-machine-account>NO</net-use-machine-account> <path-user>uksls17tst\app_install</path-user> <path-password>removed ;-)</path-password> <exec-user>SYSTEM</exec-user> <exec-password></exec-password> <parameters>/synchronize</parameters> <silent>YES</silent> <pre-action></pre-action> <post-action>\\wpkg_server\app\Install\Wpkg Agent\wpkgStatus.bat</post-action> <show-GUI>YES</show-GUI> <logon-delay>0</logon-delay> <logon-message-title>WPKG Software Deployment</logon-message-title> <logon-message-logo-picture></logon-message-logo-picture> <logon-message-1>WPKG is installing applications and applying settings...</logon-message-1> <logon-message-2>This will finish shortly. Please wait, don't restart or power off your computer</logon-message-2> <script-variable name="SOFTWARE">\\wpkg_server\app\Install</script-variable> <script-variable name="SOFTWARE2">\\wpkg_server\Install</script-variable> <script-variable name="PROGRAMS">\\wpkg_server\app\Programs</script-variable> <script-variable name="SCRIPTS">\\wpkg_server\app\wpkg\scripts</script-variable> <script-variable name="BIN">\\wpkg_server\app\wpkg\bin</script-variable> <priority>normal</priority> <stop-service-after-done>YES</stop-service-after-done> <laptop-mode>YES</laptop-mode> <server-connecting-method>standard</server-connecting-method> <server-connecting-ip>wpkg_server</server-connecting-ip> <server-connecting-timeout>3</server-connecting-timeout> <server-connecting-script-timeout>3</server-connecting-script-timeout> <server-connecting-script-file></server-connecting-script-file> <log-file></log-file> <run-on-shutdown>NO</run-on-shutdown> <shutdown-delay>10</shutdown-delay> <logon-interrupt-password></logon-interrupt-password> <repeat-count-on-failure>0</repeat-count-on-failure> </configuration> If I run "sc start wpkgservice" I only get the following lines Starting installation... Date: 13/03/2012 08:40:15 ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| Date: 13/03/2012 08:40:15 ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. Date: 13/03/2012 08:40:15 ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| Date: 13/03/2012 08:40:15 INFO : User notification suppressed. Message: The software installation has failed. Date: 13/03/2012 08:40:15 Ending installation... Date: 13/03/2012 08:40:15 If I add /notify /verbose and /debug flags I get no additional messages. But if I also add /base:\\wpkg_server\app\wpkg as well I get instead, so it somehow does not get the base dir in the first place, why? But even if I give it the base dir it still seems to be trying to access c: or t: drive instead of the UNC \\wpkg_sever\app\wpkg dir? Starting installation... Date: 13/03/2012 10:09:25 ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| Date: 13/03/2012 10:09:25 ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. Date: 13/03/2012 10:09:25 ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| Date: 13/03/2012 10:09:25 INFO : User notification suppressed. Message: The software installation has failed. Date: 13/03/2012 10:09:25 Ending installation... Date: 13/03/2012 10:09:25 2012-03-13 10:25:28, ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| 2012-03-13 10:25:28, ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. 2012-03-13 10:25:28, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 10:25:28, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 10:31:09, ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| 2012-03-13 10:31:09, ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. 2012-03-13 10:31:09, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 10:31:09, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 10:34:15, INFO : Installing 'wpkg config' (wpkg config)... 2012-03-13 10:34:15, INFO : User notification suppressed. Message: Automatic software deployment is currently updating your system. Please save all your documents as the the system might reboot without further notice. Thank you. 2012-03-13 10:34:15, ERROR : Command '%SCRIPTS%\wpkg-config.bat' was unsuccessful.|The system cannot find the file specified.| 2012-03-13 10:34:15, ERROR : Could not process (install) package 'wpkg config' (wpkg config):|Exit code returned non-successful value (-1) on command '%SCRIPTS%\wpkg-config.bat'. 2012-03-13 10:34:15, INFO : User notification suppressed. Message: The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete. 2012-03-13 10:35:28, ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| 2012-03-13 10:35:28, ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. 2012-03-13 10:35:28, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 10:35:28, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 10:40:17, ERROR : Error parsing xml 'C:/wpkg_serverappwpkg/profiles.xml': The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.| 2012-03-13 10:40:17, ERROR : No root element found in 'C:/wpkg_serverappwpkg/profiles.xml'. 2012-03-13 10:40:17, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 10:40:17, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 10:41:16, INFO : Installing 'wpkg config' (wpkg config)... 2012-03-13 10:41:16, INFO : User notification suppressed. Message: Automatic software deployment is currently updating your system. Please save all your documents as the the system might reboot without further notice. Thank you. 2012-03-13 10:41:16, ERROR : Command '%SCRIPTS%\wpkg-config.bat' was unsuccessful.|The system cannot find the file specified.| 2012-03-13 10:41:16, ERROR : Could not process (install) package 'wpkg config' (wpkg config):|Exit code returned non-successful value (-1) on command '%SCRIPTS%\wpkg-config.bat'. 2012-03-13 10:41:16, INFO : User notification suppressed. Message: The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete. 2012-03-13 10:57:41, INFO : Installing 'wpkg config' (wpkg config)... 2012-03-13 10:57:41, INFO : User notification suppressed. Message: Automatic software deployment is currently updating your system. Please save all your documents as the the system might reboot without further notice. Thank you. 2012-03-13 10:57:41, ERROR : Command '%SCRIPTS%\wpkg-config.bat' was unsuccessful.|The system cannot find the file specified.| 2012-03-13 10:57:41, ERROR : Could not process (install) package 'wpkg config' (wpkg config):|Exit code returned non-successful value (-1) on command '%SCRIPTS%\wpkg-config.bat'. 2012-03-13 10:57:41, INFO : User notification suppressed. Message: The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete. 2012-03-13 11:00:00, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 11:00:00, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 11:00:50, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 11:00:50, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 11:01:33, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 11:01:33, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 11:03:13, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 11:03:13, INFO : User notification suppressed. Message: The software installation has failed. 2012-03-13 11:03:26, ERROR : Message: No profiles found. Aborting|Description: No profiles found. Aborting|Error number: a|Stack: undefined|Line: undefined| 2012-03-13 11:03:26, INFO : User notification suppressed. Message: The software installation has failed. Tis must be a really silly and fundamental mistake. Anyone hazard a guess? Thanks in advance. Regards, -- Urs Rau Operation Mobilisation (OM) - a company limited by guarantee - The Quinta, Weston Rhyn, Oswestry, SY10 7LT, United Kingdom Company reg no: 2564320 (England & Wales) - Charity reg. no: 1008196 (England & Wales) - SC040988 (Scotland) Web: http://www.uk.om.org ------------------------------------------------------------------------- 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