Virtual Machine Setup for BPS Development

(Old version based on Windows 7 here)

This is exactly how we setup our VM for development at IBK. We document it here for reference, but you may have details modified to your needs.

For example we use VMware Workstation 15.5, but in fact any VM software should work as long as it supports 64 bit Windows.

It is mandatory to use a 64-bit Windows 10 edition for development, since that is the main target platform.

Set up the VMware virtual machine

Following basic settings are used:

  • 4 GB Memory
  • 2+2 Processors
  • 120 GB Hard Disk (all in one file, do not allocate all at once)

Development is also possible with only 3 GB RAM and 2 processors, if performance is no issue for you.

Install Windows 10 and then do all updates available at setup time.

Network

Change machine name to: vmbps2

Change workgroup to: IBKDEV

Wallpapers (optional)

  • Download the BPS2 Bginfo files:
    • Unpack and save files to c:\dev\bginfo\
    • Double click «bginfofix.reg» to enable high dpi wit bginfo
  • Right click on Bginfo.exe, “Create shortcut”
  • Right click on shortcut, “Properties”
    • Target: C:\dev\bginfo\Bginfo.exe settings.bgi /timer:0
  • Doubleclick on shortcut to execute:
    • Unckeck the windows warning for each time the application starts.
    • Confirm the license note.
    • Background should be set now with red BPS2 wallpaper and machine infos.
  • Copy the shortcut to the autostart folder:
    • Right click Windows Icon, then «Run»
    • Type shell:startup and press enter
  • Change lock screen and logon background:
    • Windows Settings / Personalization / Lock screen
    • Background: Picture, Choose BPS2 Wallpaper
    • Scroll down and turn on «Show lock scree background picture on the sign-in screen»

Utilities

  • 7-zip: Packing/unpacking tool
    • Download latest from here
    • Install with defaults
  • RapidEE: Environment variables editor
    • Optional
    • Get current release of the installer from here
    • Run RapidEE_setup.exe and install with defaults
    • Right click on desktop icon
      • Settings…
        • Advanced…
          • Check “Run as Administrator”
  • Notepad++: Code editor
    • Download latest from here
    • Install with defaults
  • Agent Ransack: Search tool
    • Download AgentRansack_828.exe from Mythicsoft
    • Install with defaults
  • Doxygen: C++ Documentation generator
    • Get doxygen from here
    • Run doxygen setup.exe
    • Install with defaults
  • TortoiseHg: Mercurial source code archiver for Windows
    • Get current release for 64 bit Windows from here.
    • Run tortoisehg.msi and install with Defaults.
    • Reboot
  • MSI Factory: Setup generating tool
    • Not available for free, but trial version available for testing.
    • Get it from Indigo Rose.

Optimize Windows 10 for VMware

Unfortunately Windows 10 is too bloated for serious working in a virtual machine. Any random Linux and even Windows 7 will run circles around it when installed out of the box.

You could fine tune the VMware settings and Windows 10 manually, but that is a very tedious task.

Much easier is the use of VMware's «OS Optimization Tool». Just unpack it for example into C:\dev\vmware, and run it. Clicking «Analyze» and then «Optimize» to execute the recommended tunings will already do a great job. There is hardly need to manually adjust the ton of manual settings available in the tool, but of cause you are free to do that. The tool also has a rollback feature in case.

Proceed with Developing Environment.