- Run
xsetup.bat -b ConfigGen. After selecting the edition you want to install, the default configuration file is generated. - Edit the file to specify the installation location and the path of the Shared Folder and any other installation option you wish to customize. See Oracle VirtualBox documentation: 4.3 Shared folders for details.