Solved

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

Posted on 2009-04-03
3
1,678 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_
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
If you don't know how to downgrade, my instructions below should be helpful.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

864 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now