Windows XP: openjdk 7 b26, InstallShield issues

Marco Trudel marco at mtsystems.ch
Wed May 14 18:03:49 UTC 2008


Hey Igor

Igor Nekrestyanov wrote:
> Hi Marco,
> 
> please post your build log here.
> Otherwise it is difficult to understand what exactly happened in your case.

Well, there's actually no problem to look at. I just don't have the 
correct InstallShield version and also don't want to have it. But well, 
maybe it gives you some useful information:

- No InstallShield or wrong version (2008):

At the step "c:/windows/system32/wscript.exe 
path_to_openjdk_out_dir/tmp/ishield/regular/jrefile.vbs" this alert pops 
up: Windows Scripting Host, Can't create Object "ISWiAutomation.ISWiProject"

- Adapting the two Defs-windows.gmk that create 
"ISWiAutomation.ISWiProject" to create "ISWiAuto14.ISWiProject" (the one 
for InstallShield 2008), this compilation error occurs:

make javaone_transforms
make[7]: Entering directory 
`/cygdrive/d/programming/_workspace/openjdk-7-b26/openjdk-7-b26-src/install/make/installer/bundles/windows/ishield/jre'
/usr/bin/mv 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre-image 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre-image.mv
rm -f -r 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre/jre/transform/javaone/
/usr/bin/mkdir -p 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre/jre/transform/javaone/
rm -f 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre.ism
C:/WINDOWS/system32/wscript.exe 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jrefile.vbs
/usr/bin/cp 
/cygdrive/d/programming/_workspace/openjdk-7-b26/openjdk-7-b26-src/install/make/installer/bundles/windows/ishield/jre/../javaad1028.ibd 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/javaad.ibd
c:/Programme/InstallShield/System/ISCmdBld.exe -s -p 
d:/programming/_workspace/openjdk-7-b26/openjdk-7-b26/tmp/ishield/regular/jre.ism 
-r "iftw" -c COMP
make[7]: [javaone_transforms] Error 1 (ignored)

The build continues, but because the installer has not been created, the 
following MsiTran.Exe call fails and compilation aborts.

You can take a look at what's going on in 
openjdk-7-b26-src\install\make\installer\bundles\windows\ishield\jre\Makefile 
line 260 to 270.


Hope that helps
Marco

> -igor
> 
> Marco Trudel wrote:
>> Hey all
>>
>> I'm compiling openjdk on Windows XP. I get a working jdk, despite the 
>> sparse documentation. The problem is that the compilation aborts 
>> somewhere around the latest steps when trying to create the 
>> InstallShield setup.
>> It seems that this openjdk version requires InstallShield DevStudio 9 
>> which is no longer available and extremely expensive. InstallShield 
>> 2008 does not work.
>> So my question: Is there a way to skip this step? I actually don't 
>> even want the installer and surely don't want to pay for InstallShield 
>> (I was happy to see the progress from MKS to Cygwin only to find out 
>> that another commercial product is required now).
>>
>> I tried setting BUILD_INSTALL=false, but this creates another 
>> compilation error.
>>
>>
>> thanks
>> Marco
> 




More information about the build-dev mailing list