vboxme / Portable-VirtualBox

Portable-VirtualBox is a free and open source software tool that lets you run any operating system from a usb stick without separate installation.
Other
806 stars 234 forks source link

Extraction problem with 4.3.22? #18

Open d4k0 opened 9 years ago

d4k0 commented 9 years ago

Hi,

I wanted to install the new version 4.3.22 of VirtualBox using the Portable-VirtualBox installer/launcher (version 4.3.18 from vbox.me), but it seems there were some changes that cause some problems.

At first everything looks fine and the installer extracts some files to the temp directory inside the Portable-VirtualBox folder (it also created a folder called "x64" for the 64-bit version). But then it doesn't copy the VirtualBox program files to the Portable-VirtualBox folder (the "app64" folder is also not created) and instead deletes the temp directory. It seems that just some MSI files (and one CAB file) are extracted and not the actual program files. Version 4.3.20 of VirtualBox worked fine.

I think that something might have changed inside the VirtualBox installer (maybe some names or the structure). It would be nice if you could look into this issue.

UPDATE: I was able to able to copy the file "VirtualBox-4.3.22-r98236-MultiArch_amd64.msi" from the temp folder and use the command which the Portable-VirtualBox installer uses to extract the files. This way I was able to update VirtualBox manually. However, I still don't know what the problem is. The structure of the VirtualBox installer seems to be the same and the Portable-VirtualBox installer already starts extracting the appropriate files before deleting the whole temp folder.

LazyZhu commented 9 years ago

Since 4.3.22, VirtualBox's folder structure changed, from Oracle VM VirtualBox to Oracle/VirtualBox. Some codes need modified, like: https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1600 https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1601 https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1610 https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1611 https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1699 https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1701