Wireshark Installation Rule

  • LFR
    LFR
    2013-12-18

    Hello everyone.

    Here is another issue while trying to deploy an EXE.

    This is for Wireshark.
    It comes as an EXE file and therefore I created rules for it.
    To make it simple I made the rules to deploy Wireshark 1.10.4 based on:

    Installed Rule
    FileExists Path="C:\Program Files\Wireshark\Wireshark.exe"

    Installable Rule:

    FileVersion Path="C:\Program Files\Wireshark\Wireshark.exe" Csidl="38" Comparison="GreaterThanOrEqualTo" Version="1.10.4.54184"

    And... Nothing Happens...

    Status in the console is : unknown

    Wireshark 1.10.1 is installed on a test computer and receiving all the other updates from LUP like Flash. So no issues there.
    I believe I am missing something in the rules but what ?!?

    I am pasting below the XML for reference.

    Thanks for you help.

    <sdp:SoftwareDistributionPackage xmlns="http://www.w3.org/2001/XMLSchema" xmlns:bar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/BaseApplicabilityRules.xsd" xmlns:bt="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/BaseTypes.xsd" xmlns:cmd="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/Installers/CommandLineInstallation.xsd" xmlns:lar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/LogicalApplicabilityRules.xsd" xmlns:msi="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/Installers/MsiInstallation.xsd" xmlns:msiar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/MsiApplicabilityRules.xsd" xmlns:msp="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/Installers/MspInstallation.xsd" xmlns:sdp="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/SoftwareDistributionPackage.xsd" xmlns:uei="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/Installers/UpdateExeInstallation.xsd" xmlns:usp="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/UpdateServicesPackage.xsd" xmlns:drv="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/Installers/WindowsDriver.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SchemaVersion="1.2">
      <sdp:Properties PackageID="4eeaaa52-ba8c-4212-a308-ae013932dd36" CreationDate="2013-12-18T08:55:40.085Z" VendorName="WireShark" PublicationState="Published" CanSourceBeRequired="false" UpdateType="Software">
        <sdp:ProductName>WireShark</sdp:ProductName>
      </sdp:Properties>
      <sdp:LocalizedProperties>
        <sdp:Language>en</sdp:Language>
        <sdp:Title>Wireshark-win64-1.10.4.exe</sdp:Title>
        <sdp:Description>Wireshark-win64-1.10.4.exe</sdp:Description>
      </sdp:LocalizedProperties>
      <sdp:UpdateSpecificData UpdateClassification="Updates">
      </sdp:UpdateSpecificData>
      <sdp:IsInstallable>
        <lar:Not xmlns:lar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/LogicalApplicabilityRules.xsd">
          <bar:FileVersion Path="C:\Program Files\Wireshark\Wireshark.exe" Csidl="38" Comparison="GreaterThanOrEqualTo" Version="1.10.4.54184" xmlns:bar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/BaseApplicabilityRules.xsd" />
        </lar:Not>
      </sdp:IsInstallable>
      <sdp:IsInstalled>
        <bar:FileExists Path="C:\Program Files\Wireshark\Wireshark.exe" Csidl="38" xmlns:bar="http://schemas.microsoft.com/wsus/2005/04/CorporatePublishing/BaseApplicabilityRules.xsd" />
      </sdp:IsInstalled>
      <sdp:InstallableItem ID="be284f83-5d77-45c0-a277-cd53369eef50">
        <sdp:ApplicabilityRules>
        </sdp:ApplicabilityRules>
        <sdp:InstallProperties CanRequestUserInput="false" RequiresNetworkConnectivity="false" Impact="Normal" RebootBehavior="CanRequestReboot" />
        <cmd:CommandLineInstallerData Program="Wireshark-win64-1.10.4.exe" Arguments="/S /desktopicon=yes /quicklaunchicon=no" DefaultResult="Failed" RebootByDefault="false">
          <cmd:ReturnCode Code="0" Result="Succeeded" Reboot="false">
          </cmd:ReturnCode>
        </cmd:CommandLineInstallerData>
      </sdp:InstallableItem>
    </sdp:SoftwareDistributionPackage>
    
     
    Last edit: LFR 2013-12-18