I'm trying to automate the installation (and deinstallation for patching, and upgrades) of TTU on Windows. I have tried the below wtih the results seen:
Installation
A) Straight silent install from documentation:
setup.exe /s /f1"./setup.iss
Result: does not do work, nothing is installed
B) Record installation and then playback:
setup.exe /r /f1"C:\Temp\ttu_install.iss"
setup.exe /s /f1"C:\Temp\ttu_install.iss /f2"C:\temp\ttu_install.log"
Result: Nothing is installed, log contents below:
[InstallShield Silent]
Version=v5.00.000
File=Log File
[ResponseResult]
ResultCode=-12
Deinstallation
A) Using documented script:
cscript uninstall_TTU.vbs TSAW TMGR TDWM TDADMIN TWA TQSCLIENT TQSSERVER TQSADMIN TSWIZ TIWIZ VECOMP TSET SQLA JMSAXSMOD OLEDBAXSMOD MQAXSMOD NPAXSMOD SQLPP TDOLEDB TPUMP PMON FASTEXP MLOAD FASTLD BTEQ PIOM TDODBC CLIv2 TDICU TERAGSS /FORCE:TRUE
Result: After a really long time, none of the software is deinstalled
B) Using documented script for single software:
cscript uninstall_TTU.vbs TMGR
Result: Again, the software is not deinstalled
So my questions is how do others get this process automated? Should I be writing some sort of script which can do this myself (already looking into this possibility)? If it helps, we use Altiris as our software management tool using which the installation/deinstallation would be handled.
Any help is appreciated.
Thanks.
Forums: