Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- Set setupDir=%~dp0\bdms
- Set xtenderDir=C:\Windows\Temp\xtender
- REM Extract to temp dir and remove archive
- "%~dp07z.exe" x "%~dp0bdms.zip" -o%setupDir% -aoa
- REM Run setup file
- start "" /wait "%setupDir%\setup.exe" -responseFile "%setupDir%\client.rsp" -waitforcompletion -ignorePrereq
- REM Set up folder permissions
- %~dp0subinacl.exe /subdirectories "C:\oracle" /grant="Users"=F /grant="Administrators"=F /grant="SYSTEM"=F
- %~dp0subinacl.exe /subdirectories "C:\oracle\*.*" /grant="Users"=F /grant="Administrators"=F /grant="SYSTEM"=F
- %~dp0subinacl.exe /subdirectories "C:\Program Files (x86)\oracle" /grant="Users"=F /grant="Administrators"=F /grant="SYSTEM"=F
- %~dp0subinacl.exe /subdirectories "C:\Program Files (x86)\oracle\*.*" /grant="Users"=F /grant="Administrators"=F /grant="SYSTEM"=F
- %~dp0subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\Software\Wow6432Node\Oracle /grant="Users"=F /grant="Administrators"=F /grant="SYSTEM"=F
- REM Copy Files
- Copy "%setupDir%\sqlnet.ora" "C:\oracle\product\11.2.0\client_1\network\admin\sqlnet.ora" /Y
- Copy "%setupDir%\TNSNAMES.ORA" "C:\oracle\product\11.2.0\client_1\network\admin\TNSNAMES.ORA" /Y
- REM Write Registry Entries
- reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Oracle_Home" /t REG_SZ /d "C:\oracle\product\11.2.0\client_1" /f
- reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "TNS_ADMIN" /t REG_SZ /d "C:\oracle\product\11.2.0\client_1\network\admin" /f
- REM Extract AppXtender Desktop
- "%~dp07z.exe" x "%~dp0AppXtenderDesktop.7z" -o%xtenderDir% -aoa
- REM Install AppXtender Desktop and QuickScan
- msiexec -i "%xtenderDir%\quickscan\ISScript10.msi" /qn
- msiexec -i "%xtenderDir%\quickscan\QuickScan 4.7.msi" /qn INSTALLDIR="C:\Program Files (x86)\XtenderSolutions\Content Management\QSP" ISX_SERIALNUM=zxxxxxx REBOOT=ReallySuppress ALLUSERS=1
- msiexec -i "%xtenderDir%\ApplicationXtenderDesktop.msi" /qn
- REM set QSP folder permissions
- %~dp0subinacl.exe /subdirectories "C:\Program Files (x86)\XtenderSolutions\Content Management\QSP" /grant="Everyone"=F /grant="Administrators"=F /grant="SYSTEM"=F
- REM Install BDMS Addon MSIs
- msiexec -i "%~dp0BDMS_Addons\XSAdobeComponent91.msi" /qn ALLUSERS=1
- msiexec -i "%~dp0BDMS_Addons\KeyViewComponent1080.msi" /qn ALLUSERS=1
- msiexec -i "%~dp0BDMS_Addons\SpellCheckComponent.msi" /qn ALLUSERS=1
- msiexec -i "%~dp0BDMS_Addons\XSScanningComponent.msi" /qn ALLUSERS=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement