Table of Content
- One - Sequence DOSBox and the DOS app in one package.
- Two - Sequences the applications separated
- Three - Only sequence DOSBox
Since desktops and laptops are now easily equipped with 4GB of RAM there is an increasing of 64bit operation systems. But are your applications supporting 64bits?
I use DOSBox (DOS emulator) to run the DOS applications. You can find more information on the site of DOSBox.
I describe three ways to sequence DOS applications with App-V. The first is to sequence DOSBox and the DOS app in one package. An other way is to sequence DOSBox and the DOS application separated so you can use DOSBox for more DOS applications. And the last one is to sequence DOSBox and run the DOS application from the local machine into the bubble.
One - Sequence DOSBox and the DOS app in one package.
This is a short description of an post of my colleague Ruben Koene at Softgridblog.com.
Zip the DOS application to extract the contend to the local Q drive.
-
Start monitoring and create a directory based on the DOS application name.
-
Install DOSBox on the Q drive in the DOS application directory in a separate directory. (Q:\DOSAPP.001\DOSBox) Note: You probably want to uncheck “Create desktop shortcut” because the DOS application will have his own shortcut.
-
Finish the installation of DOSBox.
-
Extract the DOS application into the directory on the Q drive in a separate directory. (Q:\DOSAPP.001\DOSapp)
-
Open the options of DOSBox in the start menu (Start menu - All programs - DOSBox 0.74 - Options - DOSBox 0.74 Options)
-
With this action a new config file is created. You can change a lot but, we are only going to add a custom action to execute. Scroll down in the config file and add the following lines.
MOUNT Q Q:\DOSAPP.001\DOSapp\ Q: APP.exe
-
Save the file as DOSApp.conf in your DOSapp-folder (i.e. Q:\DOSAPP.001\DOSApp\DOSApp.conf) Note: Use Save As.. or the original will be overridden.
-
Close the config file and stop monitoring.
9. In the Configure Applications-wizard delete all the applications and click the add button. Add the following application path:
“Q:\DOSAPP.001\DOSBox-0.74\DOSBox.exe" –noconsole –conf “Q:\DOSAPP.001\DOSapp\DOSApp.conf"
-
Add the application icon rename the application name. Click on add and click on next.
-
Launch the application. Note: Settings are configured in the config file. For more information look here.
-
Finish the deployment wizard and save the sequence.
Two - Sequences the applications separated
Zip the DOS application to extract the contend to the local Q drive.
-
Sequence DOSBox the default way. Finish the sequence and make sure DOSBox work properly.
-
Sequence the DOS application. Extract the application files and finish monitoring.
-
Add the executable of the DOS application and try to launch the application. Note: It doesn’t mather if the application gives an error message.
-
Finish the deployment wizard and save the sequence
-
Copy the DOSBox ODS file into the DOSAPP directory.
-
Rename the OSD file into the DOS application name.
-
Open the OSD in your text editor and change the Application name and version into the DOS application name and version.
-
Change PARAMETERS=”-userconf” into PARAMETERS=”\DOSAPP.001\DOSAPP\APP.EXE -noconsole -exit” Note: For the parameter of DOSBox look at the site, I used -noconsole to show only the app and -exit to close DOSBox when the app is closed .
-
Add dynamicsuiting with the DOS application.
<DEPENDENCIES> <CODEBASE HREF="FILE://D:\Apps\VAPPS\DOSAPP.001\DOSAPP.sft" GUID="{GUID}" SYSGUARDFILE="DOSAPP.001\osguard.cp" MANDATORY="TRUE"/> </DEPENDENCIES>
Note: Add your own location of the DOSAPP.sft file.
- Save the OSD file and deploy the application. Note: Don’t forget to create a desktop shortcut.
Three - Only sequence DOSBox
-
Only sequence DOSBox the default way. Finish the sequence and make sure DOSBox work properly.
-
Copy the original OSD file and rename the OSD file name into the DOS application name.
-
Open the OSD in your text editor and change the Application name and version into the DOS application name and version.
-
Change PARAMETERS=”-userconf” into PARAMETERS=”D:\Apps\DOSapp\App.exe -noconsole -exit” (Your own application location).
-
Save the OSD file and deploy the application. Note: Don’t forget to create a desktop shortcut.
If you have questions or suggestions leave them in the comments.