This project has moved and is read-only. For the latest updates, please go here.

Deploy msi for selected clients : package level rules

Topics: Configuration Issue, Misc., Publishing Issue, Translation - English
Jul 20, 2016 at 4: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
  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"
  2. add a MSI-productInstallled with the flag on "Reverse Rule"
  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
Jul 20, 2016 at 4:45 PM
Hi, in your case, the WMI query must be in the «IsInstallable» rule.
Jul 20, 2016 at 5:16 PM
Hi DCourtel,
thanks for your fast reply. Sorry, but where can i found the «IsInstallable» rule option??


thanks again.
Jul 20, 2016 at 6:22 PM
Have a look in first line of this Window:
Jul 21, 2016 at 4: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
Jul 21, 2016 at 5:39 PM
The Wmi-query must be where you have set the MSI-ProductInstalled, with Reverse-Rule.
Jul 21, 2016 at 9:52 PM
Jul 22, 2016 at 9:52 AM
Thanks DCourtel for your tip! It works ! Thanks also to WinfriedSonntag.

I'll read again many times the documentation.