Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Uninstalling CA eTrustITM 8.0 with msiexec, how to suppress question about reboot

Posted on 2009-04-03
3
Medium Priority
?
1,730 Views
Last Modified: 2013-11-14
Hi,
I am working on an upgrade script that will uninstall eTrustITM ver 8.0 and install 8.1. The script works perfectly but i get a question during uninstall asking if i want to reboot now or later. It looks like it is eTrustITM asking the question and not msiexec. Does anyone know how i can suppress the question regarding reboot.


Here is the script (i am using kix):
 
CASE $eTrustITMver = "8.0"
shell 'MsiExec.exe /qbn /X{A73227F9-C4B0-4018-B0B0-4DCAF791A29E} /q /norestart' 
shell 'MsiExec.exe /qbn /X{847501DF-07C0-4691-B04A-893929F108AE} /q /norestart'
shell '\\server\CA\CA_INST\English\Bin\Win32\install.exe /s /n INO_ICFFILE=\\server\CA\CA_INST\English\Bin\Win32\inoc6.icf'
 
Everything works fine exept the question regarding reboot now or later.

Open in new window

0
Comment
Question by:Reset_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Reset_ earned 0 total points
ID: 24069675
I solved it!

I tried 1000 variants of the msiexec commands, finally i realized that the placement for the /qn switch made a difference. I had it in the end, but when i placed it before the /x (uninstall switch it all worked fine).
shell 'MsiExec.exe /qn /X{847501DF-07C0-4691-B04A-893929F108AE}' ;iGateway
shell 'MsiExec.exe /qn /X{A73227F9-C4B0-4018-B0B0-4DCAF791A29E}' ;eTrustITM

Open in new window

0
 
LVL 40

Assisted Solution

by:Vadim Rapp
Vadim Rapp earned 2000 total points
ID: 24183685
Actually, looking at what you posted first, it looks like it was evem the position, but the switch itself. You had it twice : /qbn and /q . Quite likely /q was overriding /qbn, and /q without anything following is incorrect; on the other hand, /qbn is also incorrect: should be either /qn, or /qb .
0
 
LVL 3

Author Comment

by:Reset_
ID: 24296199
You are quite right that both the double /q switch and the qbn switch are wrong. I realized that too when i read the help text for msiexec at technet. I skipped the /q switch in front on an early stage when i had the trouble as i realized that there would be no point in having it twice. The reason why it was so clear that the position mattered was because i was using the same sentence when i solved it as i was when it failed (the sentence i have posted above as solution). i moved the switch in front and it worked, that was the only change i made from the not working sentence to the working.
0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question