Avatar of Mark Volz
Mark Volz
Flag for United States of America asked on

Java Installer Problem

I have been trying to install Java on my XPS8300 and just cannot get it to install.  I always get the a Install error of 1721 (http://s1045.photobucket.com/albums/b454/AKMARK5000/?action=view¤t=InstallJavaError.jpg).
 
I have exhausted the web searches and usual fixes that I can find on the issue.  I was hoping for PC remote help or help from this forum.
 
_____________________________________________
Dell XPS8300; Win7 Pro [64Bit]; Intel i7-2600 [3.4Ghz]; 12Gb RAM; AMD/ATI Radeon HD6770; 1.5Tb HDD [7200Rpm]; Sound Blaster X-Fi Xtreme; Dell IN1920 18.5' HD Widescreen Monitor.
Windows 7MiscellaneousJScriptDell

Avatar of undefined
Last Comment
Mark Volz

8/22/2022 - Mon
CSI-Windows_com

That error means a custom action failed to run.

Try running the attached as an administrator and then run the package again.
AsAdmin-RegisterandEnable32and64.cmd
Mark Volz

ASKER
I see it is an attachment text, but how do I use it?
CSI-Windows_com

It is a shell script - right click it and select "Run As Administrator" - it is just like a .BAT
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Mark Volz

ASKER
I download "AsAdmin-RegisterandEnable32and64.cmd" to my desktop.  Then ran as administrator  it did some stuff in a DOS box and when it disappeared I figured it was done.  So I the ran "jre-7u7-windows-i586.exe" and received another error (attached).
Install-Java-Error2.jpg
CSI-Windows_com

Sorry, I meant for you to re-run the Java setup after running the script.
Mark Volz

ASKER
No problem (I probably should have know that).  So this time I ran the Java Setup, but revived an error (attached... there are two screens, #4 is first and then #3).
Install-Java-Error3.jpg
Install-Java-Error4.jpg
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
CSI-Windows_com

Where did you find the 1721 error originally reported?

Could you please post the error log referenced in your first screenshot on photobucket?

Also, it would be very helpful if you followed the instructions in the below article and posted the verbose MSI log that is generated (instructions are all in the article - zip the log file before posting).

https://www.experts-exchange.com/Programming/Installation/A_5177-Installation-Logging-How-To-Create-a-Verbose-Windows-Installer-Log-and-Submit-it-With-Your-Question-Including-MSIs-That-are-INSIDE-Setup-exes.html
Mark Volz

ASKER
1721 Error came from the attached Java install log generated a five hours ago.  

The log I'll get back to you on that later.
install4jError798873560307479933.log
Mark Volz

ASKER
Here are those MSI...logs (all of what I could find).
MSI-Logs.zip
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Mark Volz

ASKER
So, I take it that it's a larger problem?
CSI-Windows_com

Hmmmm - that's a lot of not being able to find certain files.  Don't think it could be permissions.  Have you tried running a dskchk in case you have some corruption?

Also, have you successfully used the EXACT copy of the downloaded installer on the working machines?
Mark Volz

ASKER
1. Don't misunderstand, I attached any MSI.Log files that I could find.  They are not all from the same day when the 1721 error occurred.

2. I ran the 'dskchk /r command...took awhile, but it just got done.  Everything seemed ok (no corruptions), but I missed the last messages before it auto rebooted (I assume everything ended well).  Is there a log somewhere that I can look for?

3. I have no idea what you meant by  "...successfully used the EXACT copy of the downloaded installer on the working machines? "

I appreciate you not giving up and helping me with this issue.. its seems more than I first thought.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
CSI-Windows_com

Did you actually use the reg file on the article and re-run the setup?  I ask because the log files are not the verbose ones I would expect.
Mark Volz

ASKER
I thought I already had the key since I fond MSI...Logs, but apparently not (see screenshot).

As seen in the screenshot, there is no "Installer" Folder after the [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\].  

So how do I make the key in the missing folder?
MSI-Key-Log-09292012-0932.jpg
CSI-Windows_com

Double-click the .REG file while you are an admin - regedit should ask you to elevate.

Otherwise, to do it manually just simply right click the Windows key and select "New" and then "Key" and type "Installer"

And then create each sub value by right clicking "New" and then the appropriate value type.

Sorry if I've misunderstood your question and given overly basic information.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Mark Volz

ASKER
Ok, I finally got the "MSI-Verbose-Logging-ON.reg" (I needed to download it the correct way rather than just click on it).  So I double clicked "MSI-Verbose-Logging-ON.reg" and the registry key/subkeys are there.

I then attempted to reinstall "jxpiinstall.exe" and received the attached MSI Verbose Log (attached).
Install-Java-Error--2-.jpg
MSI178b8.LOG
Mark Volz

ASKER
I found this registry entry... mean anything to you?
Reg-ed-find.jpg
CSI-Windows_com

There is a DLL custom action that is supposed to complete the java install.

It fails and rolls back.

For some reason the rollback has problems completely removing files - so I'm wondering if there is some messed up permissions.

I advise you use add/remove programs to remove the current version.

Then use JavaRA (ELEVATED) to remove any remanants: http://singularlabs.com/software/javara/

I have not used JavaRA- but it looks like it's been around for a while.

It also looks like it can do an install of Java.  I'm not familiar with the benefits of installing Java with JavaRA versus the normal installer.

The same site has lists of uninstaller utilities that might come in handy. http://singularlabs.com/uninstallers/
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Mark Volz

ASKER
Yesterday I uninstalled it.  That's why I am at Experts Exchange ... already tried reinstalling via JavaRa, but install failed one again.

>
>
>

This is a really complex problem.  I am having a Dell guy look at sometime via remote assistance, but I am not certain when.  I am guessing Monday October 1st.  Do you guys at EE.com do remote assistance... I have teamviewer already installed?  Let me know.
Install-Java-Error--3-.jpg
CSI-Windows_com

ARKMARK5000,
When you say you tried "reinstalling via JavaRA" did you FIRST uninstall using JavaRA ?

A cleanup uninstall will REMOVE things that might have bad permissions, etc. that the MSI rollback indicated it was not able to remove.

A "reinstall" over the existing mess will simply overwrite - and if there are bad permissions in the mix, then it will never clean that up when it rolls back.

No, we do not do remote control.  

Also, all problems must be solved on these threads so that all experts have an equal chance to help solve the problem.
Mark Volz

ASKER
"When you say you tried "reinstalling via JavaRA" did you FIRST uninstall using JavaRA ?"  Yes

No, we do not do remote control.  

"Also, all problems must be solved on these threads so that all experts have an equal chance to help solve the problem."  ok, just asking.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
CSI-Windows_com

Please uninstall Java.  Use JavaRA to do an uninstall and then if it still exists, delete "C:\Program Files (x86)\Java" and all subfolders.

Also check the registry and remove any keys.  Here are instructions for that: http://www.java.com/en/download/help/manual_regedit.xml

Try a new install.

If this does not work, the next step would be to run Procmon during the install, I can analyze those logs as well.

Are you familiar with procmon.exe (http://live.sysinternals.com/procmon.exe) ?
Mark Volz

ASKER
"Please uninstall Java.  Use JavaRA to do an uninstall and then if it still exists, delete "C:\Program Files (x86)\Java" and all subfolders.

Also check the registry and remove any keys.  Here are instructions for that: http://www.java.com/en/download/help/manual_regedit.xml"

Finished the above and reinstalled as promon was running.  What logs are needed and how do I located them?
CSI-Windows_com

If you have procmon with records, do File > Save.  Be sur to pick PML format and save all records.  Please zip them before uploading.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Mark Volz

ASKER
The log file (in a .zip) will not attach... it is 88mb.

I can upload to my file-host service and post the link here? Let me know?
CSI-Windows_com

You will need to request moderator attention to get it authorized.  Use the "request attention" button at the top of this page - right under your question.
Mark Volz

ASKER
Installing Java via a second admin account was successful...

But I need to know the program or programs that blocked the Java installation in my original admin account.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
CSI-Windows_com

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mark Volz

ASKER
Well, Java is working for now and I really don't have the patients to fool around with this stuff right now and there does not seem to be a way to upload the PML, at least right now.

I appreciate your assistance and may revisit this issue sometime.
Mark Volz

ASKER
Well, Java is working for now and I really don't have the patients to fool around with this stuff right now and there does not seem to be a way to upload the PML, at least right now.

I appreciate your assistance and may revisit this issue sometime.