Trilogy 4.2

Discussion in 'MDL Projects and Applications' started by timesurfer, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  2. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    Out of curiosity, which Windows and Office are you using? 32-bit or 64-bit?
     
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #408 timesurfer, Mar 8, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    You are talking about variable/loop area correct?

    Here is chinx code as I remember it

    Code:
    REM Variables
    set OfficeArchType=
    
    REM Check Office Architecture Type
    if '%processor_architecture%'=='x86' Set OfficeArchType=32 && Goto:EndArchCheck
    goto:WOWCheck
    
    :WOWCheck
    2>nul REG QUERY HKLM\SOFTWARE\Microsoft\Office\14.0\Common | find /i "InstallRoot" 1>nul
    IF ERRORLEVEL 1 Set OfficeArchType=WOW && Goto:EndArchCheck
    Set OfficeArchType=64
    
    :EndArchCheck
    
    REM Get Office Installed Path
    if %OfficeArchType%==WOW (
    FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B 
    if not defined InstallRoot ( cls & echo Office 2010 VL is not installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu )
    Goto:FoundPath
    )
    FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B
    if not defined InstallRoot ( cls & echo Office 2010 VL is not installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu )
    
    :FoundPath
    
    cscript "%InstallRoot%"ospp.vbs /dstatus |FINDSTR /i "KMS_Client" >NUL
    if %errorlevel% EQU 1 ( cls & echo No office 2010 VL detected... & ping -n 5 127.0.0.1 >nul & goto mainmenu )
     
  5. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #409 tomah, Mar 8, 2011
    Last edited by a moderator: Apr 20, 2017
    Check the end of the line marked in RED and see if your current code contains a space. It seems to. I believe this is what DigitalDNA was referring to.
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #412 timesurfer, Mar 8, 2011
    Last edited: Mar 8, 2011
    (OP)
    reagentc is how it boots into RE. IR5 has very very rare problem with placing IR5.bat into system drive/hidden partition then in Re running IR5.bat 95% of the time user figures out why they have RE problem or problem with acronis, truecrypt or something messing with system drive detection and placement of IR5.bat
     
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #414 timesurfer, Mar 8, 2011
    Last edited: Mar 8, 2011
    (OP)
    I just want to say we are all probably learing here at least me...lol So I glad it works for you. IR5 is original now as are IORRT variables re-implemented

    Testers please test all checks

    a. Office 2010 VL installed or not
    b. Office 2010 Retail installed
    c. XP, Vista installed
    d. Run as admin
    e. Installation success with IR5, IORRT

    So much appreciation for my testers :shisha:
     
  8. chnix

    chnix MDL Member

    May 16, 2010
    147
    71
    10
    #415 chnix, Mar 8, 2011
    Last edited by a moderator: Apr 20, 2017
  9. dabits

    dabits Guest

    I'm testing this on the laptop, Windows 7 Ultimate 64-bit and Office 2010 Pro Plus VL 32-bit.

    a. I installed Office first, so I can't answer this ...
    b. No Retail available ...
    c. Windows 7 64-bit only ...
    d. Admin Check: OK
    e. IORRT: OK
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #418 timesurfer, Mar 8, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270