VMware Workstation (Multi-Brand) Bios Installer

Discussion in 'MDL Projects and Applications' started by searchengine, Oct 21, 2009.

  1. highspeedmac

    highspeedmac MDL Member

    Aug 31, 2009
    143
    2
    10


    Actually, I know quite a lot of people who do that.. On my person Business PC I have the the Boot Files on the C:, Several Windows Installs on the D:, Documents and settings on the E: , and the Program Files on the the F.. :D

    It's actually a highly recommend setup..

    @searchengine, lol, something for your next update.. :D
     
  2. searchengine

    searchengine Guest

    randomchaos26 & highspeedmac .... LOL :D

    There are a fair few ways to tell a batch file to select file paths ... but, its not feasible to have an installer look for custom file paths all over the shop for all o/s's (32&64bit).

    My interest for this patcher is to have it look for vmx.exe in the 4xlocations on 1st post .... and not any other "paths chosen by user" ... too clumsy to manage.

    randomchaos26 "%systemdrive%" checks C-Z (not just C) ... and if I wanted to go all international with file paths I would go pure DOS 8.3 compliant eg. %systemdrive%\PROGRA~1\VMware\VMWARE~1\VMB965~1.EXE .... but I don't, so I wont. :D
     
  3. randomchaos26

    randomchaos26 MDL Novice

    Aug 3, 2009
    7
    2
    0
    i have two batch scripts to enable/disable vmware's services and network adapters across my x86 and x64 installs, i will post it so you can see how i select where the program files directory is on my various configurations (some default windows paths, some custom paths)

    start-vmware.bat:

    @echo off
    color 0A

    rem IF PROCESSOR_ARCHITECTURE == amd64 OR
    rem PROCESSOR_ARCHITEW6432 == amd64 THEN
    rem // OS is 64bit
    rem ELSE
    rem // OS is 32bit
    rem END IF
    if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto set64
    if "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto set64
    set progpath=%ProgramFiles%
    set mode=x86
    set devcon=devcon32.exe
    goto do_start
    :set64
    rem vmware installs in the 32bit program files directory by default on x64
    set progpath=%ProgramFiles(x86)%
    set mode=x64
    set devcon=devcon64.exe
    :Do_start

    echo running in %mode% mode.

    title enabling VMware Network Adapters...
    %devcon% enable *VMnetAdapter1
    %devcon% enable *VMnetAdapter8

    title starting VMware Authorization Service...
    net start VMAuthdService

    title starting VMware DHCP Service...
    net start VMnetDHCP

    title starting VMware NAT Service...
    net start "VMware NAT Service"

    rem title starting VMware Virtual Mount Manager Extended...
    rem net start vmount2

    rem title starting VMware Registration Service...
    rem net start vmserverdWin32

    rem title starting VMware Converter Service...
    rem net start ufad-p2v

    rem prefer to start vmware workstation, if its installed
    if exist "%progpath%\VMware\VMware Workstation\vmware.exe" goto start_vmware
    title starting VMware Player...
    start /D"%progpath%\VMware\VMware Player\" vmplayer.exe
    goto end
    :start_vmware
    title starting VMware Workstation...
    start /D"%progpath%\VMware\VMware Workstation\" vmware.exe

    :end
    @exit

    this was for vmware workstation 6.5 (and vmware player if workstation was not installed) but it should still work for vmware workstation 7.0, theres just a new service "VMware USB Arbitration Service"
    the script to disable vmware is similar
     
  4. randomchaos26

    randomchaos26 MDL Novice

    Aug 3, 2009
    7
    2
    0
    tested successfully on this machine, should work on all my other machines, and if i didn't mess it up too badly, most other people's computers as well
    used batch subroutines for extra fancy

    @echo off
    color 0A

    if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto set64
    if "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto set64
    set progpath=%ProgramFiles%
    goto do_start
    :set64
    rem vmware installs in the 32bit program files directory by default on x64
    set progpath=%ProgramFiles(x86)%
    :Do_start

    set base=%progpath%\VMware
    set vmx=vmware-vmx.exe
    set backup=%base%\BackUp-VMX
    set found=false

    call :Do-check
    if "%found%"=="false" goto ERROR1
    call :Do-setup
    rem write code here

    GOTO:EOF

    :Do-check
    rem check subroutine
    set check-paths=VMware Workstation Lite\bin,VMware Workstation\bin,VMware Workstation,VMware Workstation\x64
    :processToken
    for /f "tokens=1* delims=," %%a in ("%check-paths%") do (
    if exist "%base%\%%a\%vmx%" set found=%%a
    set check-paths=%%b
    )
    if not "%check-paths%" == "" goto :processToken
    rem if the path was not found, get out of here
    if "%found%"=="false" GOTO:EOF
    set aox=-force -guiless -nobackup -dir "%base%\%found%\"
    if not exist "%backup%\%vmx%" md "%backup%" & call :Do-backup
    GOTO:EOF

    :Do-backup
    rem backup subroutine
    color 80
    mode con cols=80 lines=3
    echo.
    echo Backing-Up "%vmx%" to your :%backup% folder
    copy "%base%\%found%\%vmx%" "%backup%\%vmx%" >nul
    ping -n 10 127.0.0.1 >nul
    GOTO:EOF

    :Do-setup
    rem setup subroutine
    rem write code here
    GOTO:EOF
     
  5. searchengine

    searchengine Guest

    @randomchaos26 ....

    the 2nd script you posted is actually very interesting ... tidy use of set and set check-paths etc. .... will have a closer look at weekend.

    damn it ... your making me think dark thoughts about neutralizing language ID of binres 6006, and going international (using DOS only file paths/names). :D:D:D
     
  6. psyco

    psyco MDL Novice

    Aug 26, 2009
    13
    0
    0
    @searchengine
    Hi all, i'm at work now.
    My VMware 7 is english versione, not italian (only OS is italian).
    And all my problems are same if i use modded exe or i add bios440.filename="modded bios" to .vmx file. (;) I don't use modded exe together bios440.filename)
    VMWare 6.5 work fine, but with VMWare 7 i've all that problems.
    VMware 7 and VMware 6.5 have same bios?
     
  7. psyco

    psyco MDL Novice

    Aug 26, 2009
    13
    0
    0
    Some new tests on WMvare 7.0.0 build-203739
    - ASUS, MSI and HP modded exe don't work (i don't see HD during OS installation) :(
    - DELL modded exe works fine :)
    I will try other modded exe at home, i'm am at work now (and i must WORK :D)
    Can anyone check?
    Bye bye
     
  8. amires

    amires MDL Member

    Sep 27, 2009
    219
    129
    10
    I don't see why you people want to try all available certificates. Once a certificate is working stick to it. For me Dell is working perfectly.
     
  9. psyco

    psyco MDL Novice

    Aug 26, 2009
    13
    0
    0
    The problem is not the certificate :), but i can't see HD during installation
    If you read some post ago, you can see my problems.
    At this time (after 4 tests) Dell is the only working on WMvare 7.0.0 build-203739
     
  10. amires

    amires MDL Member

    Sep 27, 2009
    219
    129
    10
    What i said was in general not to you specifically. I didnt mean to insult you. I tried Dell and it worked for me. I am glad that Dell is working for you too.
     
  11. psyco

    psyco MDL Novice

    Aug 26, 2009
    13
    0
    0
    @highspeedmac
    Tnx a lot for your great help
    Dell modded exe now work fine. I will try some new tests on weekend.
    VMware-vmx.exe File Version 7.0.0.9911 : your same version
    VMware 7 Version 7.0.0 Build-203739 : your same version

    plz can any upload (or send me by PM) singles modded bios? i want try to manually mod the vmx file.
    bye bye
     
  12. lightman

    lightman MDL Novice

    Mar 20, 2009
    16
    0
    0
    does somebody got the modded VMware workstation 7 modded bios file, i want to try the vmx edit method.

    thnx
     
  13. catimimi

    catimimi MDL Novice

    Nov 21, 2007
    17
    0
    0
    #136 catimimi, Nov 6, 2009
    Last edited: Nov 7, 2009
    Yes, I say that, I patch vmware-vmx.exe, then I extract Binres6005. If the file is correcty parched, I should get the BIOS for Linux and I don't.
    Sorry for thie late reply but I was away.

    Regards.
     
  14. searchengine

    searchengine Guest

    UPDATED DOWNLOAD LINK ON MAIN PAGE

    +10 SLP1.0's added - thanks to bigfoot15

    This is the last planned update, within the near future :)
     
  15. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    Thank you, invaluable utility!

    sebus
     
  16. highspeedmac

    highspeedmac MDL Member

    Aug 31, 2009
    143
    2
    10
    @searchengine

    Thanks for the update. One can never have too many SLP's..

    LOL :D
     
  17. randomchaos26

    randomchaos26 MDL Novice

    Aug 3, 2009
    7
    2
    0
    i see what you did there, switched out "%systemdrive%\Program Files\" for %ProgramFiles% and "%systemdrive%\Program Files (x86)\" for %ProgramFiles(x86)%