A WiX based installer for Groovy. Binaries are available on JFrog.
unzip apache-groovy-binary-*.zip
mv groovy-*/* apache-groovy-binary/
unzip apache-groovy-docs-*.zip
mv groovy-*/* apache-groovy-docs/
x.y.z
with the Groovy version in groovy-wix.wixproj
(this can be edited in Visual Studio by editing the Output name on the Installer tab,
and the Define preprocessor variables on the _Build tab in the properties of the groovy-wix WIX project).
The result will be something like
diff --git a/groovy-wix/groovy-wix.wixproj b/groovy-wix/groovy-wix.wixproj
index 3235a5a..2ded751 100644
--- a/groovy-wix/groovy-wix.wixproj
+++ b/groovy-wix/groovy-wix.wixproj
@@ -6,7 +6,7 @@
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>aacf45d5-532f-4ea1-8747-138dee1e93a0</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
- <OutputName>groovy-x.y.z</OutputName>
+ <OutputName>groovy-1.0.0</OutputName>
<OutputType>Package</OutputType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
@@ -23,7 +23,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
- <DefineConstants>groovyVersion=x.y.z;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs</DefineConstants>
+ <DefineConstants>groovyVersion=1.0.0;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Product.wxs" />
rm -r apache-groovy-binary/* apache-groovy-docs/*
git checkout groovy-wix/groovy-wix.wixproj groovy-wix/GroovyBinaries.wsx groovy-wix/GroovyDocs.wsx