Skip to content

Commit 9b6e531

Browse files
committed
Possible to set WIX toolset location via system property "WIX". fix #70
1 parent bb2087f commit 9b6e531

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/com/inet/gradle/setup/msi/MsiBuilder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ private File getWxsFile() {
380380
private static String getToolPath( String tool ) {
381381
// first check the environ variable WIX
382382
String wix = System.getenv( "WIX" );
383+
if( wix == null ) {
384+
wix = System.getProperty( "WIX" ); // try the system property because a property can be set easer from a gradle script
385+
}
383386
if( wix != null ) {
384387
File file = new File( wix );
385388
file = new File( file, "bin\\" + tool );

0 commit comments

Comments
 (0)