[Main] Title=Run ISO in VMware Type=script Level=7 Description=Runs your WinBuilder PE ISO in VMware player or workstation Selected=False Locked=True Author=booty#1 Version=5 Date=29.05.2007 History=002 psc move VMWare files to Temp; add nativeEx projects; start VMWare automatically; add VMWare logo History=003 psc fix bug of exchanged [XP] and [W2003] Download_Level=1 Upload=2007-Nov-21 10:35:57 Disable=%scriptdir%\VirtualBox.script,%scriptdir%\qEmu.Script [Variables] %VMXDir%=%ProjectTemp%\VMware %VMXFile%=%VMXDir%\VistaPE.vmx [Process] RegRead,"HKLM","SOFTWARE\VMware, Inc.\VMware Workstation","InstallPath","%VMwarePath%" #Message,"Detected VMware player or workstation installation under: _%VMwarePath%_",Information If,ExistDir,%VMwarePath%,Run,%ScriptFile%,Installed If,NotExistDir,%VMwarePath%,Run,%ScriptFile%,NotInstalled [Installed] DirMake,"%VMXDir%" FileDelete,"%VMXFile%" ExtractFile,"%ScriptFile%","Folder","VistaPE.vmx","%VMXDir%" TXTReplace,"%VMXFile%","$MEMORY$","%pNumberBox1%" TXTReplace,"%VMXFile%","$ISOFILE$","%ISOfile%" If,%OS%,Equal,XP,Run,%ScriptFile%,XP If,%OS%,Equal,W2003,Run,%ScriptFile%,W2003 // if there is still $OS$ and $DISPLAY$, this project propably is VistaPE TXTReplace,"%VMXFile%","$OS$","longhorn" TXTReplace,"%VMXFile%","$DISPLAY$","VistaPE" echo,"Running %IsoFile% in VMware.." ShellExecute,Hide,"%VMwarePath%\VMRUN","start #$q%VMXFile%#$q" [XP] TXTReplace,"%VMXFile%","$OS$","winxppro" TXTReplace,"%VMXFile%","$DISPLAY$","%ProjectName%" [W2003] TXTReplace,"%VMXFile%","$OS$","winnetstandard" TXTReplace,"%VMXFile%","$DISPLAY$","%ProjectName%" [NotInstalled] Beep,Error Message,"VMWare Player or Workstation must be installed in order to run it!",Error [Interface] pTextLabel2="Allocated Memory for VMware guest",1,1,10,131,176,18,8,Normal pTextLabel3="VMware Player 2.0 or VMware Workstation 5 / 6 must be installed on your system!",1,1,10,59,315,34,9,Bold pWebLabel2="Download VMware player",1,10,224,94,143,18,http://www.vmware.com/download/player/ pNumberBox1=pNumberBox1,1,2,188,130,45,22,512,160,1024,16 pTextLabel4=MB,1,1,237,131,44,18,8,Normal pTextLabel1=Requirements:,1,1,10,40,230,18,8,Normal [EncodedFolders] Folder [Folder] VistaPE.vmx=461bytes,615bytes [EncodedFile-Folder-VistaPE.vmx] lines=0 0=eJxtkl9LwzAUxd8L/Q5j9NWiKCiCD0MnDqYVq8ge0+S2Cyb3hvypzE9v0unWQd/a+zvn3OTmcsJWdmUP1knC2d1sfjPPs15aH5h6+hyDqwiEdEax3QvTEEvFw6p+XS82RZ51AZyv6lSs6vivQTv5k0Tz4nn5XL1timiXAs5vz0tjwQH6BN/fPpZH0EoFf9nzYlVXj6v1cuQT0EsO7zszCLiwpM+kZh1ESZ61iozZnaQ/LtZ1incUUEy03dfHXc8uDuW/ITxAnwC4i8vrI2TBkwAPfBwXXDPRxFhJVvpd2VnWNCASQrKaqTEMOInpG2y6cDl8VW2b8JZZMQFxkrngDKCYZOmsfkTybOm3YBH81CMdGSfEePW4GP+PgcyfKJgQ0e/+cQcIlnnYN5GOFEvu0hMpV2671pVxtVijYNTvuIXGkgjc35M20ddIFSc2HJvcPnOfE0ycoUjjUJIPAs0wDIPMM74F/mVIoi97Xft4mCQ4eC1oiWKFzjOlxrvzC4QL/mJ4nOMOyywuSQxw1SvLrWAYBSMOKDFD6CZG7PIri0S2MzABAAZPBsH8puzGAQAAAAIAAAAnAAAAggEAAAAAAAABAAAAAAAAAAAAAAA [AuthorEncoded] vmware_ico_3.jpg=1Kb,1Kb Logo=vmware_ico_3.jpg [EncodedFile-AuthorEncoded-vmware_ico_3.jpg] lines=0 0=eJyd0Xk41HkcB/Dvbw4zY4aMYzKaWQzKLQyh6dJGRGVEY7IbjaNhbSG5Uoy7Zmkm62iJ0rIRElOoNoxIbrlZiw45l8hVzNKzxz/7x+6+P39+3s/neV7PR9QjGgJS1hZW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