InstallUpdate console mode

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
roblew
Charter Member
Charter Member
Posts: 123
Joined: Mon Mar 27, 2006 7:32 pm
Location: San Ramon

InstallUpdate console mode

Post by roblew »

I've installed many client patches using the InstallUpdate.bat utility before, but for some reason, I can't get the console mode to work.

The instructions for the Connector Rollup patch 2 specify that I need to force re-install the 81 Ciritcal Patch after installing the ccrp2 patch, even if I've already installed it previously. But the GUI won't let me install it, saying that it is already installed.

I'm trying to use "InstallUpdate.bat -console -force".
I also tried specifying the patch :

Code: Select all

"InstallUpdate.bat -p "C:\Users\ralq\Desktop\DESKTOP\Info Server\v811\Media\server patches\81-critical-patch.ispkg" -force -console"
I feel like I've gotten this to work before, but don't remember how. FYI, I'm on Vista.

Thanks in advance
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Check if you have the latest 'update installer' to force re-install this latest patch.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
roblew
Charter Member
Charter Member
Posts: 123
Joined: Mon Mar 27, 2006 7:32 pm
Location: San Ramon

Post by roblew »

ok, I've tried it again using the latest updater.jar:

Update Installer version: 8.1.0.174

I got the same results. Has anyone else tried this?
roblew
Charter Member
Charter Member
Posts: 123
Joined: Mon Mar 27, 2006 7:32 pm
Location: San Ramon

Post by roblew »

Per IBM Support, they've given me an easy fix:

Since the InstallUpdate seems to be ignoring the -console flag (at the very least), please edit the InstallUpdate.bat script and add %* to the end of the command line as shown in the following example:

Code: Select all

"C:\IBM\InformationServer\ASBNode\apps\jre\bin\java.exe" -jar updater.jar -i "C:\IBM\InformationServer" %*
I've tested the fix, and it worked for me. Hope this helps someone...

Code: Select all

C:\IBM\InformationServer\Updates\bin>InstallUpdate.bat -console -force
C:\IBM\InformationServer\Updates\bin>"C:\IBM\InformationServer\ASBNode\apps\jre\bin\java.exe" -jar updater.jar -i "C:\IBM\InformationServer" -console -force
Patch to install (path to .ispkg file): C:\Users\ralq\Desktop\DESKTOP\Info Server\v811\Media\server patches\81-critical-patch.ispkg
IPatchInstaller92132:Update complete.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Simple enough - %* picks up everything from the command line. You'd think they would have had it in from the start.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply