Skip to content
Browse files

[Build][Installer] Closes #70. Adds installer for net-4.0 configurati…

…on with VS2010 integration support.
  • Loading branch information...
1 parent 570d5eb commit deb3187e5bfe657b90899b789ba19e37cc8724fa @kochetkov kochetkov committed Sep 1, 2011
View
5 .gitignore
@@ -25,4 +25,7 @@ snippets/WordToRsdnMlConverter/WordToRsdnMlConverter/Templates/Normal.dot
VsIntegration/Nemerle.VisualStudio/Templates/Projects/Web/WSWebSite/Nemerle.Compiler.dll
VsIntegration/Nemerle.VisualStudio/Templates/Projects/Web/WSWebSite/Nemerle.Macros.dll
VsIntegration/Nemerle.VisualStudio/Templates/Projects/Web/WSWebSite/Nemerle.dll
-*~$*.dot
+*~$*.dot
+misc/packages/wix/net-?.?/bin/*.*
+misc/packages/wix/net-?.?/dist/*.*
+misc/packages/wix/net-?.?/obj/*.*
View
3 BuildInstallerFast-4.cmd
@@ -0,0 +1,3 @@
+set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
+
+%MSBuild% NemerleAll.nproj /t:InstallerFast /tv:4.0 /p:TargetFrameworkVersion=v4.0;Configuration=Release
View
3 BuildInstallerFull-4.cmd
@@ -0,0 +1,3 @@
+set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
+
+%MSBuild% NemerleAll.nproj /t:InstallerFull /tv:4.0 /p:TargetFrameworkVersion=v4.0;Configuration=Release
View
0 misc/packages/wix/net-3.5/src/License.rtf → License.rtf
File renamed without changes.
View
22 misc/packages/wix/net-3.5/nemerle.wixproj
@@ -88,13 +88,18 @@
<Compile Include="src\vs-shell.wxs" />
<Compile Include="src\vstudio.wxs" />
</ItemGroup>
+ <PropertyGroup>
+ <NRoot>..\..\..\..</NRoot>
+ <VSBinDir>$(NRoot)\bin\$(Configuration)\net-3.5\VsIntegration</VSBinDir>
+ <VSObjDir>$(NRoot)\obj\$(Configuration)\net-3.5\VsIntegration</VSObjDir>
+ </PropertyGroup>
<ItemGroup>
- <Content Include="src\bannrbmp.bmp" />
- <Content Include="src\Console.ico" />
- <Content Include="src\dlgbmp.bmp" />
- <Content Include="src\Help.ico" />
- <Content Include="src\License.rtf" />
- <Content Include="src\Nemerle.ico" />
+ <Content Include="..\resources\bannrbmp.bmp" />
+ <Content Include="..\resources\Console.ico" />
+ <Content Include="..\resources\dlgbmp.bmp" />
+ <Content Include="..\resources\Help.ico" />
+ <Content Include="..\resources\Nemerle.ico" />
+ <Content Include="$(NRoot)\License.rtf" />
<Content Include="src\NemerleItemTemplates.wxi" />
<Content Include="src\NemerleProjectTemplates.wxi" />
<Content Include="src\NemerleWebAppItemTemplates.wxi" />
@@ -114,11 +119,6 @@
</WixExtension>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets" />
- <PropertyGroup>
- <NRoot>..\..\..\..</NRoot>
- <VSBinDir>$(NRoot)\bin\$(Configuration)\net-3.5\VsIntegration</VSBinDir>
- <VSObjDir>$(NRoot)\obj\$(Configuration)\net-3.5\VsIntegration</VSObjDir>
- </PropertyGroup>
<ItemGroup>
<Docs Include="..\docs\**\*.*" />
<VSBin Include="$(VSBinDir)\*.*" />
View
2 misc/packages/wix/net-3.5/src/CompilerAndTools.wxs
@@ -80,8 +80,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<?if $(var.IncludePdb) != false ?>
<File Id="File_ncc.pdb" Name="ncc.pdb" Source="dist\net-3.5\bin\"/>
<?endif ?>
+ <!--
<Environment Id="Env_Nemerle" Action="set" System="yes" Name="Nemerle" Value="[APPLICATIONFOLDER]" />
<Environment Id="Env_Path" Action="set" Part="last" System="yes" Name="Path" Value="[APPLICATIONFOLDER]" />
+ -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ncc.exe"
Value="[#File_ncc.exe]" Type="string"/>
</Component>
View
2 misc/packages/wix/net-3.5/src/Documentation.wxs
@@ -38,7 +38,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<Fragment>
- <Icon Id="Help.ico" SourceFile="src/Help.ico" />
+ <Icon Id="Help.ico" SourceFile="../resources/Help.ico" />
<ComponentGroup Id="CompGroup_Documentation">
View
8 misc/packages/wix/net-3.5/src/Product.wxs
@@ -22,7 +22,7 @@
<Media Id="1" Cabinet="Nemerle.cab" EmbedCab="yes" CompressionLevel="high" />
<!-- Icons -->
- <Icon Id="NemerleIcon" SourceFile="src/Nemerle.ico" />
+ <Icon Id="NemerleIcon" SourceFile="../resources/Nemerle.ico" />
<!-- Properties -->
<Property Id="ARPPRODUCTICON" Value="NemerleIcon" />
@@ -33,9 +33,9 @@
<Property Id="UNINSTALLARGS" Value="/X{$(var.ProductGuid)}" />
<Property Id="UNINSTALLCMD" Value="MSIEXEC.EXE" />
- <WixVariable Id="WixUILicenseRtf" Value="src/License.rtf" />
- <WixVariable Id="WixUIBannerBmp" Value="src/bannrbmp.bmp" />
- <WixVariable Id="WixUIDialogBmp" Value="src/dlgbmp.bmp" />
+ <WixVariable Id="WixUILicenseRtf" Value="../../../../License.rtf" />
+ <WixVariable Id="WixUIBannerBmp" Value="../resources/bannrbmp.bmp" />
+ <WixVariable Id="WixUIDialogBmp" Value="../resources/dlgbmp.bmp" />
<!-- Root directories -->
<Directory Id="TARGETDIR" Name="SourceDir">
View
32 misc/packages/wix/net-4.0/nemerle.sln
@@ -0,0 +1,32 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "nemerle", "nemerle.wixproj", "{043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|x86.ActiveCfg = Debug|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Debug|x86.Build.0 = Debug|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|Any CPU.ActiveCfg = Release|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|Mixed Platforms.Build.0 = Release|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|x86.ActiveCfg = Release|x86
+ {043F1AEC-0396-4498-9CFE-AE8F12B9D5F2}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
152 misc/packages/wix/net-4.0/nemerle.wixproj
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <ProductVersion>3.5</ProductVersion>
+ <ProjectGuid>{2d7a97ad-43ae-4ad3-97ed-f8868a03007d}</ProjectGuid>
+ <SchemaVersion>2.0</SchemaVersion>
+ <OutputName>NemerleSetup</OutputName>
+ <OutputType>Package</OutputType>
+ <WixToolPath>$(WIX)\bin\</WixToolPath>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <OutputPath>bin\Debug\</OutputPath>
+ <IntermediateOutputPath>obj\Debug\</IntermediateOutputPath>
+ <DefineConstants>Debug;Type=Debug;IncludePdb=true</DefineConstants>
+ <IncludeSearchPaths>
+ </IncludeSearchPaths>
+ <Pedantic>False</Pedantic>
+ <ShowSourceTrace>False</ShowSourceTrace>
+ <SuppressSchemaValidation>False</SuppressSchemaValidation>
+ <SuppressSpecificWarnings>
+ </SuppressSpecificWarnings>
+ <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
+ <VerboseOutput>False</VerboseOutput>
+ <AllowIdenticalRows>False</AllowIdenticalRows>
+ <CabinetCachePath>
+ </CabinetCachePath>
+ <CabinetCreationThreadCount>-1</CabinetCreationThreadCount>
+ <Cultures>
+ </Cultures>
+ <LeaveTemporaryFiles>False</LeaveTemporaryFiles>
+ <LinkerPedantic>False</LinkerPedantic>
+ <ReuseCabinetCache>False</ReuseCabinetCache>
+ <SetMsiAssemblyNameFileVersion>False</SetMsiAssemblyNameFileVersion>
+ <SuppressAclReset>False</SuppressAclReset>
+ <SuppressAssemblies>False</SuppressAssemblies>
+ <SuppressDefaultAdminSequenceActions>False</SuppressDefaultAdminSequenceActions>
+ <SuppressDefaultAdvSequenceActions>False</SuppressDefaultAdvSequenceActions>
+ <SuppressDefaultUISequenceActions>False</SuppressDefaultUISequenceActions>
+ <SuppressDroppingUnrealTables>False</SuppressDroppingUnrealTables>
+ <SuppressFileHashAndInfo>False</SuppressFileHashAndInfo>
+ <SuppressFiles>False</SuppressFiles>
+ <SuppressIces>
+ </SuppressIces>
+ <LinkerSuppressIntermediateFileVersionMatching>False</LinkerSuppressIntermediateFileVersionMatching>
+ <SuppressLayout>False</SuppressLayout>
+ <SuppressMsiAssemblyTableProcessing>False</SuppressMsiAssemblyTableProcessing>
+ <LinkerSuppressSchemaValidation>False</LinkerSuppressSchemaValidation>
+ <LinkerSuppressSpecificWarnings>
+ </LinkerSuppressSpecificWarnings>
+ <SuppressValidation>False</SuppressValidation>
+ <LinkerTreatWarningsAsErrors>False</LinkerTreatWarningsAsErrors>
+ <LinkerVerboseOutput>False</LinkerVerboseOutput>
+ <WixVariables>
+ </WixVariables>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+ <OutputPath>bin\Release\</OutputPath>
+ <IntermediateOutputPath>obj\Release\</IntermediateOutputPath>
+ <DefineConstants>Type=Release;IncludePdb=false</DefineConstants>
+ <IncludeSearchPaths>
+ </IncludeSearchPaths>
+ <Pedantic>False</Pedantic>
+ <ShowSourceTrace>False</ShowSourceTrace>
+ <SuppressSchemaValidation>False</SuppressSchemaValidation>
+ <SuppressSpecificWarnings>
+ </SuppressSpecificWarnings>
+ <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
+ <VerboseOutput>False</VerboseOutput>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <DefineConstants>Debug;Type=Debug;IncludePdb=true</DefineConstants>
+ <SuppressSpecificWarnings>1080</SuppressSpecificWarnings>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <DefineConstants>Type=Release;IncludePdb=false</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Folder Include="src" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="src\Documentation.wxs" />
+ <Compile Include="src\PowerPack.wxs" />
+ <Compile Include="src\Product.wxs" />
+ <Compile Include="src\NemerleRuntime.wxs" />
+ <Compile Include="src\CompilerAndTools.wxs" />
+ <Compile Include="src\Vs2010Extension.wxs" />
+ </ItemGroup>
+ <PropertyGroup>
+ <NRoot>..\..\..\..</NRoot>
+ <VSBinDir>$(NRoot)\bin\$(Configuration)\net-4.0\VsIntegration</VSBinDir>
+ </PropertyGroup>
+ <ItemGroup>
+ <Content Include="..\resources\bannrbmp.bmp" />
+ <Content Include="..\resources\Console.ico" />
+ <Content Include="..\resources\dlgbmp.bmp" />
+ <Content Include="..\resources\Nemerle.ico" />
+ <Content Include="$(NRoot)\License.rtf" />
+ </ItemGroup>
+ <ItemGroup>
+ <WixExtension Include="WixUIExtension">
+ <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
+ <Name>WixUIExtension</Name>
+ </WixExtension>
+ <WixExtension Include="WixNetFxExtension">
+ <HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
+ <Name>WixNetFxExtension</Name>
+ </WixExtension>
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets" />
+ <ItemGroup>
+ <Docs Include="..\docs\**\*.*" />
+ <VSBin Include="$(VSBinDir)\Nemerle.VisualStudio.vsix" />
+ <NLinq Include="$(NRoot)\bin\$(Configuration)\net-4.0\Linq\Nemerle.Linq.*" />
+ <PowerPack Include="$(NRoot)\bin\$(Configuration)\net-4.0\PowerPack\*.*" />
+ <!--<CompilerBin Include="$(Nemerle)\*.*" />-->
+ <CompilerBin Include="$(NRoot)\bin\$(Configuration)\net-4.0\Stage4\*.*" />
+ <ToolsBin Include="$(NRoot)\bin\$(Configuration)\net-4.0\Tools\*.*" />
+ </ItemGroup>
+ <Target Name="BeforeBuild">
+ <RemoveDir Directories="dist" />
+ <Copy SourceFiles="@(CompilerBin)" DestinationFolder="dist\net-4.0\bin" />
+ <Copy SourceFiles="@(VSBin)" DestinationFolder="dist\net-4.0\bin" />
+ <Copy SourceFiles="@(NLinq)" DestinationFolder="dist\net-4.0\bin" />
+ <Copy SourceFiles="@(PowerPack)" DestinationFolder="dist\net-4.0\power-pack" />
+ <Copy SourceFiles="$(NRoot)\tools\msbuild-task\Nemerle.MSBuild.targets" DestinationFolder="dist\net-4.0\bin" />
+ <Copy SourceFiles="@(Docs)" DestinationFiles="@(Docs->'dist\net-4.0\docs\%(RecursiveDir)%(Filename)%(Extension)')" />
+ <Copy SourceFiles="@(ToolsBin)" DestinationFolder="dist\net-4.0\bin" />
+ <Copy SourceFiles="$(NRoot)\ExternalDependences\SetJunction.exe" DestinationFolder="dist\net-4.0\bin" />
+ <GetFrameworkSdkPath>
+ <Output TaskParameter="Path" PropertyName="SDK" />
+ </GetFrameworkSdkPath>
+ <PropertyGroup>
+ <Sed>"$(NRoot)\ExternalDependences\sed.exe"</Sed>
+ </PropertyGroup>
+ <GetAssemblyIdentity AssemblyFiles="dist\net-4.0\bin\Nemerle.dll">
+ <Output TaskParameter="Assemblies" ItemName="AssemblyVersion" />
+ </GetAssemblyIdentity>
+ <PropertyGroup>
+ <ActualVersion>%(AssemblyVersion.Version)</ActualVersion>
+ </PropertyGroup>
+ <Exec Command="$(Sed) s/\$AssemblyVersion\$/$(ActualVersion)/g src\Version.wxi.template > src\Version.wxi" WorkingDirectory="." />
+ </Target>
+ <Target Name="AfterBuild">
+ <ItemGroup>
+ <OutputFiles Include="$(OutputPath)\*.*" />
+ </ItemGroup>
+ <Copy SourceFiles="@(OutputFiles)" DestinationFiles="@(OutputFiles->'$(NRoot)\bin\$(Configuration)\net-4.0\Installer\%(Filename)-net-4.0-v$(ActualVersion)%(Extension)')" />
+ <Delete Files="@(OutputFiles)" />
+ <Delete Files="src\Version.wxi" />
+ </Target>
+</Project>
View
110 misc/packages/wix/net-4.0/src/CompilerAndTools.wxs
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
+
+ <Fragment>
+ <ComponentGroup Id="CompGroup_NemerleBinaries">
+
+ <!-- Nemerle compiler (GAC folder) -->
+ <ComponentRef Id="Comp_NemerleCompilerGAC" />
+ <ComponentRef Id="Comp_NemerleMacrosGAC" />
+ <!-- Nemerle evaluation (GAC folder) -->
+ <ComponentRef Id="Comp_NemereEvaluationGAC" />
+
+ <!-- Nemerle compiler (bin folder) -->
+ <ComponentRef Id="Comp_NemerleCompiler" />
+ <ComponentRef Id="Comp_NemerleCompilerFrontEnd" />
+ <ComponentRef Id="Comp_NemerleMacros" />
+
+ <!-- MSBuild task (bin folder) -->
+ <ComponentRef Id="Comp_MSBuild" />
+
+ <!-- NAnt task (bin folder) -->
+ <ComponentRef Id="Comp_NAnt" />
+ </ComponentGroup>
+
+ <!--<DirectoryRef Id="BINDIR">-->
+ <DirectoryRef Id="APPLICATIONFOLDER">
+
+ <Component Id="Comp_NemerleCompiler" DiskId="1" Guid="d790d5a5-73c8-46fd-abd3-e628eadecb1f">
+ <File Id="File_Nemerle.Compiler.dll" Name="Nemerle.Compiler.dll" Source="dist\net-4.0\bin\">
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.Compiler.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <File Id="File_Nemerle.Compiler.xml" Name="Nemerle.Compiler.xml" Source="dist\net-4.0\bin\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Compiler.pdb" Name="Nemerle.Compiler.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ </Component>
+ <Component Id="Comp_NemerleMacros" DiskId="1" Guid="adcac690-a2ba-4165-864b-2342e5d96bee">
+ <File Id="File_Nemerle.Macros.dll" Name="Nemerle.Macros.dll" Source="dist\net-4.0\bin\">
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.Macros.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <File Id="File_Nemerle.Macros.xml" Name="Nemerle.Macros.xml" Source="dist\net-4.0\bin\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Macros.pdb" Name="Nemerle.Macros.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_NemerleCompilerFrontEnd" DiskId="1" Guid="df936f75-4632-4319-a958-93de25252778">
+ <File Id="File_ncc.exe" Name="ncc.exe" Source="dist\net-4.0\bin\" >
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_ncc.exe" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_ncc.pdb" Name="ncc.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ <!--
+ <Environment Id="Env_Nemerle" Action="set" System="yes" Name="Nemerle" Value="[APPLICATIONFOLDER]" />
+ <Environment Id="Env_Path" Action="set" Part="last" System="yes" Name="Path" Value="[APPLICATIONFOLDER]" />
+ <RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ncc.exe"
+ Value="[#File_ncc.exe]" Type="string"/>
+ -->
+ </Component>
+
+ <Component Id="Comp_MSBuild" DiskId="1" Guid="586d3bf5-9fa2-40d5-b232-238fbaeccc70">
+ <File Id="File_Nemerle.MSBuild.Tasks.dll" Name="Nemerle.MSBuild.Tasks.dll" Source="dist\net-4.0\bin\" >
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.MSBuild.Tasks.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <!-- <File Id="File_Nemerle.MSBuild.Tasks.xml" Name="Nemerle.MSBuild.Tasks.xml" Source="dist\net-4.0\bin\" /> -->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.MSBuild.Tasks.pdb" Name="Nemerle.MSBuild.Tasks.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ <File Id="File_Nemerle.MSBuild.targets" Name="Nemerle.MSBuild.targets" Source="dist\net-4.0\bin\" />
+ <RegistryKey Root="HKLM" Key="Software\Microsoft\VisualStudio\10.0\MSBuild\SafeImports">
+ <RegistryValue Name="Nemerle" Value="[#File_Nemerle.MSBuild.targets]" Type="string" />
+ </RegistryKey>
+ </Component>
+
+ <Component Id="Comp_NAnt" DiskId="1" Guid="8cf53a75-ee8e-479a-9196-0f1f43328bec">
+ <File Id="File_Nemerle.NAnt.Tasks.dll" Name="Nemerle.NAnt.Tasks.dll" Source="dist\net-4.0\bin\" >
+ <!--
+ Nemerle.NAnt.Tasks.dll does not have a strong name and
+ therefore can not be compiled to a native executable.
+ -->
+ <!-- <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.NAnt.Tasks.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" /> -->
+ </File>
+ <!--<File Id="File_Nemerle.NAnt.Tasks.xml" Name="Nemerle.NAnt.Tasks.xml" Source="dist\net-4.0\bin\" />-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.NAnt.Tasks.pdb" Name="Nemerle.NAnt.Tasks.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ </Component>
+
+ </DirectoryRef>
+
+ <DirectoryRef Id="APPLICATIONFOLDER">
+ <Directory Id = "CompilerGAC" Name="CompilerGAC">
+
+ <Component Id="Comp_NemerleCompilerGAC" DiskId="1" Guid="b8a9a537-bb79-44c0-b447-67d5fb036f0e">
+ <File Id="Gac_Nemerle.Compiler.dll" Name="Nemerle.Compiler.dll" Source="dist\net-4.0\bin\" Assembly=".net" KeyPath="yes" />
+ </Component>
+ <Component Id="Comp_NemerleMacrosGAC" DiskId="1" Guid="cd739374-356a-4fb2-9041-37b769b55047">
+ <File Id="Gac_Nemerle.Macros.dll" Name="Nemerle.Macros.dll" Source="dist\net-4.0\bin\" Assembly=".net" KeyPath="yes" />
+ </Component>
+ <Component Id="Comp_NemereEvaluationGAC" DiskId="1" Guid="ce75d335-171e-4b33-9dad-c9b64c5007c1">
+ <File Id="Gac_Nemerle.Evaluation.dll" Name="Nemerle.Evaluation.dll" Source="dist\net-4.0\bin\" Assembly=".net" KeyPath="yes" />
+ </Component>
+ </Directory>
+ </DirectoryRef>
+
+ </Fragment>
+</Wix>
View
88 misc/packages/wix/net-4.0/src/Documentation.wxs
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2003-2007 The University of Wroclaw.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the University may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<!--
+ Visual Studio Integration for Nemerle
+ Nemerle documentation
+-->
+
+<?include Version.wxi ?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+
+ <Fragment>
+
+ <Icon Id="Help.ico" SourceFile="../resources/Help.ico" />
+
+ <ComponentGroup Id="CompGroup_Documentation">
+
+ <!-- Nemerle guides (docs folder). -->
+ <ComponentRef Id="Comp_Docs1" />
+ <ComponentRef Id="Comp_Docs2" />
+ <ComponentRef Id="Comp_Docs3" />
+ <!-- Nemerle guides (menu folder). -->
+ <ComponentRef Id="Comp_MenuDocs" />
+
+ </ComponentGroup>
+
+ <DirectoryRef Id="Dir_Docs">
+
+ <Component Id="Comp_Docs1" DiskId="1" Guid="61300733-2A09-466a-A849-C17C3B7A9B15">
+
+ <File Id="Grokking_Nemerle.html" Name="Grokking_Nemerle.html" Source="dist\net-4.0\docs\Grokking_Nemerle.html" KeyPath="yes" >
+ <Shortcut Id="Shortcut_Grokking_Nemerle.html" Directory="Dir_MenuDocs" Name="Grokking Nemerle" Advertise="yes" Icon="Help.ico" />
+ </File>
+ </Component>
+ <Component Id="Comp_Docs2" DiskId="1" Guid="61300733-2A10-466a-A849-C17C3B7A9B15">
+ <File Id="Macros.html" Name="Macros.html" Source="dist\net-4.0\docs\Macros.html" KeyPath="yes" >
+ <Shortcut Id="Shortcut_Macros.html" Directory="Dir_MenuDocs" Name="Macros guide" Advertise="yes" Icon="Help.ico" />
+ </File>
+ </Component>
+ <Component Id="Comp_Docs3" DiskId="1" Guid="61300733-2A20-466a-A849-C17C3B7A9B15">
+ <File Id="Tutorials_and_examples.html" Name="Tutorials_and_examples.html" Source="dist\net-4.0\docs\Tutorials_and_examples.html" KeyPath="yes" >
+ <Shortcut Id="Shortcut_Tutorials_and_examples.html" Directory="Dir_MenuDocs" Name="Tutorials and examples" Advertise="yes" Icon="Help.ico" />
+ </File>
+
+ </Component>
+
+ </DirectoryRef>
+
+ <DirectoryRef Id="ProgramMenuDir">
+ <Directory Id="Dir_MenuDocs" Name="Documentation">
+ <Component Id="Comp_MenuDocs" DiskId="1" Guid="983f1952-2927-4df1-b403-728ef1154c41">
+ <RegistryKey Root="HKCU" Key="Software\$(var.ProductName)">
+ <RegistryValue Value="" Type="string" KeyPath="yes" />
+ </RegistryKey>
+ <RemoveFolder Id="Dir_MenuDocs" On="uninstall" />
+ </Component>
+ </Directory>
+ </DirectoryRef>
+
+ </Fragment>
+</Wix>
View
60 misc/packages/wix/net-4.0/src/NemerleRuntime.wxs
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
+
+ <Fragment>
+ <ComponentGroup Id="CompGroup_NemerleRuntime">
+
+ <ComponentRef Id="Comp_Nemerle" />
+
+ <!-- Nemerle core runtime components (GAC folder). -->
+ <ComponentRef Id="Comp_NemerleGAC" />
+ <ComponentRef Id="Comp_NemerleLinqGAC" />
+
+ </ComponentGroup>
+
+ <DirectoryRef Id="APPLICATIONFOLDER">
+ <!--<DirectoryRef Id="BINDIR">-->
+ <Component Id="Comp_Nemerle" DiskId="1" Guid="4bb6ba5f-60aa-4eae-97ee-c4d262bb6ae6">
+ <!-- Nemerle core runtime components (bin folder). -->
+ <File Id="File_Nemerle.dll" Name="Nemerle.dll" Source="dist\net-4.0\bin\">
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.pdb" Name="Nemerle.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ <File Id="File_Nemerle.xml" Name="Nemerle.xml" Source="dist\net-4.0\bin\" />
+
+ <!-- Nemerle Linq components (bin folder). -->
+ <File Id="File_Nemerle.Linq.dll" Name="Nemerle.Linq.dll" Source="dist\net-4.0\bin\">
+ <netfx:NativeImage Priority="1" Platform="all" Id="Image_Nemerle.Linq.dll" Dependencies="no" AppBaseDirectory="APPLICATIONFOLDER" />
+ </File>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Linq.pdb" Name="Nemerle.Linq.pdb" Source="dist\net-4.0\bin\"/>
+ <?endif ?>
+ <!--File Id="File_Nemerle.Linq.xml" Name="Nemerle.Linq.xml" Source="dist\net-4.0\bin\" /-->
+
+ <File Id="File_Junction" Name="SetJunction.exe" Source="dist\net-4.0\bin\" />
+
+ <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\Nemerle">
+ <RegistryValue Value="[APPLICATIONFOLDER]" Type="string" />
+ <RegistryValue Id="AppFolder" Value="[APPLICATIONFOLDER]" Type="string" />
+ </RegistryKey>
+
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="APPLICATIONFOLDER">
+ <Directory Id = "RuntimeGAC" Name="RuntimeGAC">
+ <Component Id="Comp_NemerleGAC" DiskId="1" Guid="fc82174a-e032-4bf8-a0df-7964930b554f">
+ <File Id="Gac_Nemerle.dll" Name="Nemerle.dll" Source="dist\net-4.0\bin\" Assembly=".net" KeyPath="yes" />
+ </Component>
+ <Component Id="Comp_NemerleLinqGAC" DiskId="1" Guid="4bffa10e-3bd2-438b-9da7-5b05c08e93ec">
+ <File Id="Gac_Nemerle.Linq.dll" Name="Nemerle.Linq.dll" Source="dist\net-4.0\bin\" Assembly=".net" KeyPath="yes" />
+ </Component>
+ </Directory>
+ </DirectoryRef>
+
+ </Fragment>
+</Wix>
View
202 misc/packages/wix/net-4.0/src/PowerPack.wxs
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Fragment>
+ <ComponentGroup Id="CompGroup_PowerPack">
+ <ComponentRef Id="Comp_PegParser"/>
+ <ComponentRef Id="Comp_CSharpParser"/>
+ <ComponentRef Id="Comp_WpfMacros"/>
+ <ComponentRef Id="Comp_XmlMacros"/>
+ <ComponentRef Id="Comp_ComputationExpressions"/>
+ <ComponentRef Id="Comp_ObjectExpressions"/>
+ <ComponentRef Id="Comp_AopMacros"/>
+ <ComponentRef Id="Comp_ActivePatterns"/>
+ </ComponentGroup>
+
+ <DirectoryRef Id="APPLICATIONFOLDER">
+ <Component Id="Comp_PegParser" DiskId="1" Guid="beef10e8-6752-4e37-bdb0-121f8ac3992b">
+ <File Id="File_Nemerle.Peg.dll"
+ Name="Nemerle.Peg.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+ <File Id="File_Nemerle.Peg.xml"
+ Name="Nemerle.Peg.xml"
+ Source="dist\net-4.0\power-pack\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Peg.pdb"
+ Name="Nemerle.Peg.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ <File Id="File_Nemerle.Peg.Macros.dll"
+ Name="Nemerle.Peg.Macros.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_Nemerle.Peg.Macros.xml"
+ Name="Nemerle.Peg.Macros.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Peg.Macros.pdb"
+ Name="Nemerle.Peg.Macros.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_WpfMacros"
+ DiskId="1"
+ Guid="7000bd95-b2bd-4a43-a3c1-f3873732d090">
+ <File Id="File_Nemerle.WPF.dll"
+ Name="Nemerle.WPF.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+ <File Id="File_Nemerle.WPF.xml"
+ Name="Nemerle.WPF.xml"
+ Source="dist\net-4.0\power-pack\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.WPF.pdb"
+ Name="Nemerle.WPF.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_XmlMacros"
+ DiskId="1"
+ Guid="7270ac67-dfef-400a-a40d-0b6db73e9f8d">
+ <File Id="File_Nemerle.Xml.Macro.dll"
+ Name="Nemerle.Xml.Macro.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_Nemerle.Xml.Macro.xml"
+ Name="Nemerle.Xml.Macro.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Xml.Macro.pdb"
+ Name="Nemerle.Xml.Macro.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_ComputationExpressions"
+ DiskId="1"
+ Guid="47976d0b-fdaa-466d-afbd-90fb8cb50d75">
+ <File Id="File_ComputationExpressions.dll"
+ Name="ComputationExpressions.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+ <File Id="File_ComputationExpressions.xml"
+ Name="ComputationExpressions.xml"
+ Source="dist\net-4.0\power-pack\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_ComputationExpressions.pdb"
+ Name="ComputationExpressions.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+
+ <File Id="File_ComputationExpressions.Macros.dll"
+ Name="ComputationExpressions.Macros.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+ <File Id="File_ComputationExpressions.Macros.xml"
+ Name="ComputationExpressions.Macros.xml"
+ Source="dist\net-4.0\power-pack\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_ComputationExpressions.Macros.pdb"
+ Name="ComputationExpressions.Macros.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_ObjectExpressions"
+ DiskId="1"
+ Guid="85906e0a-2021-4289-8e73-8e2b66c89d09">
+ <File Id="File_NewObjectMacro.dll"
+ Name="NewObjectMacro.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+ <File Id="File_NewObjectMacro.xml"
+ Name="NewObjectMacro.xml"
+ Source="dist\net-4.0\power-pack\"/>
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_NewObjectMacro.pdb"
+ Name="NewObjectMacro.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_AopMacros"
+ DiskId="1"
+ Guid="5a414efc-8c3c-449f-b195-7d2595838201">
+ <File Id="File_Nemerle.Aop.dll"
+ Name="Nemerle.Aop.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_Nemerle.Aop.xml"
+ Name="Nemerle.Aop.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.Aop.pdb"
+ Name="Nemerle.Aop.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_ActivePatterns"
+ DiskId="1"
+ Guid="d2518327-d64b-4317-bfd4-c0aa4c692869">
+ <File Id="File_Nemerle.ActivePatterns.dll"
+ Name="Nemerle.ActivePatterns.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_Nemerle.ActivePatterns.xml"
+ Name="Nemerle.ActivePatterns.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_Nemerle.ActivePatterns.pdb"
+ Name="Nemerle.ActivePatterns.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+
+ <Component Id="Comp_CSharpParser"
+ DiskId="1"
+ Guid="ee4357f1-6476-4b55-9e46-2f3b45433fbe">
+ <File Id="File_CSharpParser.dll"
+ Name="CSharpParser.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_CSharpParser.xml"
+ Name="CSharpParser.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_CSharpParser.pdb"
+ Name="CSharpParser.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+
+ <File Id="File_ncc.parser.csharp.dll"
+ Name="ncc.parser.csharp.dll"
+ Source="dist\net-4.0\power-pack\">
+ </File>
+<!--
+ <File Id="File_ncc.parser.csharp.xml"
+ Name="ncc.parser.csharp.xml"
+ Source="dist\net-4.0\power-pack\"/>
+-->
+ <?if $(var.IncludePdb) != false ?>
+ <File Id="File_ncc.parser.csharp.pdb"
+ Name="ncc.parser.csharp.pdb"
+ Source="dist\net-4.0\power-pack\"/>
+ <?endif ?>
+ </Component>
+ </DirectoryRef>
+ </Fragment>
+</Wix>
View
116 misc/packages/wix/net-4.0/src/Product.wxs
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?include Version.wxi ?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+
+ <Product Id="$(var.ProductGuid)" UpgradeCode="$(var.UpgradeCode)"
+ Name="$(var.ProductLongName)" Version="$(var.ProductVersion)"
+ Language="1033" Manufacturer="$(var.Manufacturer)">
+
+ <Package Id="*" Compressed="yes"
+ Description="$(var.ProductName) $(var.ProductVersionText) for .NET Framework v4.0 installation package)"
+ InstallerVersion="200" ShortNames="no" Manufacturer="$(var.Manufacturer)" Languages="1033" SummaryCodepage="1252" />
+
+ <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
+
+ <Condition Message="An administrator must approve or install [ProductName].">
+ Privileged
+ </Condition>
+
+ <!-- Media -->
+ <Media Id="1" Cabinet="Nemerle.cab" EmbedCab="yes" CompressionLevel="high" />
+
+ <!-- Icons -->
+ <Icon Id="NemerleIcon" SourceFile="../resources/Nemerle.ico" />
+
+ <!-- Properties -->
+ <Property Id="ARPPRODUCTICON" Value="NemerleIcon" />
+ <Property Id="ARPHELPLINK" Value="http://Nemerle.org/" />
+ <Property Id="ARPURLINFOABOUT" Value="http://Nemerle.org/" />
+ <Property Id="ARPURLUPDATEINFO" Value="http://Nemerle.org/" />
+
+ <Property Id="UNINSTALLARGS" Value="/X{$(var.ProductGuid)}" />
+ <Property Id="UNINSTALLCMD" Value="MSIEXEC.EXE" />
+
+ <WixVariable Id="WixUILicenseRtf" Value="../../../../License.rtf" />
+ <WixVariable Id="WixUIBannerBmp" Value="../resources/bannrbmp.bmp" />
+ <WixVariable Id="WixUIDialogBmp" Value="../resources/dlgbmp.bmp" />
+
+ <!-- Root directories -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="ProgramMenuFolder" Name="Programs">
+ <Directory Id="ProgramMenuDir" Name="$(var.ProductLongName)">
+ <Component Id="RemoveProgramMenuDir" Guid="3c1d32c6-d1a0-4e46-bbe4-0db3033a8ee3">
+ <RegistryKey Root="HKCU" Key="Software\$(var.ProductName)\net-4.0\InstallDir">
+ <RegistryValue Value="[APPLICATIONFOLDER]" Type="string" KeyPath="yes" />
+ </RegistryKey>
+ <Shortcut Id="InvokeRemove" Name="Uninstall $(var.ProductName)" Target="[UNINSTALLCMD]" Arguments="[UNINSTALLARGS]" WorkingDirectory="SystemDir" Directory="ProgramMenuDir" Description="Uninstall" />
+ <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
+ </Component>
+ </Directory>
+ </Directory>
+ <Directory Id="ProgramFilesFolder" Name="PFILES">
+ <Directory Id="ROOTAPPLICATIONFOLDER" Name="$(var.ProductName)">
+ <Directory Id="APPLICATIONFOLDER" Name="net-4.0">
+ <Directory Id="Dir_Docs" Name="docs" />
+ </Directory>
+ </Directory>
+ </Directory>
+ </Directory>
+
+ <!-- Root feature -->
+ <Feature Id="Feature_Root" Title="Nemerle" Description="Complete installation." AllowAdvertise="no" Display="expand" InstallDefault="local" Level="1" Absent="disallow">
+ <ComponentRef Id="RemoveProgramMenuDir" />
+ <ComponentGroupRef Id="CompGroup_NemerleRuntime" />
+
+ <Feature Id="Feature_Compiler" Title="Compiler and tools" Description="Nemerle Compiler (ncc.exe) and additional tools." AllowAdvertise="no" Level="1">
+ <ComponentGroupRef Id="CompGroup_NemerleBinaries" />
+ </Feature>
+
+ <Feature Id="Feature_PowerPack" Title="Power Pack!" Description="Additional macro libraries: parser generator, computation expressions macros. C# source support for Nemerle compiler." AllowAdvertise="no" Level="1">
+ <ComponentGroupRef Id="CompGroup_PowerPack" />
+ </Feature>
+
+ <Feature Id="Feature_Docs" Title="Documentation" Description="HTML and PDF files." Level="1">
+ <ComponentGroupRef Id="CompGroup_Documentation" />
+ </Feature>
+
+ <Feature Id="Feature_VS2010" Title="Visual Studio 2010 Integration" Description="Nemerle Project and IntelliSense for Visual Studio 2010" AllowAdvertise="no" Display="expand" InstallDefault="local" Level="0" TypicalDefault="install">
+ <Condition Level="1">VS2010_VSIXINSTALLER</Condition>
+ <ComponentGroupRef Id="CompGroup_VS2010Extension" />
+ </Feature>
+
+ </Feature>
+
+ <CustomAction Id="CA_SetJunction" FileKey="File_Junction" ExeCommand='[APPLICATIONROOTFOLDER]' Execute="deferred" Impersonate="no" />
+
+ <!-- Install Sequences -->
+ <InstallExecuteSequence>
+ <FindRelatedProducts Before="LaunchConditions" />
+ <Custom Action="CA_SetJunction" Before="InstallFinalize">NOT Installed</Custom>
+ <Custom Action="CA_SetVsixInstallCommand" After="CA_SetJunction"></Custom>
+ <Custom Action="CA_InstallVsix_2010" After="CA_SetVsixInstallCommand"><![CDATA[NOT (REMOVE="ALL")]]></Custom>
+ <Custom Action="CA_UninstallVsix_2010" After="CA_SetVsixInstallCommand"><![CDATA[(REMOVE="ALL")]]></Custom>
+ </InstallExecuteSequence>
+
+ <InstallUISequence>
+ <FindRelatedProducts Before="LaunchConditions" />
+ </InstallUISequence>
+
+ <!-- WixUI_Advanced scaffolding (to be replaced by extension authoring) -->
+ <Property Id="ApplicationFolderName" Value="$(var.ProductShortName)\net-4.0\" />
+ <Property Id="ALLUSERS" Value="1" />
+ <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
+
+ <WixVariable Id="WixUISupportPerMachine" Value="1" />
+ <WixVariable Id="WixUISupportPerUser" Value="0" />
+
+ <UI>
+ <UIRef Id="WixUI_Advanced" />
+ <UIRef Id="WixUI_ErrorProgressText" />
+ <ProgressText Action="CA_InstallVsix_2010" Template="[1]">Updating Visual Studio 2010 registration</ProgressText>
+ <ProgressText Action="CA_UninstallVsix_2010" Template="[1]">Updating Visual Studio 2010 registration</ProgressText>
+ </UI>
+ </Product>
+</Wix>
View
14 misc/packages/wix/net-4.0/src/Version.wxi.template
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<Include>
+
+<?define ProductName = "Nemerle" ?>
+<?define ProductShortName = "Nemerle" ?>
+<?define ProductLongName = "Nemerle v$AssemblyVersion$ for .NET Framework v4.0" ?>
+<?define ProductVersion = "$AssemblyVersion$" ?>
+<?define ProductVersionText = "v$AssemblyVersion$" ?>
+<?define Manufacturer = "Nemerle Project Team" ?>
+<?define ProductGuid = "*" ?>
+<?define UpgradeCode = "4b7a0c95-1715-45d2-b86b-5998a361b298" ?>
+
+</Include>
View
24 misc/packages/wix/net-4.0/src/Vs2010Extension.wxs
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Fragment>
+
+ <Property Id="VS2010_VSIXINSTALLER" Secure="yes">
+ <RegistrySearch Id="VS2010_VsixInstallerSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS" Name="EnvironmentDirectory" Type="raw">
+ <DirectorySearch Id="VS2010_VsixInstallerPathSearch">
+ <FileSearch Id="VS2010_VsixInstallerFileSearch" Name="VSIXInstaller.exe" />
+ </DirectorySearch>
+ </RegistrySearch>
+ </Property>
+
+ <CustomAction Id="CA_SetVsixInstallCommand" Property="VSIX_INSTALL_COMMAND" Value="&quot;[#File_Nemerle.VisualStudio.vsix]&quot;" />
+ <CustomAction Id="CA_InstallVsix_2010" Property="VS2010_VSIXINSTALLER" ExeCommand="/q [VSIX_INSTALL_COMMAND]" Execute="deferred" Impersonate="yes" />
+ <CustomAction Id="CA_UninstallVsix_2010" Property="VS2010_VSIXINSTALLER" ExeCommand="/q /uninstall:FFFFeaae-d2c0-461d-8ff6-b3bc8d67bcfe" Execute="deferred" Impersonate="yes" />
+
+ <ComponentGroup Id="CompGroup_VS2010Extension">
+ <Component Directory="APPLICATIONFOLDER" Id="Comp_VS2010ExtensionVSIXPackage" DiskId="1" Guid="22010dfe-0a14-4390-aa5c-a2608bbf2e55">
+ <File Id="File_Nemerle.VisualStudio.vsix" Name="Nemerle.VisualStudio.vsix" Source="dist\net-4.0\bin\" />
+ </Component>
+ </ComponentGroup>
+
+ </Fragment>
+</Wix>
View
0 misc/packages/wix/net-3.5/src/Console.ico → misc/packages/wix/resources/Console.ico
File renamed without changes.
View
0 misc/packages/wix/net-3.5/src/Help.ico → misc/packages/wix/resources/Help.ico
File renamed without changes.
View
0 misc/packages/wix/net-3.5/src/Nemerle.ico → misc/packages/wix/resources/Nemerle.ico
File renamed without changes.
View
0 misc/packages/wix/net-3.5/src/bannrbmp.bmp → misc/packages/wix/resources/bannrbmp.bmp
File renamed without changes.
View
0 misc/packages/wix/net-3.5/src/dlgbmp.bmp → misc/packages/wix/resources/dlgbmp.bmp
File renamed without changes.

0 comments on commit deb3187

Please sign in to comment.
Something went wrong with that request. Please try again.