Topic: [SOLVED]How to test with virtualbox  (Read 101 times)

[SOLVED]How to test with virtualbox
« on: January 23, 2021, 07:10:33 PM »

speed95

  • Apprentice
  • *
  • Date Registered: Jan 2021
  • Posts: 3
hi,

How to test with virtualbox?

Thanks(it's very nice Wim builder)
« Last Edit: January 24, 2021, 09:52:09 AM by slore »

Re: Virtualbox
« Reply #1 on: January 23, 2021, 09:35:09 PM »

RoyM

  • Jr. Chef
  • **
  • Date Registered: Aug 2017
  • Posts: 80

Have Vbox Installed onto Host Machine of Wimbuilder.
Create a new machine with BOOTPE.iso from Wimbuilder
Name the new machine Wimbuilder or whatever you like, but remember the name.
%WB_ROOT% is Drive and folder where your Wimbuilder is installed.
Mine= E:\Wimbuilder5\_Factory_
%WB_ROOT%\_Factory_\BOOTPE.iso.
Make sure it boots in new VBox machine you just added.

Put attached VBox.cmd into %WB_ROOT%\test\
Go to Wimbuilder GUI\Building\
 and check (Execute command after building)
 in the white box next to it type in:
   VBox.cmd Wimbuilder
   Press 'Execute' Button to test in VBox.

Regards
RoyM

Re: Virtualbox
« Reply #2 on: January 24, 2021, 08:25:57 AM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, speed95

As RoyM answered, There is a batch file WimBuilder2\test\VBox.cmd(This file is already in WimBuilder2-master or WimBuilder-Full zip file),
Use this batch script, it will auto load the %WB_ROOT%\_Factory_\BOOTPE.iso and boot the ISO with a VitrualMachine.

But VBox.cmd won't create the VM.

You need to open the VitrualBox and create a VM as you like(CPU, MEMORY, ..., etc), remember the name(eg. win10vm).

Go to Wimbuilder GUI\Building\

Input the command in the white box,
[Execute command after building]:VBox.cmd win10vm

Anytime you click the 'Execute' Button, it will test in VBox.



And For VitrualBox 6.0.x, 6.1.x, here is a patch --- GUI\Customize\Test\VBoxGuestAdditions,
You can do next operation between host and PE.

  • Drag and drop files or folders between host and guest
  • The clipboard of the guest can optionally be shared with the host
« Last Edit: January 24, 2021, 08:29:15 AM by slore »

Re: Virtualbox
« Reply #3 on: January 24, 2021, 09:13:55 AM »

speed95

  • Apprentice
  • *
  • Date Registered: Jan 2021
  • Posts: 3
I created a VM named "test", I executed the command "vbox.cmd test" and it works wonderfully.

Thank you for your answers... :thumbsup:

 

Powered by EzPortal