home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / winbuilder.7z / Projects / VistaPE-Core / VirtualTest / VirtualBox.script < prev    next >
INI File  |  2008-10-12  |  5KB  |  58 lines

  1. [Main]
  2. Title=Run ISO in VirtualBox
  3. Type=script
  4. Level=8
  5. Description=Runs your PE ISO in VirtualBox
  6. Selected=False
  7. Locked=true
  8. Author=Peter Schlang & modify by NightMan
  9. Version=12
  10. Date=20.07.2008
  11. Download_Level=1
  12. Mandatory=False
  13.  
  14. [Variables]
  15. %VBExe%=
  16. %BoxName%=WinBuilderBox
  17.  
  18. [Process]
  19. System,ERROROFF
  20. RegRead,HKLM,SOFTWARE\InnoTek\VirtualBox,InstallDir,%VBPath%
  21. If,NOTEXISTVAR,%VBPath%,RegRead,HKLM,"SOFTWARE\Sun\xVM VirtualBox",InstallDir,%VBPath%
  22. #Message,"_%VBPath%_",Information
  23. If,_%VBPath%_,Equal,__,Run,%ScriptFile%,NotInstalled
  24. If,_%VBPath%_,NotEqual,__,Run,%ScriptFile%,Installed
  25.  
  26. [Installed]
  27. Set,"%VBExe%","%VBPath%VBoxManage.exe"
  28. echo,"Running %IsoFile% in VirtualBox.."
  29. ShellExecute,Hide,"%VBExe%","createvm -name %BoxName% -register"
  30. ShellExecute,Hide,"%VBExe%","registerimage dvd #$q%IsoFile%#$q"
  31. ShellExecute,Hide,"%VBExe%","modifyvm %BoxName% -memory %pNumberBox1% -dvd #$q%IsoFile%#$q"
  32. ShellExecute,Hide,"%VBExe%","startvm %BoxName%"
  33. ShellExecute,Hide,"%VBExe%","modifyvm %BoxName% -dvd none"
  34. ShellExecute,Hide,"%VBExe%","unregisterimage dvd #$q%IsoFile%#$q"
  35. ShellExecute,Hide,"%VBExe%","unregistervm %BoxName% -delete"
  36.  
  37. [NotInstalled]
  38. Beep,Error
  39. Message,"VirtualBox must be installed in order to run it!",Error
  40.  
  41. [Interface]
  42. pTextLabel1="VirtualBox is an OpenSource Virtual Machine",1,1,10,19,345,18,9,Bold
  43. pTextLabel2="Allocated Memory for VirtualBox",1,1,10,131,171,18,8,Normal
  44. pTextLabel3="VirtualBox must be installed on your system!",1,1,10,60,315,18,9,Bold
  45. pWebLabel1=Info,1,10,345,21,200,18,http://www.virtualbox.org/
  46. pWebLabel2=Download,1,10,345,60,180,18,http://www.virtualbox.org/download/1.4.0/VirtualBox_1.4.0_Win_x86.msi
  47. pNumberBox1=pNumberBox1,1,2,182,130,45,22,512,256,1024,128
  48. pTextLabel4=MB,1,1,229,131,44,18,8,Normal
  49.  
  50. [EncodedFile-AuthorEncoded-vbox.gif]
  51. lines=0
  52. 0=eJwdjQ1Ykucax/EbyQ8wMVJbSFpqttDS/GiGJii4dhDlqKxTJGvOLKdipVEbKpAaahlz5pCshD4UQwtmnvCkJqgpahZal0Or1evptOu1muFaXe957H/9nt/zv+/rfa8nkU6L3LYvFhWLOopChaBAlvtJcAs/HeGnS/ip3QGZuaMaXkChglCO4SisHwobhfKioQgsB79EJ/80NJmDDeRgyZyVW78lxOUS4vh+tCNBKYJQem5oigBNl6LpMnTqOWymHJupxO+/hs3REgpuBbFEoZkAaeg+adQ+URRwDuiyKEAOQO5XoCYd7Y7PkcXnyOMLZPEFckaBjAFcImeVgI0yvkTJKFAygEvUrBJlkEQfKtEHSQxbqoei6k0siZwjkTMkakbVLZZEyZKoORIlB7hGzZJoWTVaDqAeoOfVKHk16txla3Pr1bx6LQ8sFfrcejDqcxV6vkLNV2j5Cr1AoRWoAPr4GlN8vYkBUIBijleYGctYOPJhFigqCwvQbuGoLJx2UCAOQAfzFIZchYEPrAKY9l8x81UGvsrEbzcJVAZBu6mk3czXASwCnZnXDvF0ADhXB+UC90C5PTBfB/F7YAEoPVa+ERYYYb7RKjBaRSqtqB2glwJ0eplOL2ofFulMUp1JpDOLeixSnVnaA7DIdAZZj0muM8h7ACaZzizrAVjkPeAzSAk2RovcaBEZIZERFo3BUiMkHYNF4IkxqxQwZZUZIdkYJDdCcuAxWDYFy6e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