1 of 1 people found this helpful
One possibility you have to accomplish this goal is to customize the wmi provider package to utilize packageboot to execute a post-execution task that removes the start menu item. I created a test package with the following parameters:
Create remove.bat file with the following:
rd "C:\Documents and Settings\All Users\Start Menu\Programs\EminentWare WMI Providers" /s/q
Include the .bat file as an Additional File.
Add the following line to PackageBoot as a post execution task
<program type="exe" typeaction="runandwait" name="cmd.exe" pathtype="simplepath" path="%windir%\system32" successcode="0" failureaction="stop" enabled="true">/C %MODULEPATH%\remove.bat</program>
Since the wmi providers are already out in your deployment you will still need to find a way to remove them before publishing your custom package out there. Unfortunately this is not a program that can be uninstalled using the uninstall software function within computer explorer. You may consider publishing the original wmi providers package to wsus and approve for uninstall, then once all your machines have checked in and removed this package you can publish out the modified package.
I like this. Marking this as helpful as opposed to correct only because I feel the correct answer is a feature request that allows for a installer switch which will keep the folder from being created at the time of install. I really appreciate your time on this David. Thanks!
Would you like to submit this as a feature request? If so, I could move this thread over to the Patch Manager Feature Requests forum for you? Otherwise, I would post your feature request there for the Product Manager to review.
I would like to keep this thread here in case others wonder about the same. I have posted this feature request in the appropriate forum. Thank you for your assistance! -mark