Hi All,
I am creating a Custom Update Package for Citrix Receiver 3.4.
I have it working fine with 32 bit systems, but i am having an issue detecting applicability on x64 systems. Unfortunately, I am unable to reference the registry as i had hoped becuase this particular application doesn't have the path in the registry as you would assume.
That said, I need to determine if the file at the following location exists and is less than version 3.4.0.29577
PATH: C:\Program Files (x86)\Citrix\Receiver\Receiver.exe
When i do this for the x32 version, i can simply use the Common Path or "PROGRAM_FILES" and use the Path value of "Citrix\Receiver\Receiver.exe" to determine its existence.
However, when i try to create the package for a x64 system, where the path of the executable is "C:\Program Files (x86)\Citrix\Receiver\Receiver.exe",
I get he following error in WindowsUpdate.log (verbose enabled) when i select Common Path of "NONE" and enter the full Path of "C:\Program Files (x86)\Citrix\Receiver\Receiver.exe" into the Path field.
2013-01-25 08:16:51:905 1144 17b0 EEHndlr EE: FileVersion expression: path=C:\Program Files (x86)\Citrix\Receiver\Receiver.exe, comparison=32013-01-25 08:16:51:905 1144 17b0 EEHndlr EE: FileVersion evaluated to Error!, return hr=0x80070002
Where i believe this can be addressed is to have the x86 "Program Files" path available in "Common Paths". Doing some research with packages i had created using SCUP, which has this feature and I used it heavily, prior to having procured Patch Manager, i was able to determine that this value is the equivalent of 'CSIDL="42"'
Note that the PROGRAM_FILES value is "38" as i have confirmed in the XML view.
2 questions:
Can the Common Path of "PROGRAM_FILESx86" be added to the 'Common Paths" list somehow?
Is there a config file i can add the entry into?
Is there a means to altering the XML that can only be viewed on the "Applicability Rules" pane of the wizard?
Thanks