Hi all,
I am facing problem while Setup Capturing Java Plug-in dependent Application. Setup Capturing is happening fine but at that time of compiling it throws an error "Java plug-in 1.5 not installed properly",
We could finish the setup capture by clicking Ok. But .MSI is not getting created,
The application itself installs Java plug-in 1.5 and there is no prerequisite,
I would be grateful if you could give some suggestions.

Many thanks in advance,
Siri
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Firstly, this section is really for errors returned by the Windows Installer engine. Your post may be moved by a moderator.

Secondly, you should install the JRE that the application requires BEFORE capturing. All the JREs are available as MSIs so you can deploy them in the same way as your package MSI (although they would obviously need to be deployed BEFORE the relevant package.)

Lastly, if you don't have or can't obtain the actual JRE that the app requires, then 999 times out of 1000 (actually, I ahve yet to encounter any issue with this), you can use one which is close enough and fool the application really easily. How? You just replicate the relevant registry entries. For example, your app requires, say 1.5.0_10 but you only have 1.5.0_06 (for argument's sake). All you need do is copy these keys and their contents:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_06
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5.0_06
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.5.0_06

to:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_10
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5.0_10
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.5.0_10

Do NOT update any paths in the new keys, though - leave them pointing to the '06' flavour.
Answered 06/18/2009 by: VBScab
Red Belt

Please log in to comment
0
Check if any SelfReg entries are captured, if so resolve them ( make selfreg empty) and give a try
Answered 06/19/2009 by: mekaywe
Brown Belt

Please log in to comment
0
Check if any SelfReg entries are captured, if so resolve them ( make selfreg empty) and give a tryMore specifically...

- I'd bet you're using Wise Package Studio AND that you have it set to have COM-containing files self-register. Turn that option off. It populates the SelfReg table which, as you have discovered, can have implications when dependencies are not present.

I'll further bet that your app includes at least one DLL whose names begins "NPJAVA"? These DLLs contain the DLLRegisterServer entry-point but no COM information. (One day, the Sun developers will find the compiler switch that prevents that...) Thus, at compile time, Wise attempts to extract non-existent COM, fails and then errors.

So, in summary:
- turn off self-registration and elect to populate the advertising tables instead.
- install the required JRE before capturing.
- do a new capture
Answered 06/19/2009 by: VBScab
Red Belt

Please log in to comment
0
What you said is exactly true VBScab.
I had faced the same problem before.
Answered 06/19/2009 by: mekaywe
Brown Belt

Please log in to comment
0
Hi All,
Thanks for your posts. My application is installing 1.5.0_11 Java version. The same registry entries are present in WSI and MSI also. Still no luck.
Tried installing Java 1.5.0_11 in clean machine and caputured my application. Still in vain.
WSI and MSI are creating properly, but when i launch the shortcuts it is giving an errors. Any more suggestions

Many thanks in advance,
Shirisha G
Answered 06/22/2009 by: Siri30
Senior Yellow Belt

Please log in to comment
0
Did you switch off Wise's default setting, i.e. to self-register COM files, as I advised, before your latest capture?
Answered 06/22/2009 by: VBScab
Red Belt

Please log in to comment
0
Whats ur aplication name
JRE doesnt have any shortcut. wats the shortcut u r launching
Answered 06/22/2009 by: mekaywe
Brown Belt

Please log in to comment
0
Hi VBScab,
I have checked retain registry as-is and caputred the application.
@mekaywe, application name is DQT : Data Quality Tool. It is Informatica product.

Thank you,
Siri
Answered 06/23/2009 by: Siri30
Senior Yellow Belt

Please log in to comment
0
I have checked retain registry as-is and caputred the application.That's a shame because you're going to have to do it again.

You're using a Wise product, yes? Which one?
Answered 06/23/2009 by: VBScab
Red Belt

Please log in to comment
0
Try with VBScab suggestion and mine.
If you are still having the problem.

Give a try with GapCapture.
Answered 06/23/2009 by: mekaywe
Brown Belt

Please log in to comment
0
Hi,
Am in using WPS 7.0. Sorry i dont know what is VBScab and I have captured the files using Picturetaker. Still the same files are installing. I will detail expain the process of capturing what I am following.
1. I recieved the source in two folders called X and Y
2. During setup capture, first I need to install X folder Install.exe (Macrovision exe) and need to configure server and shortcut details.
3. During Y folder installation i have to browse to ZIP files and post capture.
4. In Last finishing window, I received 7 times warning like "Java 1.5.0_11 is not installed properly". Finally WSI and MSI have been created.
5. Installed MSI and when i launch workbench shortcut, it gives an error like "Your Project Manager encountered an error and could not complete the requested operation" instead it should contain the ZIP files of Y folder. This shortcut works fine during capturing but MSI shortcut is giving that error.
I have cross checked with services, files & registry. Everything is fine as EXE only. Still MSI shortcut is not working fine. Not sure, whether Capturing problem or is it application behavior.

Many thanks in advance,
Siri..
Answered 06/25/2009 by: Siri30
Senior Yellow Belt

Please log in to comment
0
This is like pulling teeth...

- run your MSI
- start a lightweight snapshot tool (I use Ziff-Davis' In Control or InstallWatch - I'm not familiar with Gap Capture) and take a 'before' snapshot
- remove any registry flags that indicate that the app has already been installed - you want the vendor's set-up to do a complete install over the top of yours
- run the vendor's setup, making sure to choose the same options as were used to create the MSI
- take a 'after' snapshot
- compare the result to see if the stub has made any relevant additions, deletions or changes and, if so, add these to your MSI
- repeat
Answered 06/25/2009 by: VBScab
Red Belt

Please log in to comment
0
Check whether you have configured the application correctly during Setup Capture. Also check whether shortcuts entries in Shortcut table are rite.

PictureTaker gives u more information about the application. Take picturetaker for souce, package and compare analyse both.
Answered 06/25/2009 by: mekaywe
Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity