{"id":573,"date":"2012-07-31T23:56:42","date_gmt":"2012-07-31T13:56:42","guid":{"rendered":"http:\/\/www.desiderata.com.au\/blog\/?page_id=573"},"modified":"2012-08-01T00:00:20","modified_gmt":"2012-07-31T14:00:20","slug":"virtual-machines-portable-apps-and-delphi","status":"publish","type":"page","link":"https:\/\/www.desiderata.com.au\/blog\/?page_id=573","title":{"rendered":"Virtual Machines, Portable Apps and Delphi"},"content":{"rendered":"<h3>Delphi developers have a number of issues where a VM may make life easier:<\/h3>\n<ul>\n<li>allowing Delphi development on a non-WinOS machine such as a Mac using VMWare Fusion, etc<\/li>\n<li>allowing one to &#8220;backup&#8221; just their development environment to avoid having to do a full re-install of Delphi and all the 3rd party components which is a very time consuming process<\/li>\n<li>allowing one to have isolated test environments for their apps with the option of different versions of operating systems and installation configurations<\/li>\n<li>potentially allow a &#8220;portable&#8221; version of their Delphi development environment which is not restricted to the one machine &#8211; although I am not aware of anyone who has succeeded in this nor how Embarcadero or the Third Party component licences cope with such environments, but it would sure make managing your development environment so much easier to backup and restore<\/li>\n<\/ul>\n<h3>Delphi on a Mac:<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.vmware.com\/products\/desktop_virtualization\/fusion\/overview.html\" target=\"_blank\">VMWare Fusion<\/a> is a common VM environment used and is very popular amongst Delphi XE2 developers who also want to create apps for MacOS and iOS<\/li>\n<li>the main alternative VM on a Mac is Parallels<\/li>\n<li>either VM requires a Windows licence per VM as well as VM software purchase<\/li>\n<\/ul>\n<h3>Windows Virtual PC and XP Mode on a Windows 7 machine:<\/h3>\n<ul>\n<li>Windows 7 makes it very easy to create a Windows XP VM through its &#8220;XP Mode&#8221; which fortunately does not require additional purchase of a WinXP licence<\/li>\n<li>unfortunately, Win7 does not make it easy to have multiple versions, but this can be achieved as follows:<\/li>\n<ul>\n<li><a href=\"http:\/\/weblog.200ok.com.au\/2010\/08\/browser-testing-with-windows-7-xp-mode.html\" target=\"_blank\">using Microsoft&#8217;s &#8220;difference&#8221; feature to create multiple VM&#8217;s linked to a main VM<\/a><\/li>\n<li><a href=\"http:\/\/www.sevenforums.com\/tutorials\/21904-virtual-xp-machine-copy.html\" target=\"_blank\">an old manual VM copy method for multiple XP mode VM&#8217;s<\/a><\/li>\n<ul>\n<li>the Win7 published shortcuts to apps within the XP Mode may need to be manually copied for the new VM&#8217;s &#8211; see <strong>%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows Virtual PC\\Virtual Applications\\Windows XP Mode<\/strong> on the physical Win7 machine to find the shortcuts for publishing<\/li>\n<li>having cloned VMs running concurrently on a network requires additional work to ensure they are seen as individual machines &#8211; one can use sysprep utility to manage this (see <a href=\"http:\/\/www.windowsnetworking.com\/articles_tutorials\/Creating-Sysprep-Image-Library-Virtual-PC.html\" target=\"_blank\">here<\/a> for a tutorial), or the manual method to edit the MAC address in the .vmc file which is just an XML file and can be edited in Notepad<\/li>\n<\/ul>\n<\/ul>\n<\/ul>\n<h3>VMWare Workstation for VMs on Windows OS:<\/h3>\n<ul>\n<li>see <a href=\"http:\/\/www.vmware.com\/products\/workstation\/overview.html\">VMWare<\/a><\/li>\n<\/ul>\n<h3>Creating zero-install portable apps:<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.vmware.com\/products\/desktop_virtualization\/thinapp\/overview.html\" target=\"_blank\">VMWare&#8217;s Thinapp<\/a> is incredibly expensive (~$7,000!)<\/li>\n<li><a href=\"http:\/\/www.cameyo.com\" target=\"_blank\">Cameyo<\/a> is a simple to use freeware product which may be of use<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Delphi developers have a number of issues where a VM may make life easier: allowing Delphi development on a non-WinOS machine such as a Mac using VMWare Fusion, etc allowing one to &#8220;backup&#8221; just their development environment to avoid having &hellip; <a href=\"https:\/\/www.desiderata.com.au\/blog\/?page_id=573\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-573","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/pages\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=573"}],"version-history":[{"count":6,"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/pages\/573\/revisions"}],"predecessor-version":[{"id":578,"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=\/wp\/v2\/pages\/573\/revisions\/578"}],"wp:attachment":[{"href":"https:\/\/www.desiderata.com.au\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}