Tivoli storage client upgrades

Hello All,

I am using below script to install client but I’m getting 1603 errors code .
Please advise

prefetch 890f8ef1021e69be7b39193a00ce06f6b5f98f4f sha1:890f8ef1021e69be7b39193a00ce06f6b5f98f4f size:6724849 http://xyz:52311/Uploads/890f8ef1021e69be7b39193a00ce06f6b5f98f4f/Disk1.tmp sha256:60e1efe50c10d5c8be1181d517e42c6f3d1aa6a54b602d521014ab333a8588d8
extract 890f8ef1021e69be7b39193a00ce06f6b5f98f4f
wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\IBM Spectrum Protect Client.msi”}” RebootYesNo=“No” REBOOT=“Suppress” ALLUSERS=1 INSTALLDIR=“C:\Program Files\Tivoli\Tsm” ADDLOCAL=“BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd” TRANSFORMS=1033.mst /qn

are you installing the prereqs as well?

There was a similar topic a few months ago that should have some useful information for you:

My install command is the same and works fine with the prereqs added:
msiexec.exe /i “IBM Spectrum Protect Client.msi” RebootYesNo=“No” REBOOT=“Suppress” ALLUSERS=1 INSTALLDIR=“C:\Program Files\Tivoli\Tsm” ADDLOCAL=“BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd” TRANSFORMS=1033.mst /qn

Thanks, I think no…let me look into the post,will get back incase of any concern.
Meanwhile i also tried below script but still have same issue.

prefetch fcd0f895ad12f01cfb3a1110b6eb67125ec44b72 sha1:fcd0f895ad12f01cfb3a1110b6eb67125ec44b72 size:529164098 http://xyz:52311/Uploads/fcd0f895ad12f01cfb3a1110b6eb67125ec44b72/SP_CLIENT_8.1.8_WIN_ML.exe.tmp sha256:83f3c48c377cb07a8252793f280b5b86eeb24bd7fd1c0792c8730af092a163ec

// This parameter will store the already installed 7zip instance if it exists, otherwise it will use the downloaded version.
parameter “7zip” = "{if (exists keys “HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip” of native registry AND exists value “Path” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip” of native registry AND exists folder (value “Path” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip” of native registry as string) AND exists file “7z.exe” of folder (value “Path” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip” of native registry as string)) then (value “Path” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip” of native registry as string & “7z.exe”) else (pathname of client folder of current site & “__Download\7za.exe”)}"
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
prefetch 7za920.zip sha1:9ce9ce89ebc070fea5d679936f21f9dde25faae0 size:384846 https://osdn.net/projects/sevenzip/downloads/64455/7za920.zip

if {exists file (pathname of client folder of current site & “__Download\unzip.exe”)}
utility __Download\unzip.exe
endif

waithidden __Download\unzip.exe -o “{pathname of client folder of current site}__Download\7za920.zip” -d “{pathname of client folder of current site}__Download”

// use the 7zip command line utility to extract the .exe file which contains the MSI
waithidden "{parameter "7zip"}" x -y -o"{pathname of client folder of current site}" "{pathname of client folder of current site}\__Download\SP_CLIENT_8.1.8_WIN_ML.exe"
// Install the MSI
wait msiexec /i "{pathname of client folder of current site}\IBM Tivoli Storage Manager Client.msi" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 INSTALLDIR="c:\program files\tivoli\tsm" ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,Api64Runtime" TRANSFORMS=__Download\1033.mst /qn

action may require restart

Script is now working, In-case someone need reference, Please have a look on below script :-

prefetch 890f8ef1021e69be7b39193a00ce06f6b5f98f4f sha1:890f8ef1021e69be7b39193a00ce06f6b5f98f4f size:6724849 http://xyz:52311/Uploads/890f8ef1021e69be7b39193a00ce06f6b5f98f4f/Disk1.tmp sha256:60e1efe50c10d5c8be1181d517e42c6f3d1aa6a54b602d521014ab333a8588d8
extract 890f8ef1021e69be7b39193a00ce06f6b5f98f4f "C:\sa"
folder create C:\Manish
// CREATEFILE
CreateFile until END_OF_FILE
@echo off
if %1==payload goto :payload

:getadmin
echo %~nx0: elevating self
set vbs=%temp%\getadmin.vbs
echo Set UAC = CreateObject^(“Shell.Application”^) >> "%vbs%“
echo UAC.ShellExecute “%~s0”, “payload %~sdp0 %*”, “”, “runas”, 1 >> “%vbs%”
”%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
goto :eof

:payload

chdir /d D:\Test\TSMClient
"IBM Tivoli Storage Manager Client.msi" /qn
echo %errorlevel% > C:\Manish\errorlev.txt

END_OF_FILE

delete Database.bat
move __CreateFile Database.bat
move “Database.bat” "C:\sa\Database.bat"
waithidden C:\sa\Database.bat
folder delete C:\sa

I am using below relevance to Pull TSM installed version but it is not able to pull the information for the servers were 8.0.1 version is installed, it says TSM is not installed.
Please suggest.
if(not exists key whose(“IBM Tivoli Storage Manager Client” = value “DisplayName” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry) then “” else if(not exists key whose(“IBM Tivoli Storage Manager Client” = value “DisplayName” of it AND exists value “DisplayVersion” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry) then “” else (value “DisplayVersion” of key whose(“IBM Tivoli Storage Manager Client” = value “DisplayName” of it AND exists value “DisplayVersion” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry as string)

Ok got the ans, Win 2012 and above Name of TSM client is IBM Spectrum Protect Client.

I am trying to install TSM in Custom Action but action is not getting executed, Below is the command which I am using, Please suggest if any parameter is in-correct.
msiexec.exe /i “C:\SM\IBMSpectrumProtectClient.msi” /qn RebootYesNo=“No” REBOOT=“Suppress” ALLUSERS=1 INSTALLDIR=“C:\TSM” ADDLOCAL=“BackupArchiveGUI,BackupArchiveCmd,BackupArchiveWeb,ApiRuntime,AdministrativeCmd” TRANSFORMS=C:\SM\1033.mst /qn

You’d probably need to check with the Spectrum Protect folks for the parameters, but what I recall from my days installing TSM is that for some components we needed to spell out 64 explicitly, like ApiRuntime64 for example.

Also be sure any prerequisites like VC++ runtimes are installed first.

msiexec.exe /i “C:\SM\IBM Spectrum Protect Client.msi” RebootYesNo=“No” REBOOT=“Suppress” ALLUSERS=1 INSTALLDIR=“C:\TSM” ADDLOCAL=“BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd” TRANSFORMS=1033.mst /qn

All the pre-requisites are installed and even I tried below parameter but still it is not installing in custom location.
msiexec.exe /i “C:\SM\IBM Spectrum Protect Client.msi” RebootYesNo=“No” REBOOT=“Suppress” ALLUSERS=1 INSTALLDIR=“C:\TSM” ADDLOCAL=“BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd” TRANSFORMS=1033.mst /qn

But When I try to install IBM Spectrum Protect Client.msi in default location using BigFix it is getting installed.
Not sure what can be a problem.

I’ve always used INSTALLDIR=“C:\Program Files\Tivoli\Tsm” so I can’t really speak to that.