TM1 Silent script to install API and OLEDB Provider

Post Reply
winoth
Posts: 16
Joined: Mon Nov 28, 2011 11:58 am
OLAP Product: TM1
Version: TM1 9.4 and 9.5.2
Excel Version: Excel 2003

TM1 Silent script to install API and OLEDB Provider

Post by winoth »

I have created a silent script using the 32-bit installation package which installs TM1 API and OLEDB provider under D:\Program Files\Cognos\TM1. This script works correctly and installs the necessary components in x64 bit Windows 2003 server. But the samescript throws the error "The setup.exe is not marked for installation" when run on a x32 bit Windows 2003 server. This error is thrown when it tries to install the base version TM1 9.5.2 itself and the installation does not proceed further. Below are the commands I used.
TM1 9.5.2 Base version command:

setup.exe /w /s /l1033 /v"INSTALLDIR=\"D:\Program Files\Cognos\TM1\" ADDLOCAL=TM1Api,TM1_OLEDB_Provider /qn /lv* D:\temp\TM1APIInstall.log"

Same command for TM1 9.5.2 FP1 version:

setup.exe /w /s /l1033 /v"INSTALLDIR=\"D:\Program Files\Cognos\TM1\" ADDLOCAL=TM1Api,TM1_OLEDB_Provider /qn /lv* D:\temp\TM1APIInstall.log"

Could any of you please help me understand why these commands work in 64-bit server but not in 32-bit server? I am able to install the API and OLEDB components manually without any issues on both 32 bit and 64 bit servers.

Thanks,
Winoth
David Usherwood
Site Admin
Posts: 1454
Joined: Wed May 28, 2008 9:09 am

Re: TM1 Silent script to install API and OLEDB Provider

Post by David Usherwood »

Could it be that you are running the script against the 64bit version of TM1, on a 32bit server?
winoth
Posts: 16
Joined: Mon Nov 28, 2011 11:58 am
OLAP Product: TM1
Version: TM1 9.4 and 9.5.2
Excel Version: Excel 2003

Re: TM1 Silent script to install API and OLEDB Provider

Post by winoth »

No, David. We are using 32-bit version of setup file and installing it on a 32-bit server where no TM1 is installed.
This setup when executed manually does not give any errors.
Martin Erlmoser
Community Contributor
Posts: 125
Joined: Wed May 28, 2008 1:22 pm
OLAP Product: TM1, Cognos Express,..
Version: 9.1.4 FP1
Excel Version: 2010
Location: Vienna
Contact:

Re: TM1 Silent script to install API and OLEDB Provider

Post by Martin Erlmoser »

Code: Select all

SET TM1ADDLOCAL=TM1_OLEDB_Provider,TM1Api
SET TM1CLIENTADMHOST=yourserver

msiexec /i"IBM Cognos TM1.msi"TRANSFORMS=1033.mst INSTALLLEVEL=0 INSTALLDIR=\"D:\Program Files\Cognos\TM1\" ADDLOCAL=%TM1ADDLOCAL% PRODUCTCHOOSEN=TM1 TM1CLIENTADMHOST=%TM1CLIENTADMHOST% /QR
does this work? (i never installed only this components..)
winoth
Posts: 16
Joined: Mon Nov 28, 2011 11:58 am
OLAP Product: TM1
Version: TM1 9.4 and 9.5.2
Excel Version: Excel 2003

Re: TM1 Silent script to install API and OLEDB Provider

Post by winoth »

This is a defect PM53017 -

Attempting the following silent install fails on 32 bit windows but works on 64 bit windows. This will install successfully manually on 32 bit windows.

setup.exe /w /s /l1033 /v"INSTALLDIR=\"C:\Program Files\Cognos\TM1\" ADDLOCAL=TM1Api,TM1_OLEDB_Provider /qr /lv C:\temp\TM1APIInstall.log"
Post Reply