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

[Solved] Updates keep returning

Topics: Publishing Issue
Sep 17, 2013 at 3:25 PM
I have created a java 7 update 40 x64 update package and was successful in deploying it to my test machine. As soon as it is installed, windows update shows it again as needing to be installed. If I look inside of wpp it says that it is installed.
Sep 17, 2013 at 4:09 PM
What do you have set for 'IsInstalled' and 'IsInstallable' Rules ?
Sep 17, 2013 at 4:15 PM
IsInstalled:
Rule type: MSI Product Installed
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f86417021ff}"/>

IsInstallable:
Rule type: MSI Product Installed

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

<bar:Processor Architecture="9"/>
Sep 17, 2013 at 5:37 PM
This MSI code is for Java 7 Update 21 !
Marked as answer by DCourtel on 10/12/2013 at 8:35 AM
Sep 17, 2013 at 6:16 PM
Edited Sep 17, 2013 at 6:17 PM
I'm working on getting Java 7u40 deployed to my domain today, and having a bear of a time; I'll post later with my solution. Here are the 7u40 MSI strings though:

MSI code update 40 32-bit:
{26A24AE4-039D-4CA4-87B4-2F83217040FF}
MSI code update 40 64-bit:
{26A24AE4-039D-4CA4-87B4-2F86417040FF}

You can find these by using the WSUS Package Publisher and going to tools > MSI Reader, loading the MSI, and going to the property table. Install string is labeled "ProductCode".

To obtain the MSI, install Java, then navigate to:
C:\Users\<yourusername>\AppData\LocalLow\Sun\Java (Vista/7 Directory; I forget for XP, should be a quick Google.)
The jre folders therein contain the uncompressed installers; your results may not be desireable if you attempt to uncompress the jre executable installer with 7zip or winRAR and then try to use those installers to create a package; just something I ran into a while back, FYI.

Let me know how your work on 7u40 is going!

-Dave
Sep 17, 2013 at 7:26 PM
Well even using the wrong msi code the 64 bit version installed just fine. Other then it showing back up in the updates :) I have changed the msi code so now I will see if it will install and then not come back.
Sep 17, 2013 at 8:27 PM
Awesome; hope that worked! If you have problems deploying to a UAC environment, check out the how-to Java 7u40 I'm about to post; I think you can click on my username, and see my posts.
Sep 19, 2013 at 3:51 PM
DParks256 - I went ahead and followed your newer guide to installing java. So far on my single test machine it worked perfectly. I am now going to try and push it out to a single dept in my company. If that goes well then I will send it out company wide.