[wpkg-users] virtualbox deployment issue

Anthony Walters anthony.walters at dkit.ie
Mon Nov 28 10:54:10 CET 2011


Hi list,

Thanks for an excellent project. I have just started to use WPKG and 
like the way it's put together.

I work in an educational institution and want to deploy virtualbox to 
some student computer labs.

Here's the package that i've come up with...

<package
         id="virtualbox"
         name="Virtualbox"
         revision="%version%"
         reboot="false"
         priority="10">
         <variable name="version" value="4.1.6" />
         <check type="uninstall" condition="exists" path="Oracle VM 
VirtualBox 4.1.6" />

         <install 
cmd='"%SOFTWARE%\virtualbox\VirtualBox-4.1.6-74713-Win.exe" -s' />
         <upgrade 
cmd='"%SOFTWARE%\virtualbox\VirtualBox-4.1.6-74713-Win.exe" -s' />

</package>

My issue is with the virtualbox installer, Virtualbox resets the network 
inetrfaces on install[1] and so wpkg.js stops executing immediately 
after virtualbox is installed. From the log below, Virtualbox returns a 
status of zero, so the virtualbox installer seems to run and finish ok, 
but wpkg.js does not continue executing.

Does anyone have any suggestions on how i could get around this?

Here's some logs from the client machine when installing virtualbox

C:\Users\Administrator>cscript \\172.16.22.63\dcamwpkg\wpkg.js /synchronize
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Package 'Virtualbox' (virtualbox): Not installed (checks failed).
Preparing installation.
Installing 'Virtualbox' (virtualbox)...
Could not process (install) package 'Virtualbox' (virtualbox):
.
Message:
Description:
Error number: 80070040
Stack:        undefined
Line:         undefined

\\172.16.22.63\dcamwpkg\wpkg.js(6808, 3) (null): The specified network 
name is no longer available.

CScript Error: Execution of the Windows Script Host failed. (0x80020102)

C:\Users\Administrator>

I presume this happens because networking gets reset by the virtualbox 
installer.

Thanks.
Anthony


[1] https://forums.virtualbox.org/viewtopic.php?f=8&t=15769

-- 
Anthony Walters
Technical Officer
Dundalk Institute Of Technology

Ext: 2151
Tel: 042 9370200



More information about the wpkg-users mailing list