Re: Uninstalling a manually installed program with group policy

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

.



Relevant Pages

  • Re: Uninstalling a manually installed program with group policy
    ... software deployment group policy object? ... Will the startup script uninstallation wait for its completion ... before starting the GP software deployment? ...
    (microsoft.public.windows.group_policy)
  • Re: Windows Update Error on XP 64bit: update is redirected from v6
    ... Antivir *usually* does not interfere with the installation of core ... Proxycfg settings WORKED. ... Microsoft Windows 2000 Operating System Group Policy Result tool ...
    (microsoft.public.windowsupdate)
  • Re: Windows Update Error on XP 64bit: update is redirected from v6
    ... Antivir *usually* does not interfere with the installation of core system updating components. ... Microsoft Windows 2000 Operating System Group Policy Result tool ... The user is a member of the following security groups: ... Open the AULOGS subfolder located in the root drive [the drive where WINDOWS is installed to, usually C:\] Extract the contents of the data.cab as you would a .zip file. ...
    (microsoft.public.windowsupdate)
  • Re: Windows Update Service Crashes When check for new updates starts
    ... Apparently the installation of the latest Version of the WUA is not running to completion as the log indicates that it's being downloaded over and over. ... When the download completes close all browsers and open programs. ... Group policy undefined for peer caching. ... SUCCESS - IBackgroundCopyJob is correctly registered. ...
    (microsoft.public.windowsupdate)
  • RE: Deploy SP2 with Active Directory and GPOs?
    ... In a Windows 2000 or Windows 2003 based domain, ... Group Policy is stored as part of Active ... publish programs to users or computers in the Windows 2000 or Windows 2003 ... After the installation files have been prepared, ...
    (microsoft.public.windowsxp.general)