Custom Program uninstall package
Hi all.
Not quite sure how to describe this one for the title, but I need to create a package that will uninstall a program that comes in 2 flavours. Unfortunately, there is no uninstall string for me to be able to create a basic script for wmic uninstallations
(i've done that successfully previously), but what it does have is a file called unins000.exe.
I've tried to psexec it, but it doesn't seem to want to work. I've tried copying the uninstall file to another folder so i can call it up using an sccm package, but as soon as it runs, it deletes the uninstall file too, so it's a one-shot uninstaller.
This program has 2 possible install folders, but the file to remove it is the same. Running it from any location works, but it requires a dat file with it, so i can't create an SCCM package that downloads this file, as the dat file won't go with it.
There is no msi file for an installer that i can just create a new package from, and run the uninstall part of it...
Any ideas how I can run this? In case anyone knows, I'm trying to get rid of PDF-Xchange 3 that installs as part of old versions of Mind Manager, when uninstalling Mind Manager doesn't remove this part.
Thanks.
Andy.
May 21st, 2012 6:46am
Can't you just use a task sequence that uses two 'run command line' steps (with a condition on each steps so that it "finds" the right executable)?Torsten Meringer | http://www.mssccmfaq.de
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2012 7:29am
Can't you just use a task sequence that uses two 'run command line' steps (with a condition on each steps so that it "finds" the right executable)?Torsten Meringer | http://www.mssccmfaq.de
May 21st, 2012 7:29am
I'll try it - not had much luck with task sequences though. They never seem to appear on the target PC's. Maybe i'm setting them up wrong, but I don't think I am.
To distribute a task sequence as an advertisement, in the Task Sequence edit page, do i need to choose a package? I've added both the command lines, with an If condition on it as you suggested - first time i've used those so i'm still learning.
Then, i guess i just advertise the package that i pointed the task sequence at? Do I need to do anything special in the package to get it to work? Sorry for sounding like a noob! I don't think anyone here has used a task sequence like this
either.
Thanks.
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2012 8:40am
No.
After creating the task sequence, you advertise the task sequence itself by right-clicking on it and selecting Advertise.
No, nothing needs to be done to the package or program. Also, if you just have two command-lines you are running, then there's no need to use a package or program, just use two Run-Command Line tasks in your tasks sequence.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
May 21st, 2012 10:46am
No.
After creating the task sequence, you advertise the task sequence itself by right-clicking on it and selecting Advertise.
No, nothing needs to be done to the package or program. Also, if you just have two command-lines you are running, then there's no need to use a package or program, just use two Run-Command Line tasks in your tasks sequence.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2012 10:46am


