Unattended install Teradata 16 ODBC drivers

Tools & Utilities
Enthusiast

Unattended install Teradata 16 ODBC drivers

I can't find a way to make the ODBC package installed silently.

 

How should I do that and is it possible ?


Accepted Solutions
Enthusiast

Re: Unattended install Teradata 16 ODBC drivers

I want to share it for other people to know how I did it:

 

if ($ProcArch -eq "x86")
{
		Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject "Install TeradataODBC_1610.01_ENG" -append
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\SharedICU-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\TDODBC-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-32bit.log`"" -wait
}
else
{
		Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject "Install TeradataODBC_1610.01_ENG" -append
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\SharedICU-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\TDODBC-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-64bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x64\SharedICU-64bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-64bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-64bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x64\TDODBC-64bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-64bit.log`"" -wait
}
1 ACCEPTED SOLUTION
2 REPLIES
Teradata Employee

Re: Unattended install Teradata 16 ODBC drivers

See the TTU Installation Guide, e.g. download it from the Teradata Information Products site or consult the online manual

Enthusiast

Re: Unattended install Teradata 16 ODBC drivers

I want to share it for other people to know how I did it:

 

if ($ProcArch -eq "x86")
{
		Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject "Install TeradataODBC_1610.01_ENG" -append
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\SharedICU-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\TDODBC-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-32bit.log`"" -wait
}
else
{
		Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject "Install TeradataODBC_1610.01_ENG" -append
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\SharedICU-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-32bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x86\TDODBC-32bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-32bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - SharedICU-64bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x64\SharedICU-64bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_SharedICU-64bit.log`"" -wait
        Out-File -filepath "$ENV:Logfiles\InstallWrapper.log" -inputobject " - TDODBC-64bit" -append
        $Process = Start-Process ($PathPrefix + "TeradataODBC\x64\TDODBC-64bit\setup.exe") -ArgumentList "/s /v`"/qn /norestart /log $ENV:Logfiles\TeradataODBC_1610.01_ENG_TDODBC-64bit.log`"" -wait
}