Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Group Policy software deployment question

Posted on 2004-03-24
8
Medium Priority
?
236 Views
Last Modified: 2010-03-18
I'm rolling out some sofware packages that our developers created...and just had a few questions about it.  If I install an application using group policy on all machines, what's the best way of uninstalling the app from a single machine or user, and what's the best way of reinstalling to a single machine or user?   I know once you install an app with group policy you shouldn't  really remove or reinstall it with add/remove programs.

Thanks,
Mike
0
Comment
Question by:Ap0th
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 2

Expert Comment

by:ministry92
ID: 10668714
The best way is to use an application packager that creates an uninstall executable and/or key

and then uninstall it...

key loacation:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

the uninstall key is your friend..

If no executable is found (to uninstall) or no key is generated...  find out how the application is packaged for distrabution?

is it a loose collection of files that are copied over?  or does something else create a setup.exe type of setup.  If its a packger, its pretty simple for the dev's to check the box that creates an uninstall option
0
 

Author Comment

by:Ap0th
ID: 10668820
The developers are using VB.NET to create an MSI package.  This particular package is an excel addin, so it does more then just copy files (.dll registration and some other stuff).  Is creating an uninstall executable the only way of doing that?  Is there a way to uninstall without it...either from group policy or from the local machine?  Is there a way to force a reinstall the app for one particular user (this is a per user deployment) even without uninstalling?  I know I can for a reinstall for all users, but I don't know how to do it for just one.
0
 
LVL 2

Accepted Solution

by:
ministry92 earned 200 total points
ID: 10669158
if there is not a key created (as listed above)  or an exe then an uninstall is more difficult.. but...

since you are using msi files.. that is GREAT!!!

there are a whole host of switches you can run from GPO or manual from the users box (or a link they click on in email)  

I prefer to use silent msi switches that install a proggie everytime the user logs on.  It takes a bit longer but we only have a few hunderd users and the apps are real small.  in GPO (User configuratio -> scripts -> logon) and create a batch file that runs the msi (you may need to map a drive first)

for the msi switches: http://support.microsoft.com/default.aspx?scid=kb;en-us;227091
0
 

Author Comment

by:Ap0th
ID: 10670857
So if I do msiexec /x packagename it'll remove the package...will it reinstall the package when I reboot the PC...assuming the gpo is still being applied ofcourse.
0
 
LVL 2

Expert Comment

by:ministry92
ID: 10670937
give it a try..
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question