$a = Test-path c:\some\path\test.txt
if ($a -eq $false)
{
write-host "Application not found triggering install command line."
Write-host "Haven't actually tested this, but should work to detect a file is 
not present."
}


From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Brian Mason
Sent: Tuesday, June 24, 2014 6:40 PM
To: mssms@lists.myitforum.com
Subject: [mssms] RE: Detection method for uninstalling Groupwise Messenger

Can you show me an example of that?  I've always heard it suggested but have 
never done it or seen it done.

MMS MOA NOV<http://mms.mnscug.org/>

_________________
Brian Mason
MCTS, MS MVP ECM
http://www.mnscug.org/

From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Nash Pherson
Sent: Tuesday, June 24, 2014 9:04 AM
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] RE: Detection method for uninstalling Groupwise Messenger

Since the built in detection methods require something to exist (file, registry 
key, product code), you can't really evaluate  that something does not exist.

In this scenario where your 'install' is actually an uninstall, you can use a 
Script detection method.



From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Chris Carbone
Sent: Tuesday, June 24, 2014 8:19 AM
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] Detection method for uninstalling Groupwise Messenger

What is the best method when uninstalling software? I need to uninstall 
Groupwise Messenger on all workstations/servers and I'm getting stuck on 
detection method. How do I create a detection method that tells me the 
uninstall went through?

Or should I just build a package with the uninstall command line and do it that 
way?
This electronic mail transmission may contain confidential information intended 
only for the use of the individual(s) identified as addressee(s). If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution or the taking of any action in reliance on the contents 
of this electronic mail transmission is strictly prohibited. If you have 
received this transmission in error, please notify me by telephone immediately.






Reply via email to