Solved

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

Posted on 2009-04-03
3
1,722 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 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

Congratulations! You’re Certified – Now What?

Starting a new career can be overwhelming. Becoming certified in your field of expertise is a great start, but where do you go from here?  Here are some tips to help you on your career journey.

Question has a verified solution.

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

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

632 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