Re: Uninstalling a manually installed program with group policy
- From: "Anthony [MVP]" <anthony@xxxxxxxxxxxx>
- Date: Sat, 18 Apr 2009 21:37:39 +0100
It is not easy to change from manual installation to AD-controlled installation.
You could create a custom msi with an action to remove a previous version. If this were in the same policy, it would always run before the new installation, and would only run if it has not run before.
Anthony,
http://www.airdesk.co.uk
<cjg.groups@xxxxxxxxx> wrote in message news:7caa4f1d-c39b-4193-abea-fa06a608c76e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 15, 6:43 pm, "Marcin" <mar...@xxxxxxxxxxxxxxxx> wrote:.One way to accomplish this would be to create a computer startup script
incorporating the logic checking for the presence of the software to be
uninstalled and initiating its removal if the outcome is positive...
hth
Marcin
<cjg.gro...@xxxxxxxxx> wrote in message
news:867307b4-5094-45ff-9ee2-918afa5478cb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello, your assistance on the following will teach me a valuable
> lesson:
> How can I use group policy to uninstall a program which was manually
> installed with the CD on all of my office computers? I know the
> msiexec command to remove the program, but can I issue that via GP?
> Since I'm doing a software upgrade, how can I ensure that this
> uninstallation has completed before using GP to deploy the new version
> of the program? Can the deploy GPO be dependent on a conditional such
> as "reg query" to confirm the old version is uninstalled?
> Thank you.
Thanks, but I'm nervous about that solution.
For this to work, a few requirements must be met. Can you or anyone
else confirm that these are true:
1. Does a computer startup script run before a **computer assigned**
software deployment group policy object? The old version must be
uninstalled (via startup script) before the new can be installed (via
GP).
2. Will the startup script uninstallation wait for its completion
before starting the GP software deployment?
If I do get this uninstallation to work via Group Policy, is there a
way to force it to uninstall? Or, do I have to delete its
"deployment" GPO containing the package and wait for it to be
uninstalled as a result? That won't work because the new version is
in policy to be deployed, so the old version must be gone before that
runs.
Thanks again.
- Follow-Ups:
- Re: Uninstalling a manually installed program with group policy
- From: cjg . groups
- Re: Uninstalling a manually installed program with group policy
- References:
- Uninstalling a manually installed program with group policy
- From: cjg . groups
- Re: Uninstalling a manually installed program with group policy
- From: Marcin
- Re: Uninstalling a manually installed program with group policy
- From: cjg . groups
- Uninstalling a manually installed program with group policy
- Prev by Date: Re: WMI Filter Using Win32_SystemEnclosure ChassisTypes Multivalue Ele
- Next by Date: Re: block file extensions from running
- Previous by thread: Re: Uninstalling a manually installed program with group policy
- Next by thread: Re: Uninstalling a manually installed program with group policy
- Index(es):
Relevant Pages
|