Improve the Installer for W8
Fix the Templates for W8 add MakeMSI.cmd to create the installer
This commit is contained in:
parent
77afddf4ba
commit
8d46a01d1b
@ -16,6 +16,7 @@
|
||||
|
||||
<Feature Id="ProductFeature" Title="ANX.Framework assemblies" Level="1">
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
<ComponentGroupRef Id="ProductComponentsModernUI" />
|
||||
</Feature>
|
||||
|
||||
<Feature Id="Tools" Title="ANX.Framework tools" Level="1">
|
||||
@ -73,6 +74,7 @@
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="ANX.Framework">
|
||||
<Directory Id="TOOLSFOLDER" Name="Tools" />
|
||||
<Directory Id="MODERNUIFOLDER" Name="ModernUI"/>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
@ -308,5 +310,42 @@
|
||||
</Component>
|
||||
-->
|
||||
</ComponentGroup>
|
||||
<ComponentGroup Id="ProductComponentsModernUI" Directory="MODERNUIFOLDER">
|
||||
<Component Id='ANX.Framework.M' Guid='{505f7d0e-7d3b-42ef-8279-3668ba471707}'>
|
||||
<File Id='anx.framework.M' Name='ANX.Framework.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.Framework.dll' />
|
||||
|
||||
<RegistryKey Root="HKLM" Key="Software\Microsoft\.NETFramework\AssemblyFolders\ANX.Framework for WindowsStore" >
|
||||
<RegistryValue Type="string" Value="[MODERNUIFOLDER]" Action="write" />
|
||||
</RegistryKey>
|
||||
|
||||
</Component>
|
||||
<Component Id='SharpDX.M' Guid='{8918b008-3c96-4b80-be82-48ecd8b64a46}'>
|
||||
<File Id='sharpdx.direct3d11.M' Name='SharpDX.Direct3D11.dll' DiskId='1' Source='../lib/SharpDX/Bin/Standard-winrt/SharpDX.Direct3D11.dll' />
|
||||
<File Id='sharpdx.M' Name='SharpDX.dll' DiskId='1' Source='../lib/SharpDX/Bin/Standard-winrt/SharpDX.dll' />
|
||||
<File Id='sharpdx.dxgi.M' Name='SharpDX.DXGI.dll' DiskId='1' Source='../lib/SharpDX/Bin/Standard-winrt/SharpDX.DXGI.dll' />
|
||||
<File Id='sharpdx.xaudio2.M' Name='SharpDX.XAudio2.dll' DiskId='1' Source='../lib/SharpDX/Bin/Standard-winrt/SharpDX.XAudio2.dll' />
|
||||
<File Id='sharpdx.xinput.M' Name='SharpDX.XInput.dll' DiskId='1' Source='../lib/SharpDX/Bin/Standard-winrt/SharpDX.XInput.dll' />
|
||||
</Component>
|
||||
|
||||
<Component Id='ANX.RenderSystem.Windows.Metro.M' Guid='{46395c9d-1f3d-401d-b1ed-b64d7de6ba8d}'>
|
||||
<File Id='anx.RenderSystem.windows.Metro.M' Name='ANX.RenderSystem.Windows.Metro.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.RenderSystem.Windows.Metro.dll' />
|
||||
</Component>
|
||||
<Component Id='ANX.InputSystem.Standard.M' Guid='{40fb787b-ef64-4127-97bf-d02c158b6307}'>
|
||||
<File Id='anx.inputsystem.Standard.M' Name='ANX.InputSystem.Standard.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.InputSystem.Standard.dll' />
|
||||
</Component>
|
||||
<Component Id='ANX.InputSystem.Recording.M' Guid='{cdab1f5b-733c-43d4-9e2f-f9b3ded3da3b}'>
|
||||
<File Id='anx.inputsystem.Recording.M' Name='ANX.InputSystem.Recording.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.InputSystem.Recording.dll' />
|
||||
</Component>
|
||||
<Component Id='ANX.InputDevices.Windows.ModernUI.M' Guid='{9fef8eac-608a-4875-b1ec-f11e842db709}'>
|
||||
<File Id='ANX.InputDevices.Windows.ModernUI.M' Name='ANX.InputDevices.Windows.ModernUI.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.InputDevices.Windows.ModernUI.dll' />
|
||||
</Component>
|
||||
<Component Id='ANX.SoundSystem.Windows.XAudio.M' Guid='{a210288b-08e9-4143-9c21-a7ded3140405}'>
|
||||
<File Id='anx.soundsystem.windows.xaudio.M' Name='ANX.SoundSystem.Windows.XAudio.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.SoundSystem.Windows.XAudio.dll' />
|
||||
</Component>
|
||||
<Component Id='ANX.PlatformSystem.Metro.M' Guid='{c3e6d6c2-31c0-40d9-a3d5-435bd202f853}'>
|
||||
<File Id='anx.platformsystem.metro.M' Name='ANX.PlatformSystem.Metro.dll' DiskId='1' Source='../bin/ModernUI/Release/ANX.PlatformSystem.Metro.dll' />
|
||||
</Component>
|
||||
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
@ -82,7 +82,7 @@
|
||||
<property name="project.anx.metro" value="true" />
|
||||
<property name="project.anx.platform" value="Windows 8 / Metro" />
|
||||
<property name="build.platform" value="x86" />
|
||||
<property name="build.dir" value="${build.dir}/ModernUI" />
|
||||
<property name="build.dir.base" value="${build.dir}/ModernUI" />
|
||||
|
||||
<property name="project.anx.directives" value="${project.anx.directives} WINDOWSMETRO" />
|
||||
|
||||
@ -232,6 +232,16 @@
|
||||
|
||||
<include buildfile="ANX.PlatformSystem.build" />
|
||||
|
||||
<target name="create_msi_packages_ModernUI">
|
||||
<call target="build"/>
|
||||
<call target="metro"/>
|
||||
<call target="build"/>
|
||||
<property name="build.dir" value="${path::get-full-path('../bin')}" />
|
||||
<call target="winrt"/>
|
||||
<call target="build"/>
|
||||
<call target="create_msi_packages"/>
|
||||
</target>
|
||||
|
||||
<target name="generate_stock_shaders" description="Generate code for stock shaders" depends="build_tools">
|
||||
<!-- default windows fileset -->
|
||||
<fileset id="stock_shaders" basedir="../shader/">
|
||||
@ -306,7 +316,7 @@
|
||||
<!--
|
||||
<include name="**/*_WindowsMetro.csproj" />
|
||||
-->
|
||||
<include name="**/SimpleNoContent_WindowsMetro.csproj" />
|
||||
<!--<include name="**/SimpleNoContent_WindowsMetro.csproj" />-->
|
||||
</fileset>
|
||||
</if>
|
||||
|
||||
|
1
build/MakeMSI.cmd
Normal file
1
build/MakeMSI.cmd
Normal file
@ -0,0 +1 @@
|
||||
MakeAnxFramework create_msi_packages_ModernUI
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user