Here is an alternative way of bypassing the MS JVM requirement:
Normally, the installation cannot proceed unless the Java checkbox is ticked.
However, if the Next button is forcibly enabled (using whatever tool at your disposal),
the installer will pop up this message after the now enabled Next button is clicked.
Just click OK to dismiss the message and installation can now continue.
EDIT
Here's some code you can compile beforehand in case you don't have any utility that can enable/disable arbitrary windows:
Code:Option Explicit 'In a standard (.BAS) module Private Declare Function EnableWindow Lib "user32.dll" (ByVal hWnd As Long, ByVal bEnable As Long) As Long Private Declare Function FindWindowExW Lib "user32.dll" (Optional ByVal hWndParent As Long, Optional ByVal hWndChildAfter As Long, Optional ByVal lpszClass As Long, Optional ByVal lpszWindow As Long) As Long Private Sub Main() Dim hWnd As Long, sText As String sText = InputBox("Enter Window Title:", , "Installation Wizard for Visual Studio 6.0 Enterprise Edition") If LenB(sText) = 0& Then Exit Sub hWnd = FindWindowExW(, , StrPtr("#32770"), StrPtr(sText)) If hWnd = 0& Then Exit Sub sText = InputBox("Enter Button Caption:", , "&Next >") If LenB(sText) = 0& Then Exit Sub hWnd = FindWindowExW(hWnd, , StrPtr("Button"), StrPtr(sText)) If hWnd = 0& Then Exit Sub EnableWindow hWnd, -True End Sub




Reply With Quote