I am attempting to build a plugin for Java8u211 for my win10pese.So far i have captured the files placement and registry entries from an install on my host OS.Using the output of the capture i was able to successfully place all required files into the PE image.Using the Additional files plugin.Then i extracted all registry entries from the install and edited them to change all references from "C:" to "X:"..the edited reg file was then converted to script using regCPE with success.Java CPL.exe works fine and tells me that Java is installed and reflects the correct version etc.....here is where things get tricky...
I have several apps that need java to run,however one installer states that no java is present on the machine and asks to download and install java,for some reason it cannot find the java install.
I tried java portable with same result,Also i tried the plugin for java 10.0.0.2 listed around here with the result of the installer did find java,but sadly the java is out of date and also only for x64(installer requires x86 java) so not useable.I studied the plugin source and discovered that only HKLM local machine reg entries were needed for java to work so that simplified things a lot.
I tried also running the Java installer in PE to capture the install however it simply did not run and did not say why....
So i guess i have a few questions about it all....
1.I run the PE in virtualbox,would this fact make a difference to the java installer being unable to run etc?
If i could capture install in PE,this would make things easier...
2.any tips on why an installer may not see the java install in PE?
3.Using the plugin for java 10.0.0.2,the installer will run and complete but will not run due to missing pdh.dll...pdh.dll is present in the build,but cannot be found and so it crashes.?
A lot for head scratching and coffee being consumed.....any direction or tips from the forum would be greatly appreciated,regards..
3.