Page 1 of 1

There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed and st

Posted: 18. Feb 2019, 19:24
by JavierReinoso
There is no way to create a Windows Exe from a VDI with VirtualBox that be installed and started directly?

That is to say, create an installer that run a vdi with virtuabox automatically... Without need to add new machine in the virtualbox window and run wothout open virtualbox window and press run the vdi machine...

Thanks for answers...

Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an

Posted: 18. Feb 2019, 19:31
by mpack
First, a VDI is not executable under any circumstances: a VDI is just a disk, and disk drives need to be installed inside a computer - they can do nothing on their own.

To the actual question: you can write a script that performs all of the required steps, but the steps themselves cannot be avoided: VirtualBox must be installed on the host PC, the VM must be registered, then the VM can be launched. A Windows OS must be installed inside the VM, and then the Windows app exe can be installed and run.

A VM is just a PC, it has no magical abilities: so you might equally ask whether it's possible to run your windows exe on a bare physical PC without preparing the PC and installing Windows.

Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an

Posted: 18. Feb 2019, 20:34
by JavierReinoso
Ok, well, before all, thanks mpac for your answer...

Well, I know what you say...

But I not understand why is not make a software for automate:

1- Check if the virtualBox is installed, and, if not, download the last version of virtualbox and install...

2- Suppose I like to install the MyApp.vdi and MyApp.vbox in the directory "D:\MyApp\"
The install software check where is the virtualbox.xml and add the MyApp.vbox data, how this for example:
<MachineEntry uuid="{1b621d2d-8939-4232-aeb5-2850346f95d7}" src="D:\MyApp\MyApp.vbox"/>

3- And after create a shortcut - with the proper icon - in the desktop that run the vdi with the VirtualBoxVM.exe
Use: VirtualBoxVM --startvm name|UUID

I not understand why is not make a setup or install software for a vdi that automate all this simple process... But complex for users that not know well windows and/or computers...

It could even be a good business to sell a cheap software that automate all of this steps...

Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an

Posted: 18. Feb 2019, 20:39
by JavierReinoso
Not exists a software for make this?

The Virtual Machines have a very good future, I believe is time to create a software for automate install and run a vdi created...

Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an

Posted: 18. Feb 2019, 21:40
by socratis
JavierReinoso wrote:It could even be a good business to sell a cheap software that automate all of this steps...
Go for it then! :)

Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an

Posted: 18. Feb 2019, 21:53
by JavierReinoso
I am thinking to make, not is difficult, I not understand why is not make... And sell by a cheap price, how 4,95 US$, is possible sell many...