This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:oracle_virtualbox [2013/10/17 07:45] bobzbobz |
userspace:oracle_virtualbox [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 8: | Line 8: | ||
The package creates a shortcut on all users’ desktop called “Create VirtualXP”. When someone clicks this icon,\\ | The package creates a shortcut on all users’ desktop called “Create VirtualXP”. When someone clicks this icon,\\ | ||
a new shortcut will appear on __that users’ desktop__ called “VirtualXP”. This shortcut loads the __shared__ virtual machine, \\ | a new shortcut will appear on __that users’ desktop__ called “VirtualXP”. This shortcut loads the __shared__ virtual machine, \\ | ||
- | disables auto-update and disables all the default pop-up messages. If the icon has already been clicked, nothing will happen. | + | disables auto-update and disables all the default pop-up messages. |
**Tested With:** | **Tested With:** | ||
Line 20: | Line 20: | ||
* Prepare VirtualBox-installer (.msi): | * Prepare VirtualBox-installer (.msi): | ||
* Start off by downloading VirtualBox for Windows from: https:// | * Start off by downloading VirtualBox for Windows from: https:// | ||
- | * Open a command prompt and write: VirtualBox-4.3.0-89960-Win.exe –extract | + | * Open a command prompt and write: |
* You can now find the .msi-file under Appdata → Local → Temp → Virtualbox. You will need both the .msi-file (x64) and the common.cab. | * You can now find the .msi-file under Appdata → Local → Temp → Virtualbox. You will need both the .msi-file (x64) and the common.cab. | ||
* Copy them to CLIENT_DATA\VirtualBox | * Copy them to CLIENT_DATA\VirtualBox | ||
Line 30: | Line 30: | ||
* Prepare the virtual machine: | * Prepare the virtual machine: | ||
* Create a new virtual machine in VirtualBox (doesn’t have to be Windows XP – could also be linux ect.) and set it up with the software you like. | * Create a new virtual machine in VirtualBox (doesn’t have to be Windows XP – could also be linux ect.) and set it up with the software you like. | ||
- | * Network could cause problems when you install the package to a new PC if “bridged” mode is set – I use NAT. | + | * Network could cause problems, when you install the package to a new PC, if “bridged” mode is set – I use NAT. |
* When the virtual machine is created as you like, shut it down. | * When the virtual machine is created as you like, shut it down. | ||
- | * Copy the VM-folder from <user folder> | + | * Copy the VM-folder from <user folder> |
* Prepare the user-specific shortcut: | * Prepare the user-specific shortcut: | ||
* Create a shortcut to your desktop with a path to: " | * Create a shortcut to your desktop with a path to: " | ||
Line 39: | Line 39: | ||
* Copy this shortcut to CLIENT_DATA\VMs-folder. | * Copy this shortcut to CLIENT_DATA\VMs-folder. | ||
* Prepare the .bat-file: | * Prepare the .bat-file: | ||
- | * Create a .bat-file (scroll to bottom) and copy it to CLIENT_DATA\VMs. | + | * Create a .bat-file (scroll to the bottom |
**Tree:** | **Tree:** | ||
Line 66: | Line 66: | ||
</ | </ | ||
- | Use Microsoft Orca to get the Msi-ID for the delsub-script. | + | //Use Microsoft Orca to get the Msi-ID for the delsub-script.// |
+ | |||
+ | //Please read through the scripts, as you will need to apply your own domain-specific information.// | ||
==== setup.ins ==== | ==== setup.ins ==== | ||
Line 100: | Line 102: | ||
LogError "Not enough free space on %SystemDrive%, | LogError "Not enough free space on %SystemDrive%, | ||
isFatalError "Not enough free space" | isFatalError "Not enough free space" | ||
- | ; Stop the proces and set installationstatus | + | ; Stop the proces and set installation status |
else | else | ||
comment "Show product logo" | comment "Show product logo" | ||
Line 135: | Line 137: | ||
[Winbatch_install] | [Winbatch_install] | ||
- | msiexec /i " | + | msiexec /i " |
[Files_install] | [Files_install] | ||
Line 221: | Line 223: | ||
; ---------------------------------------------------------------- | ; ---------------------------------------------------------------- | ||
Set $ProductId$ | Set $ProductId$ | ||
- | Set $InstallDir$ | + | Set $InstallDir$ |
; ---------------------------------------------------------------- | ; ---------------------------------------------------------------- | ||
Line 240: | Line 242: | ||
[Files_uninstall2] | [Files_uninstall2] | ||
- | del -sf " | + | del -sf " |
</ | </ | ||
Line 260: | Line 262: | ||
comment " | comment " | ||
- | Files_uninstall | + | Files_uninstall |
comment " | comment " |