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...
There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed and st
-
JavierReinoso
- Posts: 10
- Joined: 18. Feb 2019, 19:17
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an
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.
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.
-
JavierReinoso
- Posts: 10
- Joined: 18. Feb 2019, 19:17
Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an
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...
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...
Last edited by JavierReinoso on 18. Feb 2019, 20:43, edited 1 time in total.
-
JavierReinoso
- Posts: 10
- Joined: 18. Feb 2019, 19:17
Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an
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...
The Virtual Machines have a very good future, I believe is time to create a software for automate install and run a vdi created...
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an
Go for it then!JavierReinoso wrote:It could even be a good business to sell a cheap software that automate all of this steps...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
JavierReinoso
- Posts: 10
- Joined: 18. Feb 2019, 19:17
Re: There is no way to create a Windows Exe from a VDI with VirtualBox that can then be installed an
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...
Last edited by socratis on 18. Feb 2019, 22:23, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.