Solved

Group Policy software deployment question

Posted on 2004-03-24
8
228 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
  • 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 50 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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now