Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Java runtime (JRE 8u301) #1257

Open
arkhub opened this issue Oct 6, 2021 · 6 comments
Open

Cannot install Java runtime (JRE 8u301) #1257

arkhub opened this issue Oct 6, 2021 · 6 comments
Labels
High priority To be done as soon as possible Issue reproduced Issue reproduced without uncertainties Java-related Collection of Java issues MSI Installer Issues with .msi installers ToDo To be done Workaround Temporary or alternative solution

Comments

@arkhub
Copy link

arkhub commented Oct 6, 2021

image

When trying to install java in sandboxed mode, it shows error like image above "Java install did not complete Error Code : 1603" without further information. Can sandboxie-run java on sandboxed mode for some application that requires java dependencies?

@isaak654
Copy link
Collaborator

isaak654 commented Oct 6, 2021

Issue confirmed on a clean Windows 10 install without JRE 8u301 installed outside of the sandbox.
Download link: https://www.java.com/download/windows_offline.jsp (jre-8u301-windows-i586.exe)

Just a small clarification, the error appears at the end of the install process with Plus 0.9.7d.

@isaak654 isaak654 added the Issue reproduced Issue reproduced without uncertainties label Oct 6, 2021
@DavidXanatos DavidXanatos added High priority To be done as soon as possible under investigation MSI Installer Issues with .msi installers labels Oct 11, 2021
@DavidXanatos
Copy link
Member

the instalation works with this two options:
UnrestrictedToken=y
MsiInstallerExemptions=y

I'll have to investigate it further how to get rid of UnrestrictedToken nor I'll integrate it into the msi installer exemption...

@DavidXanatos DavidXanatos added the Workaround Temporary or alternative solution label Oct 11, 2021
@isaak654 isaak654 added the Java-related Collection of Java issues label Jan 16, 2022
@isaak654 isaak654 added Work in progress Still in progress and removed under investigation labels Apr 11, 2022
@DvdMtta
Copy link

DvdMtta commented Feb 27, 2023

Dear all,

I've same 1603 error installing jre-8u361-windows-i586.exe (offline version) on W11Home 21h2 build 22000.1574 and Sandboxie Plus1.7.2.

It is not clear to me, sorry!, where add DavidXandos workaround: can you give me more details, about it please?

Thank you in advance

@offhub
Copy link
Collaborator

offhub commented Feb 27, 2023

From UI:

Right click on the sandbox > From the menu: Select Sandbox Options > From Left: Select Edit Ini Section > From Right: Click on the Edit Ini > Add following code to the bottom of the list > Save > OK

UnrestrictedToken=y
MsiInstallerExemptions=y

Note: Don't forget to remove the codes after installation!

To Sandboxie.ini in the following folders, in this order:

  • In the Windows folder: C:\WINDOWS on most Windows installations
  • In the Sandboxie installation folder: typically C:\Program Files\Sandboxie-Plus
  • In the Sandboxie portable installation folder: In the folder where the program is installed.

If your box is [DefaultBox]. Find the box and copy the code below:

UnrestrictedToken=y
MsiInstallerExemptions=y

Example:

[DefaultBox]
UnrestrictedToken=y
MsiInstallerExemptions=y

Note: Don't forget to remove the codes after installation!

@DvdMtta
Copy link

DvdMtta commented Feb 27, 2023

Thanks for your reply!

I need one more clarifications if possible:

1. Form UI:
Right click on the sandbox > From the menu: Select Sandbox Options > From Left: Select Edit Ini Section >

I've three different ini sections on UI: Sandboxie.ini, Template.ini, Sandboxie-Plus.ini.
Which is the right one ini file to add:
UnrestrictedToken=y
MsiInstallerExemptions=y

Thank you very very much!

@offhub
Copy link
Collaborator

offhub commented Feb 27, 2023

Add them to Sandboxie.ini.

@DavidXanatos DavidXanatos added the ToDo To be done label Aug 11, 2023
@isaak654 isaak654 removed the Work in progress Still in progress label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority To be done as soon as possible Issue reproduced Issue reproduced without uncertainties Java-related Collection of Java issues MSI Installer Issues with .msi installers ToDo To be done Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

5 participants