i-net-software / SetupBuilder

Gradle plugin for building setups for different platforms.
Other
87 stars 21 forks source link

allow user to skip validation. #91

Closed arichnad closed 4 years ago

arichnad commented 4 years ago

allow user to skip validation.

this helps when running in wine, since light.exe fails in wine without skipping validation.

also change the vbscript files to work in wine (declaring and setting the variables in one line does not work)

Horcrux7 commented 4 years ago

You have run it with Wine. This is very cool.

declaring and setting the variables in one line does not work

There are more lines in the script which with a one liner. Sounds more a problem of missing spaces before and after the colon. But it is ok.

arichnad commented 4 years ago

You have run it with Wine. This is very cool.

Yeah, thanks! Here's what I used to get it to work:

msi {
    skipValidation = true
    languages = '...' //MsiTran.exe fails in wine.
    bundleJre = file('../jre')
}

Also I used docker that depends on maloneweb/docker-wine-dotnet:latest (link). Then I ran this through wine in docker:

set JAVA_HOME=Z:\home\docker\jdk
set WIX=Z:\home\docker\wix
set PATH=%JAVA_HOME%\bin;%PATH%
gradlew :msi --info --stacktrace