@echo off
cd /d "%~dp0"
IF /i %PROCESSOR_ARCHITECTURE% EQU x86 (SET "REG32=") ELSE (SET "REG32= /reg:32")
IF EXIST "%CD%\ADDINS\Office Tab\TabsforOffice86.dll" (
REGSVR32.exe /s "%CD%\ADDINS\Office Tab\TabsforOffice86.dll"
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforAccess" /ve /t REG_SZ /d "TabsforAccess Object" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforAccess\Clsid" /ve /t REG_SZ /d "{9899B599-4396-4A05-9A13-4DA9D815FF90}" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforExcel" /ve /t REG_SZ /d "TabsforExcel Object" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforExcel\Clsid" /ve /t REG_SZ /d "{05DD84BD-0C52-460B-B32C-F1A269806EF6}" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforPowerPoint" /ve /t REG_SZ /d "TabsforPowerPoint Object" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforPowerPoint\Clsid" /ve /t REG_SZ /d "{E6E84EFE-DFD8-4CAB-95F8-7BEBE469F29A}" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforWord" /ve /t REG_SZ /d "TabsforWord Object" /f
REG.exe add "HKLM\SOFTWARE\Classes\OfficeTab.TabsforWord\Clsid" /ve /t REG_SZ /d "{3AFC388C-F64C-4B45-A7A8-0F899C29F4BE}" /f
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "License Code" /t REG_SZ /d "000016-Q4F8Y7-Y79K5Q-2BHBZE-8QB29N-Q15BHF-3J3R8Y-GC2XPE-XK8T0Q-UJ02K9" /f%REG32%
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "License Name" /t REG_SZ /d "Tracy Shaffer-1" /f%REG32%
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "TabsforAccess" /t REG_DWORD /d "1" /f%REG32%
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "TabsforExcel" /t REG_DWORD /d "1" /f%REG32%
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "TabsforPowerPoint" /t REG_DWORD /d "1" /f%REG32%
REG.exe add "HKLM\SOFTWARE\ExtendOffice\Office Tab" /v "TabsforWord" /t REG_DWORD /d "1" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Access\Addins\OfficeTab.TabsforAccess" /v "Description" /t REG_SZ /d "Tabs for Access 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Access\Addins\OfficeTab.TabsforAccess" /v "FriendlyName" /t REG_SZ /d "Tabs for Access 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Access\Addins\OfficeTab.TabsforAccess" /v "LoadBehavior" /t REG_DWORD /d "3" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Excel\Addins\OfficeTab.TabsforExcel" /v "Description" /t REG_SZ /d "Tabs for Excel 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Excel\Addins\OfficeTab.TabsforExcel" /v "FriendlyName" /t REG_SZ /d "Tabs for Excel 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Excel\Addins\OfficeTab.TabsforExcel" /v "LoadBehavior" /t REG_DWORD /d "3" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\PowerPoint\Addins\OfficeTab.TabsforPowerPoint" /v "Description" /t REG_SZ /d "Tabs for PowerPoint 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\PowerPoint\Addins\OfficeTab.TabsforPowerPoint" /v "FriendlyName" /t REG_SZ /d "Tabs for PowerPoint 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\PowerPoint\Addins\OfficeTab.TabsforPowerPoint" /v "LoadBehavior" /t REG_DWORD /d "3" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Word\Addins\OfficeTab.TabsforWord" /v "Description" /t REG_SZ /d "Tabs for Word 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Word\Addins\OfficeTab.TabsforWord" /v "FriendlyName" /t REG_SZ /d "Tabs for Word 9.20" /f%REG32%
REG.exe add "HKLM\Software\Microsoft\Office\Word\Addins\OfficeTab.TabsforWord" /v "LoadBehavior" /t REG_DWORD /d "3" /f%REG32%
)
