Is x64 the end of 16-bit DOS applications?

We have seen servers running 64bit versions of Windows for quite a while in our infrastructures and if they weren’t configured as Remote Desktop Servers (formally Terminal Server) this didn’t necessarily affect our end user applications. But since desktops and laptops are now easily equipped with more that 4Gb of RAM and the availability of the App-V x64 Client, we see an increasing demand for 64bit Operating Systems.

But is your application landscape ready to support x64? Because besides the obvious benefits of x64 there’s an obvious negative as well: the end of 16-bit DOS era…or is it?

One of my well respected colleagues and buddy Ruben Koene (@rubenkoene) was willing to share this excellent article of how he overcame this issue with one of our customers.

Follow his demonstration with one of the best (16-bit) business critical applications ever made: Prince of Persia.

Important: the steps below are specific for this application. Apply your own application specific details were necessary.

  1. If you don’t have Prince of Persia in your personal game collection you probably can download it from the internet. Unzip it (I used a folder on the desktop called “Prince”) on the sequencer machine.
  2. Next you need to download a program called DOSBOX. DOSBOX is a Dos-emulation program which you can download it here. Place the installer file also on your Sequencer computer.
  3. On the Sequencer computer start Microsoft Application Virtualization Sequencer and choose “Create a Package” (in this example I’m using version: 4.6)
  4. Fill in a package name (i.e. Prince of Persia) and if needed fill in the comments field and click [Next].
    clip_image002
  5. Click [Begin Monitoring] and create a folder by following Microsoft best practices.
    clip_image004
  6. First start the setup of DOSBOX and click [Next]
    clip_image006
  7. You probably want to uncheck “Desktop Shortcut” because the application will have it’s own shortcut. Click [Next]
    clip_image008
  8. Change “C:\Program Files “ so that it matches the directory that you selected when you started monitoring (for example, your destination folder can be Q:\PRINCE.001\DOSBox-0.74) And click the [Install] button
    clip_image010
  9. When installation is completed, click [Close]
    clip_image012
  10. Now copy the Dos application (we placed this on the desktop in step 1) to the directory you selected to install to. i.e. Q:\PRINCE.001\prince
    clip_image014
  11. Go to the start menu – All Programs – DOSBox-0.74 – Options – DOSBox 0.74 Options
    clip_image016
  12. With this action a new config-file is created. You can change a lot of settings in the config file, but we are only going to add custom actions to execute. For more information about the config file  read this article.
  13. Scroll to the bottom of config-file and add the following lines:
  14. MOUNT Q Q:\PRINCE.001\prince
    Q:
    Prince.bat

    clip_image018

  15. Note: If you want to start Prince of Persia without cheat-codes change Prince.bat to Prince.exe :-)
  16. Click File – Save As
    clip_image020
  17. Save the file as prince.conf in your prince-folder (i.e. Q:\PRINCE.001\prince\prince.conf)
  18. Close the config-file and click [Stop Monitoring]
  19. Click [Next]
  20. In the Configure Applications-wizard delete all the applications and click the add button.
  21. Add the following application path:
  22. “Q:\Prince.001\DOSBox-0.74\DOSBox.exe" –noconsole –conf  “Q:\PRINCE.001\prince\prince.conf"

  23. Change Q:\PRINCE.001 to your own installation path.
  24. The icon-file is stored in the prince-folder (prince.ico). Fill in as shown below and click [Add]
    clip_image022
  25. After adding the application click [Next]
  26. Launch the application and Prince of Persia will start in a window (ALT-ENTER for full screen, or change your config-file)
  27. Close Prince of Persia and click [Next]
  28. Click [Finish]
  29. Go to the Deployment-tab and change and change settings to match your environment.
    clip_image024
  30. Save your package and your done sequencing.
  31. Deploy on your client and have fun gaming errr running your Line of Business application ;-)

clip_image026

Immidio Flex Profiles 7 released

Trial version is available here.

Immidio Flex Profiles 7 decouples user-specific desktop and application settings from the operating system, making them available across multiple devices, Windows versions and application instances.

With decoupled user profiles it is easy to introduce virtualization technologies and new application delivery mechanisms. Additionally, this enables painless upgrades, like migrating from Windows XP to Windows 7.

Immidio Flex Profiles 7 is fully compatible with Windows 7 and integrates seamlessly with Microsoft App-V.

Overview of the most important new features:

  • Run FlexEngine as Group Policy - Flex Profiles 7 introduces a new feature to optionally run FlexEngine at logon as a Group Policy Client-Side Extension.
  • DirectFlex - Optionally manage user settings at application launch and shutdown.
  • Predefined user settings - Configure default values for any application or Windows setting.
  • Application Templates - Contains all the settings for common applications, like WinZip, Adobe Acrobat Reader or Microsoft Office – no need to manually configure these anymore.
  • Profile Cleanup - This unique feature allows you to automatically remove individual settings from roaming profiles as soon as you start managing them with Immidio Flex Profiles 7.  Your roaming profiles get gradually smaller while introducing Immidio Flex Profiles 7 step by step.  This leads to a smooth transition from conventional roaming profiles to well-managed user profiles – individual applications can be migrated from roaming profiles to Immidio Flex Profiles 7 at any time.
  • Improved editor in Flex Profiles Management Console - Including syntax highlighting and autocomplete of registry and file information.
  • App-V integration - With the release of Flex Profiles 7 the injection of the Flex Profiles configuration into the App-V configuration files can be done through the Flex Profiles Management Console.
  • Profile Archive backup improvements - Ability to make a configurable number of Profile Archive backups.

More info can be found at http://immidio.com/flexprofiles/