It's all about the answers!

Ask a question

How to stop RTC Shell Extension rebooting on uninstall?


Gary Day (18914) | asked Feb 17 '15, 11:08 a.m.

We are trying to roll out RTC Windows Shell Extn 5.0.2 to 64bit Win7 desktops via SCCM . Installation Manager 1.8 is already installed.

I have created an install xml file with the rebootLater added to agent-input to stop the automatic reboot and allow our IT people to add some registry keys for tracking purposes then get SCCM to reboot when all is done. That works fine. Using this format "1.8\Installc.exe" input "installRTCShellExtn502.XML" -acceptLicense (the 1.8 folder caontains the IM install source and can install the Installation Manager 1.8 if missing from the client.

For the uninstall I also created a response file as below

<?xml version='1.0' encoding='UTF-8'?>
<agent-input rebootLater='true'>
  <variables>
    <variable name='sharedLocation' value='C:\Program Files (x86)\IBM\IMShared'/>
  </variables>
  <server>
    <repository location='.\RTC-Windows-Shell-repo-5.0.2\im\repo\rtc-windows-explorer-offering\offering-repo'/>
  </server>
  <profile id='IBM Rational Team Concert Shell' installLocation='C:\Program Files\IBM\Rational Team Concert Shell'>
    <data key='eclipseLocation' value='C:\Program Files\IBM\Rational Team Concert Shell'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='win32'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.ws' value='win32'/>
    <data key='cic.selector.nl' value='en'/>
  </profile>
  <uninstall modify='false'>
    <offering profile='IBM Rational Team Concert Shell' id='com.ibm.com.ibm.team.concert.winshell' version='5.0.2.20141022_0821'/>
  </uninstall>
  <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/>
  <preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
  <preference name='com.ibm.cic.common.core.preferences.readTimeout' value='45'/>
  <preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
  <preference name='offering.service.repositories.areUsed' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
  <preference name='http.ntlm.auth.kind' value='NTLM'/>
  <preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
  <preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
  <preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
  <preference name='PassportAdvantageIsEnabled' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
  <preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/>
  <preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true'/>
  <preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true'/>
  <preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true'/>
</agent-input>

The uninstall fails without creating an entry in the usual logs directory and this output in the cmd window

C:\Packaging\In Progress\RTCWindowsShellExtn5.0.2-GB-C-R1\3.Software Package>"1.
8\Installc.exe" input "try2.XML" -acceptLicense
WARNING: Installation Manager 1.8.0 (internal version: 1.8.0.20140902_1503) is a
lready installed at location "C:\Program Files (x86)\IBM\Installation Manager\ec
lipse" and is using "C:\ProgramData\IBM\Installation Manager" for its data locat
ion. Use the installed Installation Manager.
00:00.70 WARNING [main] com.ibm.cic.agent.core.application.HeadlessApplication r
un
  Installation Manager 1.8.0 (internal version: 1.8.0.20140902_1503) is already
installed at location "C:\Program Files (x86)\IBM\Installation Manager\eclipse"
and is using "C:\ProgramData\IBM\Installation Manager" for its data location. Us
e the installed Installation Manager.

If I use the IMCL like this

"C:\Program Files (x86)\IBM\Installation Manager\eclipse\tools\imcl.exe" uninstall com.ibm.com.ibm.team.concert.winshell_5.0.2.20141022_0821 -installationdirectory "C:\Program Files\IBM\Rational Team Concert Shell" -log c:\windows\appslogs\RTCShellExtn502_uninstall.log

That works fine but reboots before we clear up the registry keys.

Is there a solution? I list below the install xml file for comparison with the uninstall.

<?xml version='1.0' encoding='UTF-8'?>
<agent-input rebootLater='true'>
  <variables>
    <variable name='sharedLocation' value='C:\Program Files (x86)\IBM\IMShared'/>
  </variables>
  <server>
    <repository location='.\RTC-Windows-Shell-repo-5.0.2\im\repo\rtc-windows-explorer-offering\offering-repo'/>
  </server>
  <profile id='IBM Rational Team Concert Shell' installLocation='C:\Program Files\IBM\Rational Team Concert Shell'>
    <data key='eclipseLocation' value='C:\Program Files\IBM\Rational Team Concert Shell'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='win32'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.ws' value='win32'/>
    <data key='cic.selector.nl' value='en'/>
  </profile>
  <install modify='false'>
    <!-- IBM Rational Team Concert Shell 5.0.2 -->
    <offering profile='IBM Rational Team Concert Shell' id='com.ibm.com.ibm.team.concert.winshell' version='5.0.2.20141022_0821' features='com.ibm.team.concert.winshell.main' installFixes='none'/>
  </install>
  <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/>
  <preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
  <preference name='com.ibm.cic.common.core.preferences.readTimeout' value='45'/>
  <preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
  <preference name='offering.service.repositories.areUsed' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
  <preference name='http.ntlm.auth.kind' value='NTLM'/>
  <preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
  <preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
  <preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
  <preference name='PassportAdvantageIsEnabled' value='false'/>
  <preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
  <preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/>
  <preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true'/>
  <preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true'/>
  <preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true'/>
</agent-input>

Thanks for your time and thoughts on this.

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.