I have an msi installer which my customers want to be able to push through a Computer Configuration based GPO. I have noticed that the computer configuration based GPO results in a ProductState of 5 when a user tries to launch the installed application after the machine is restarted. So, I approproately edited the msi to check for ProductState=5 for my custome actions. With this change, my installer seems to work fine during a machine restart and the application gets installed using the GPO. But there are couple of issues:
- One of the features doesn't get installed when a user logs in and tries to access the application by double clicking on the application icon in the desktop (the installer actually finishes the installation and creates the HKCU keys when the user double clicks on the icon). When I check the log, I have "Installed: Local; Request: Local; Action: Local" for the feature that does NOT get installed and "Installed: Local; Request: Reinstall; Action: Reinstall" for the Defaultfeature that gets installed. The REINSTALL property has a value of "DefaultFeaure". I am not sure why one of the features gets re-installed and the other doesn't.
- there is also some problem during uninstall (when the installer is removed from the GPO). Part of my keys and files are not getting removed. Specifically, all my HKCU based keys are not getting removed. I can't use Add/Remove Programs to complete the uninstallation, since it doesn't show the Remove button anymore after the partial uninstallation.
What property should I be looking for during a GPO uninstall and what condition should I use to properly remove all the registry keys and files? REMOVE="ALL" doesn't seem to work. Since logs are not getting created during a GPO based installation/uninstallation, I am unable to find out what is going on. Can someone please help?
Edited by rameshk01, 26 April 2007 - 21:23.