This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240051 - JavaFX Packager not working with Wix 3.8
Summary: JavaFX Packager not working with Wix 3.8
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 02:54 UTC by dannoferrinoracle
Modified: 2014-01-14 09:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dannoferrinoracle 2014-01-07 02:54:08 UTC
Via JavaFX jira bugs: https://javafx-jira.kenai.com/browse/RT-35176

Original bug text:
"""
Building a MSI on Windows 7 error in Netbeans 7.4 using JDK 8 (build 1.8.0-ea-b121), the generated build script jfx-impl.xml contains a line that validates the presence of Wix. The block that has an issue shown below. When running the Wix candle application from the command line the output is "Windows Installer XML Toolset Compiler version 3.8.1128.0" The block below does not validate the presence of Wix because it does not have the word "Toolset" in the ant build include file. I've modified the script once but Netbeans resets the xml; how can I prevent Netbeans from updating the build script? 
  
<condition property="missing.WiX"> 
            <not><and> 
                <contains string="${exec-output}" substring="Windows Installer Xml Compiler version"/> 
                <not><contains string="${exec-output}" substring="Windows Installer Xml Compiler version 1"/></not> 
                <not><contains string="${exec-output}" substring="Windows Installer Xml Compiler version 2"/></not> 
            </and></not> 
        </condition>
"""

My take: .../java.j2sedeploy/src/org/netbeans/modules/java/j2sedeploy/resources/build-native-prototype.xml needs to be updated to accept the WiX 3.8 output string, in addition to the older formats.
Comment 1 Tomas Zezula 2014-01-08 10:55:37 UTC
Fixed jet-main 573b77bf66c9
However I do not have Windows, so I just used the pattern from your report.
Currently I am accepting both the original (for older Wix) and your pattern for Wix 3.8.
Can you verify the fix when it becomes a part of daily build?
Thanks!
Comment 2 dannoferrinoracle 2014-01-08 21:45:34 UTC
How will I know when it's become part of the daily build?
Comment 3 Tomas Zezula 2014-01-09 09:07:09 UTC
A builder should add a message into this issues.
When it will be a part a daily build I will notify you.
Thanks!
Comment 4 dannoferrinoracle 2014-01-13 22:42:24 UTC
I manually pasted in the diff (http://hg.netbeans.org/main-golden/rev/573b77bf66c9) into my build-native.xml, worked for me.
Comment 5 Tomas Zezula 2014-01-14 09:02:14 UTC
Thanks a lot!