Java u51 detect issue: Not installed where should be Not applicable or Installed

Topics: Publishing Issue
Mar 17, 2014 at 4:01 PM
Hi guys,

I have a problem deploying Java update 51 x86.
I tried to follow this guide https://wsuspackagepublisher.codeplex.com/discussions/462519 updating the MSI code into the rules.
I tried in my test environment and the result are so strange:
  • on windows 7 where is already installed the u51, WPP say that is "Not Installed" where should be "Installed";
  • on windows Vista where Java is not installed, WPP say that is "Not Installed" where should be "Not Applicable";
I think that the error is in isInstallable rule but I didn't find what is wrong.
My goal is to install Javax86 also on x64 machine so I didn't add the Architecture rule.

I classified the package type to Update and the update classification to CriticalUpdates.

isAlreadyInstalled rule:
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217051ff}"/>

isInstallable rule:
<lar:Not>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217051ff}"/>
</lar:Not>

Other updates work fine (flash and reader).
What I missed?
Mar 21, 2014 at 9:39 AM
Did you check 'delete package rules'?
Coordinator
Mar 27, 2014 at 5:07 PM
on windows Vista where Java is not installed, WPP say that is "Not Installed" where should be "Not Applicable"
That's wrong. Your 'IsInstallable' rule clearly states that ALL COMPUTERS that DIDN'T HAVE Java7 U51 should install it.
on windows 7 where is already installed the u51, WPP say that is "Not Installed" where should be "Installed"
This mean that the MSI Product code you have used in the 'IsInstalled' rule have not been detected.

On a client computer, open regedit and select :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

then search for the string 'Java' and look at the value : UninstallString

you can search into this RegKey too :
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products
Marked as answer by DCourtel on 5/8/2014 at 2:42 AM