Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
florianz1 Absent Member.
Absent Member.

how to get rid (scriptwise) of uninstall-popups from 8.0.1

just scripting an upgrade from securelogin 8.0.1 to 8.0.3 and wanting to
give somebody else who might want to make such a kind of
silent/unattended an idea for a specific problem.

8.0.3 can get installed 'on top' of 8.0.1 (HF1), uninstall is done by
the installer itself.
unfortunately development forgot two 'debug' popups in the version which
went into production (on citrix only). so this is can not be done
silently anymore, uninstall is started, but then the system is waiting
for somebody to click OK on those two (showing a list of currently
running processes - supposedly to give a before/after snapshot for some
part of that process.

anyway, below is an illustration how to get such a thing to (again) not
require human intervention to upgrade from 8.0.1 (HF1)

this is not working code, just to give you an option to handle that ...

If ($ServerType -eq 'Citrix')
# get rid of popup(s) on citrix-servers when uninstalling
# ------------

# start install with timeout to get pshell to handle popups,
this starts uninstall and continues the script after 120secs.
# function from an internal module: Start-arzProcess
-FileFullName $tmpssoInstallFile -Arguments $args -WaitForExit 120 |

# Load the .NET Framework class Microsoft.VisualBasic

| Out-Null

# Load the .NET Framework class System.Windows.Forms

| Out-Null

# popup is the 'youngest' msiexec processes 'child'
$Processes = Get-Process -Name 'msiexec' | Sort-Object {
$_.StartTime }
$lastItem = $Processes.Count - 1
$Process = $Processes[$lastItem]

# two popups to get rid of
For ($i=0;$i-lt 2;$i++)
# 'click' it away

[System.Threading.Thread]::currentThread.join(1000) |
#LogI ('Send key {ENTER}')
[System.Threading.Thread]::currentThread.join(9000) |

Start-Sleep -Seconds 5


florianz's Profile: https://forums.netiq.com/member.php?userid=309
View this thread: https://forums.netiq.com/showthread.php?t=53740

1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: how to get rid (scriptwise) of uninstall-popups from 8.0.1


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.