Deploy msi for selected clients : package level rules

Topics: Configuration Issue, Misc., Publishing Issue, Translation - English
Jul 20, 2016 at 3:07 PM
Hi Everyone,

In my environment i need to deploy an application to only laptops. Before that i worked very fine with WPP to install software to all devices.
Obviously i miss one o more things. I show below the single step for your help.

1.create a new update
Image
  1. Add a MSI-ProductInstalled ad update level and a WMI-query rule at package level .
    wmi: "Select * from Win32_Battery WHERE (BatteryStatus <> 0)" On the desktops the value is equal to '0' because It haven't a battery.
    Click on next button without check "delete rules at package level"
    Image
  2. add a MSI-productInstallled with the flag on "Reverse Rule"
    Image
  3. click on the button "next" to go on and publish the application.
Problem: the package is available also for the desktops and I don't want it. I ask kindly your help for to understand how to apply the rules inside WPP.

Thanks so much
RS
Coordinator
Jul 20, 2016 at 3:45 PM
Hi, in your case, the WMI query must be in the «IsInstallable» rule.
Jul 20, 2016 at 4:16 PM
Hi DCourtel,
thanks for your fast reply. Sorry, but where can i found the «IsInstallable» rule option??

Image

thanks again.
RS
Editor
Jul 20, 2016 at 5:22 PM
Have a look in first line of this Window: http://i.imgsafe.org/f8f2d30ef8.jpg
Jul 21, 2016 at 3:54 PM
Sorry WinfriedSonntag but i don't understand. Now, I'm like a cow that looks! :(
Please, can you explain me how to create a msi package with wmi-query?

thanks so much
Coordinator
Jul 21, 2016 at 4:39 PM
The Wmi-query must be where you have set the MSI-ProductInstalled, with Reverse-Rule.
And please, READ the DOCUMENTATION
Editor
Jul 21, 2016 at 8:52 PM
Jul 22, 2016 at 8:52 AM
Thanks DCourtel for your tip! It works ! Thanks also to WinfriedSonntag.

I'll read again many times the documentation.