[wpkg-users] wpkg not installing packages for user, only using default
Donny Brooks
dbrooks at mdah.state.ms.us
Fri Aug 19 22:35:49 CEST 2011
On 8/19/2011 2:20 PM, Stefan Pendl wrote:
>> Ok, so I have wpkg working on almost all the new pc's except
>> a handfull.
>> Those that won't work keep installing the default package
>> list instead
>> of the one that I explicitly told it to install using it's
>> hostname. Is
>> there anywhere I can look in wpkg, samba, or on the pc to see what
>> profile it is trying to pull? I have even gone as far as removing the
>> wpkg.xml from the c:\windows\system32 and formatting and reinstalling
>> the OS.
>>
> I am using the following command script to create a log file with all the important information, without actually installing
> anything.
> Run that on your problematic machines.
> Make sure to change SOFTWARE and WPKG_ROOT to match your environment.
>
>
> rem ---code start (watch for line wraps)
>
> @rem
> @echo off
>
> pushd %~dp0\..
> set SOFTWARE=%CD%
>
> pushd %~dp0
> set WPKG_ROOT=%CD%\WPKG Server
>
> echo.
> echo Executing WPKG in Debug Mode ...
> cscript "%WPKG_ROOT%\wpkg.js" /nonotify /debug /dryrun /synchronize /sendStatus /logLevel:0xFF>"%TMP%\wpkg_check.txt"
>
> echo.
> echo Displaying Log File ...
>
> if exist "%ProgramFiles%\Notepad++\notepad++.exe" (
> "%ProgramFiles%\Notepad++\notepad++.exe" "%TMP%\wpkg_check.txt"
> ) else (
> if exist "%ProgramFiles(x86)%\Notepad++\notepad++.exe" (
> "%ProgramFiles(x86)%\Notepad++\notepad++.exe" "%TMP%\wpkg_check.txt"
> ) else (
> notepad "%TMP%\wpkg_check.txt"
> )
> )
> popd
> popd
>
> echo.
> pause
>
> rem ---code end
>
> ---
> Stefan
>
> -------------------------------------------------------------------------
> 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
Ok, with that script I have found that it is pulling the default.xml
file but it says the proper host name earlier in the file. What could be
causing this? I am attaching the output of the log file. So it helps I
will also include the hostname.xml and such to help troubleshoot this. I
am using blank hosts.xml, profiles.xml, packages.xml and just using the
individual xml files in the folders.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpkg_check.txt
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110819/154d57d1/attachment-0002.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jomiles.xml
Type: text/xml
Size: 354 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110819/154d57d1/attachment-0004.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: is-staff.xml
Type: text/xml
Size: 1456 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110819/154d57d1/attachment-0005.xml>
More information about the wpkg-users
mailing list