Office(R)Tool Project

Discussion in 'Microsoft Office' started by Dark Dinosaur, Nov 6, 2021.

?

Change brand name or not ?

Poll closed Dec 26, 2021.
  1. No, keep it like that

    148 vote(s)
    75.1%
  2. Yes, officeRTool need fresh name

    49 vote(s)
    24.9%
  1. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    #2021 Dark Dinosaur, Feb 12, 2024
    Last edited: Feb 12, 2024
    (OP)
    @DuskGolem

    1 - how it works?
    Its first passes via `XML_PARSER.ps1` that validates the file
    later, values go to `rTool` ... and if the product is single, Exclude (if exists), will be ignored
    unless I made a mistake, but I think I did not & everything should work fine

    2- I added an 'auto' switch,
    to not ask stupid questions,
    what you choose (in XML), is what you get.
    it will not ask you, Or questions you

    ----------------------

    I will comment that,
    I don't see a point in adding an `exclude` field
    to single apps ... :D

    ----------------------

    here is the relevant code.
    to make you understand how it works.

    Code:
      if !_action! NEQ 1 for %%$ in (Type,Products) do (
        set "_%%$="
        for /f "usebackq tokens=*" %%# in (`"%SingleNulV2% %PowerShellEXE% -nop -ep bypass -file "%ScriptDir%\XML_PARSER.ps1" !id! %%$ -Extract"`) do set "_%%$=%%#"
        if not defined _%%$ (
          echo ERROR ### Fail to fetch nececery info
          echo:
          goto :Auto_Pilot_MENU
        )
      )
     
      if !_action! EQU 1 for %%$ in (System) do (
        set "_%%$="
        for /f "usebackq tokens=*" %%# in (`"%SingleNulV2% %PowerShellEXE% -nop -ep bypass -file "%ScriptDir%\XML_PARSER.ps1" !id! %%$ -Extract"`) do set "_%%$=%%#"
        if not defined _%%$ (
          echo ERROR ### Fail to fetch nececery info
          echo:
          goto :Auto_Pilot_MENU
        )
      )
     
      for %%$ in (Exclude, lang_pack, proof_tool) do (
        set "_%%$="
        for /f "usebackq tokens=*" %%# in (`"%SingleNulV2% %PowerShellEXE% -nop -ep bypass -file "%ScriptDir%\XML_PARSER.ps1" !id! %%$ -Extract"`) do set "_%%$=%%#"
      )
    
    set "verified="
      for /f "usebackq tokens=*" %%# in (`"%SingleNulV2% %PowerShellEXE% -nop -ep bypass -file "%ScriptDir%\XML_PARSER.ps1" !id! NULL -Verify"`) do set "verified=%%#"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. DuskGolem

    DuskGolem MDL Junior Member

    Jan 9, 2019
    97
    30
    0
    Meaning that if I select any 365 SKU, it will directly install Project and Visio 2016, right?
     
  3. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    #2023 Dark Dinosaur, Feb 12, 2024
    Last edited: Feb 12, 2024
    (OP)
    nope. if you didn`t choose. it will not ask you.
    anyway, that is the SKU you can use. anything else.
    validation will fail. (it support 2024 too, didn't update it)

    Code:
    <!--
    Type     => Single
    Products => 'VisioPro|VisioPro2019|VisioPro2021|ProjectPro|ProjectPro2019|ProjectPro2021|Word|Word2019|Word2021|Excel|
    Excel2019|Excel2021|PowerPoint|PowerPoint2019|PowerPoint2021|Access|Access2019|Access2021|Outlook|Outlook2019|Outlook2021|
    Publisher|Publisher2019|Publisher2021|OneNote|OneNote2021Retail|SkypeForBusiness|SkypeForBusiness2019|SkypeForBusiness2021'
     -->
     
    <!--
    Type     => Full
    Products => VisioPro|VisioPro2019|VisioPro2021|ProjectPro|ProjectPro2019|ProjectPro2021|Mondo|ProPlus|ProPlus2019|ProPlus2021|
    O365ProPlus|O365Business|O365HomePrem
     -->
     
    <!--
    Exclude List: [[ optional ]]
    Products => Word|Excel|PowerPoint|Access|Outlook|Publisher|OneNote|Skype|OneDrive|Bing|Visio|Project
     -->
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. DuskGolem

    DuskGolem MDL Junior Member

    Jan 9, 2019
    97
    30
    0
    Meaning I should use "Products = "O365ProPlus,VisioPro2016,ProjectPro2016"", right?
     
  5. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    #2027 Dark Dinosaur, Feb 12, 2024
    Last edited: Feb 12, 2024
    (OP)
    Minimal protection is needed

    ~~~~~~~~~~~~~~~~

    update the main thread.
    with changes suggested by DuskGolem
    some spelling s**t, and things i forget to add
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    bump version again 11 [J]
    after a bug report.
    (thanks @DuskGolem for the report)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    Is it called "[rev 0]" or "[J]"?
     
  9. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    Rev J
    like jay leno
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    Then the first post is wrong? Also, I don't think "Rev 0" makes sense, only "Rev 1", "Rev 2", etc.
     
  11. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    But according to you, you made multiple mistakes, not just one.
     
  13. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    #2037 Dark Dinosaur, Feb 15, 2024
    Last edited: Feb 15, 2024
    (OP)
    It sounds better & looks better
    that reminds me

    Code:
    "Grandmother dear!" she exclaimed, "what big arms you have!"
    "The better to embrace you, my child."
    
    "Grandmother dear, what big legs you have!"
    "The better to run with, my child."
    
    "Grandmother dear, what big ears you have!"
    "The better to hear with, my child."
    
    "Grandmother dear, what big eyes you have!"
    "The better to see with, my child."
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Bo

    Bo MDL Novice

    Jun 22, 2011
    48
    5
    0
    Everything was working fine with my OfficeRTool installation on my laptop until last month.

    The problem started when I opened an Excel file from work, which required signing into my account on my company's domain.
    When I was done I signed out but now every time I open Excel I get a popup blocking access unless I log in or subscribe.

    I downloaded the latest OfficeRTool and tried a number of times to repair, convert and activate Office but the popup persists.

    I didn't know what else to do so now I'm scrubbing the installation and will try downloading and installing again.

    Any tips on what I should have done?
     
  16. Bo

    Bo MDL Novice

    Jun 22, 2011
    48
    5
    0
    BTW, Selecting 'H' from the main menu should present a warning that continuing will cause Office to be completely uninstalled, and a prompt to type 'Y' to continue.
     
  17. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,171
    5,978
    150
    Normally completely scrub will do the job

    Edit
    Maybe remove hkcr registry keys is enough
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...