casevents.blogg.se

Error code 1618 while installing java
Error code 1618 while installing java






String arguments = string.Format("/s /v\"/qn REBOOT=Suppress INSTALLDIR=\\\"

error code 1618 while installing java

String fullLogFileName = Path.Combine(logFile, "JavaInstall.log") Here is the code (rewritten a bit to eliminate a bunch of our own abstraction) public bool InstallJava(string installPath, string logFile) Therefore you can defer the reboot to another time. One cool thing I found that I wanted to share is that you can suppress the auto-reboot of install and it returns an exit code of 3010. I thought I would share the final solution. This is installed at client sites and they choose the install directory, therefore we have to be able to support any directory they may specify.Īny idea how I can do a silent install but still use the long path name? NOTE: "Program Files (x86)" is just an example. jre-6u39-windows-i586.exe /s INSTALLDIR=C:\Progra~2\Java

error code 1618 while installing java

This pops up the Windows Installer dialog box.

error code 1618 while installing java

jre-6u39-windows-i586.exe /s INSTALLDIR="C:\Program Files (x86)\Java" If I use the short path name it works correctly, but I really would prefer not to use the short directory name because that is the value that gets stored in the Registry. When I do this it pops up the "Windows Installer" dialog box indicating one of the parameters is incorrect. I am trying to install Java using the silent mode and also specify an installation directory that contains spaces.








Error code 1618 while installing java