create x64 version of msi package (#241)
This commit is contained in:
Родитель
eaf3183c87
Коммит
ef8dbb7856
|
@ -30,6 +30,24 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?if $(var.Platform) = x64 ?>
|
||||
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
||||
<?define Win64 = "yes" ?>
|
||||
<?else ?>
|
||||
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
||||
<?define Win64 = "no" ?>
|
||||
<?endif ?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="*" Name="msixmgr" Language="1033" Version="!(bind.FileVersion.MsixMgrExe)" Manufacturer="Microsoft" UpgradeCode="2fe180f8-3fb8-48a0-b01e-68f47fc0ec34">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
||||
|
@ -21,7 +29,7 @@
|
|||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="$(var.PlatformProgramFilesFolder)">
|
||||
<Directory Id="INSTALLFOLDER" Name="msixmgr">
|
||||
<Directory Id="Assets" Name="Assets"/>
|
||||
</Directory>
|
||||
|
@ -32,7 +40,7 @@
|
|||
<Fragment>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
|
||||
<Component Id="MsixMgrExe">
|
||||
<Component Id="MsixMgrExe" Win64="$(var.Win64)">
|
||||
<File Id="MsixMgrExe" Source="$(var.msixmgr.TargetPath)" />
|
||||
<ProgId Id="APPX" Description="Extracts package, reads manifest and unpacks VFS" Icon="MsixIcon" IconIndex="0" Advertise="yes">
|
||||
<Extension Id="appx" Advertise="yes">
|
||||
|
@ -46,7 +54,7 @@
|
|||
</ProgId>
|
||||
<Environment Id="PATH" Name="PATH" Value="[INSTALLFOLDER]" Permanent="no" Part="last" Action="set" System="no" />
|
||||
</Component>
|
||||
<Component Id="MsixDll">
|
||||
<Component Id="MsixDll" Win64="$(var.Win64)">
|
||||
<File Source="$(var.msixmgr.TargetDir)\msix.dll" />
|
||||
</Component>
|
||||
|
||||
|
|
|
@ -49,15 +49,15 @@ Global
|
|||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Debug|x86.Build.0 = Debug|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x64.ActiveCfg = Release|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x64.Build.0 = Release|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x64.ActiveCfg = Release|x64
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x64.Build.0 = Release|x64
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x86.ActiveCfg = Release|x86
|
||||
{CE395DC5-A1D0-4A35-8699-FC57A84CCF48}.Release|x86.Build.0 = Release|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Debug|x86.Build.0 = Debug|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x64.ActiveCfg = Release|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x64.Build.0 = Release|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x64.ActiveCfg = Release|x64
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x64.Build.0 = Release|x64
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x86.ActiveCfg = Release|x86
|
||||
{048748AB-B84C-4CEC-A468-3F6914953A3D}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
|
|
Загрузка…
Ссылка в новой задаче