VMware Horizon Community
PeterEssi
Enthusiast
Enthusiast

Trying to virtualize jre1.8.0_131 with the native Internet Explorer 11 on Windows 10 - thinapp 5.2.9

Hello,

I was wondering if you had somewhere more recent tutorials to virtualize applications from a Windows 10 workstation ?

For instance, I want to virtualize the java jre1.8.0_131 (64 bits) on a native Internet Explorer on Windows 10 (release 1909) to be able to use this version of Java for a WEB application. The computer has a version 1.7 installed natively.

I did the capture as I usually did on Windows XP and Windows 7 at the time, but when I run iexplore64.exe after completing my capture and generating the exe files, nothing happens.

Has anyone tried it? Or am I not doing the right thing?

Are there log files somewhere for debugging?

Thinapp version: 5.2.9

Thanks

Labels (1)
Reply
0 Kudos
12 Replies
tunemickyJP
Enthusiast
Enthusiast

Hi.

I'm not sure what kind of problem you are experiencing, but
VirtIE.exe cannot be launched in Windows 10.
Is that what you mean?

There are many reasons why it may not start.
Please let me know the contents of Package.ini.

When I couldn't start before, I changed the Package.ini.
;AltArchitectureShortcut=0
AltArchitectureShortcut=1

[java.dat]
;Source=%ProgramFilesDir(x64)%\Internet Explorer\iexplore.exe
Source=%systemsystem%\cmd.exe
ReadOnlyData=Package.ro.tvr
MetaDataContainerOnly=1

[VirtIE.exe]
Source=%ProgramFilesDir%\Internet Explorer\iexplore.exe
Shortcut=java.dat

HKEY_CURRENT_USER.txt was also deleted for research purposes.

b/r

PeterEssi
Enthusiast
Enthusiast

Hi,

Here is my package.ini file

I tryed to add AltArchitectureShortcut=1 and delete HKEY_CURRENT_USER.txt

It's the same iexplore64.exe doesn't launch

[Compression]
CompressionType=None

[Isolation]
DirectoryIsolationMode=Full

[BuildOptions]
;-------- MSI Parameters ----------
;Enable MSIFilename if you want to generate a Windows Installer package.
;MSIFilename=jre180131.msi
;MSIManufacturer=Unknown
;MSIProductVersion=1.0
;MSIDefaultInstallAllUsers=1
;MSIRequireElevatedPrivileges=1
;MSIInstallDirectory=jre180131(VMware ThinApp)
;MSIProductCode={3E0DF95F-50EE-18A8-D0F6-98FA0F37A09F}
;MSIUpgradeCode={B8E1F85C-7B7F-B12F-A449-C827C99365F3}
;MSIStreaming=0
;MSICompressionType=Fast
;MSIArpProductIcon=%ProgramFilesDir(x64)%\Java\jre1.8.0_131\bin\javacpl.exe
;MSIIs64Bit=1

;-------- AppSync Parameters ----------
;AppSyncURL=https://example.com/some/path/PackageName.exe
;AppSyncUpdateFrequency=1d
;AppSyncExpirePeriod=30d
;AppSyncWarningPeriod=5d
;AppSyncWarningFrequency=1d
;AppSyncWarningMessage=This application will become unavailable for use in %remaining_days% day(s) if it cannot contact its update server. Check your network connection to ensure uninterrupted service.
;AppSyncExpireMessage=This application has been unable to contact its update server for %expire_days% day(s), so it is unavailable for use. Check your network connection and try again.
;AppSyncUpdatedMessage=
;AppSyncClearSandboxOnUpdate=0
AltArchitectureShortcut=1

;-------- Parameters used only during Setup Capture  ----------
AccessDeniedMsg=You are not currently authorized to run this application. Please contact your administrator.
CapturedUsingVersion=5.2.9-17340778
CaptureProcessorArchitecture=9
CapturePlatformVersion=0a00
CaptureOSArchitecture=64
CaptureOSMajorVersion=10
CaptureOSMinorVersion=0
CaptureOSBuildNumber=19041
CaptureOSSuite=256
CaptureOSProductType=1
CaptureOSCSDVersion=
CaptureOSProcessorCoreCount=2
CaptureOSRemoteSession=0
CaptureOSVMwareVM=0
OutDir=bin

;-------- General Purpose Parameters  ----------
SandboxName=jre180131
InventoryName=jre180131
InventoryIcon=%ProgramFilesDir(x64)%\Java\jre1.8.0_131\bin\javacpl.exe
;PermittedGroups=Administrators;Remote Desktop Users
;PermittedComputers=DomainName1\GroupName1;DomainName1\GroupName2
;PermittedComputersOfflineAccess=0
;RemoveSandboxOnExit=1
;RemoveSandboxOnStart=1
;SandboxNetworkDrives=1
;SandboxRemovableDisk=1
;VirtualizeExternalOutOfProcessCOM=0
;ChildProcessEnvironmentExceptions=WINWORD.EXE;EXCEL.EXE;POWERPNT.EXE;OUTLOOK.EXE;MOC.EXE
;ChildProcessEnvironmentDefault=External

;OptionalAppLinks=plugins\*.exe
;RequiredAppLinks=\\server\share\*.exe;c:\abs\path\file.exe
VirtualDrives=Drive=c, Serial=682ae3e7, Type=FIXED
;VirtualDrives=Drive=c, Serial=682ae3e7, Type=FIXED
;VirtualComputerName=FRESL28283

AnsiCodePage=1252
LocaleIdentifier=1033
LocaleName=en-US

; If you have problems running a 32 bit application under 64 bit Windows, try enabling this line before building the project
Wow64=0

; If you have problems running a mixed 32/64 bit application under 64 bit Windows, try enabling this line before building the project
AltArchitectureShortcut=1

; Enable this option to load .Net binaries from the system instead of the package on Windows 7 or above
;LoadDotNetFromSystem=Win7

QualityReportingEnabled=0

; Enable this option to ignore DDE messages from external processes
;IgnoreDDEMessages=1

[jre180131.dat]
Source=%ProgramFilesDir(x64)%\Java\jre1.8.0_131\bin\javacpl.exe
;Change ReadOnlyData to bin\Package.ro.tvr to build with old versions(4.6.0 or earlier) of tools
ReadOnlyData=Package.ro.tvr
MetaDataContainerOnly=1

[iexplore64.exe]
Source=%ProgramFilesDir(x64)%\Internet Explorer\iexplore.exe
Shortcut=jre180131.dat

Reply
0 Kudos
tunemickyJP
Enthusiast
Enthusiast

Hi.

In Package.ini
DirectoryIsolationMode is set to FULL.
I think this is the problem.

It cannot be set to FULL from SetupCapture.
Did you change it by yourself?

Please try to change it.
DirectoryIsolationMode=Merged

b/r

PeterEssi
Enthusiast
Enthusiast

Yes I changed it myself.

We have this program to protect against suspicious (Cortex) programs that blocked the launch of the virtualized applications. Normally there is a popup but it seems that with Thinapp, there is none.

I asked the security to disabled it and now it's now working better !

Thank you for your kindly help.

Regards

Reply
0 Kudos
PeterEssi
Enthusiast
Enthusiast

I have still a problem with activeX and the Java apps doesn't load if I click Install.

ScreenConnect.WindowsClient_E5bP0HhrfO.png

 

I try to open another web page and Internet explorer 64 bits stays blank.

But the Internet explorer 32 bits works, but I cannot check if java works properly because it's 64 bits version.

Reply
0 Kudos
tunemickyJP
Enthusiast
Enthusiast

Hi.

IE is a hybrid structure of 64bit and 32bit.
The main process is 64bit, and
The tab process is 32bit.
(For compatibility)
So, you can set java to 32bit or
I think the only way is to make IE's tab process 64bit.

https://docs.microsoft.com/en-US/troubleshoot/browsers/enhanced-protected-mode-add-on-compatibility

[ Enable 64-bit processes for Enhanced Protected Mode] =ON

[ Enable Enhanced Protected Mode]=ON

b/r

 

Reply
0 Kudos
PeterEssi
Enthusiast
Enthusiast

This is not working.

I will try again from a fresh Windows 10 install.

Thank you

Reply
0 Kudos
fuzzc
VMware Employee
VMware Employee

Does native jre1.8.0_131 with the native Internet Explorer 11 on Windows 10 works fine?

PeterEssi
Enthusiast
Enthusiast

Hi,

You need to know, that I didn't launch the installation of the activeX before the final capture, I think, this is why I had a problem (I couldn't put my virtual machine to my domain so that I could access the intranet site).

There were many configuration to make on my Windows 10 before the installation of the ActiveX/Java works :

* add the web sites to trusted site zone

* add a parameter to Internet explorer ( Reg.exe add "HKLM\Software\Microsoft\Internet Explorer\Main" /v "TabProcGrowth" /t REG_DWORD /d "0" /f )

* minimize the internet security settings to allow installation of "unsecured" activeX

* configure Java with the trusted site, and lower security in Java

Now, my thinapp seems to work better but when I close Thinapp Internet Explorer, I have a message and process seems to rerun constantly until I cancel or kill Internet explorer task.

Edit : this message seems to happens only on a virtual machine.

 

vmconnect_FDth2MCLvp.png

 

Reply
0 Kudos
tunemickyJP
Enthusiast
Enthusiast

Hi.

In Package.ini

Please try to change it.

Package.ini
[BuildOptions]
ChildProcessEnvironmentExceptions=rundll32.exe

b/r

PeterEssi
Enthusiast
Enthusiast

Hello,

Now the process problem is solved, but I have another inexplicable issu.
I made the Java capture on a French Windows 10 release 1909 virtual machine (Hyper-V).
- It's working on the captured virtual machine (I tried with different account), a dialog box stays on the first launch, but I think it's working well to me

ScreenConnect.WindowsClient_FBT4K8YWzn.png
- It's working on a Windows 10 US release 2004

- It's not working on a Windows 10 FR release 1909(it is actually the same release as the VM used for the capture).

I see in the event viewer bad_module_info (event id 1005) every time I try to run the program. Java configuration works well.

Name of the failed application bad_module_info, version: 0.0.0, timestamp: 0x000000
Name of failed module: unknown, version: 0.0.0.0, time stamp: 0x000000
Exception Code: 0xc000001d
Error offset: 0x00007ffd94e11df6
ID of the failed process: 0x3ed0
Start time of the failed application: 0x01d6f984774e6e3d
Path of the failed application: bad_module_info
Path of the faulty module: unknown
Report ID: dc27894c-6a57-4561-b6c5-3d131f8471bc

 

Did you ever  experienced this kind of error ?

I asked my colleagues to test on their Windows version and I'll tell you the result later.

Thank you 

Edit : On my not working computer, I try to launch virtualized cmd.exe and from it I launched iexplore, and I put the web site address on the launched iexplore and it worked well. Only the virtualized executable aren't working.

Reply
0 Kudos
PeterEssi
Enthusiast
Enthusiast

After seeing that iexplore.exe was working, I tried to modify the shortcuts in package.ini as follows:

Before :Source=%ProgramFilesDir(x64)%\Internet Explorer\iexplore.exe

After : Source=%ProgramFilesDir%\Internet Explorer\iexplore.exe

But still no internet launch with these new shortcuts.

So I found a workaround by making shortcuts that launch iexplore.exe with the web address behind it and it worked but I still don't understand why.

Reply
0 Kudos