Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1735
  • Last Modified:

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

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
Reset_
Asked:
Reset_
  • 2
2 Solutions
 
Reset_Author Commented:
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
 
Vadim RappCommented:
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
 
Reset_Author Commented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now