mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
Back to WiX 3.11 for now
This commit is contained in:
@@ -1,16 +1,42 @@
|
|||||||
<Project>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Import Project="Sdk.props" Sdk="WixToolset.Sdk" Version="4.0.0" />
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
<ProductVersion>3.9</ProductVersion>
|
<ProductVersion>3.9</ProductVersion>
|
||||||
|
<ProjectGuid>5e5c13a5-635e-4310-a653-0f9760f46935</ProjectGuid>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<OutputName>FeedCenterSetup</OutputName>
|
<OutputName>FeedCenterSetup</OutputName>
|
||||||
<OutputType>Bundle</OutputType>
|
<OutputType>Bundle</OutputType>
|
||||||
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
||||||
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
||||||
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
|
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
<DefineConstants>Debug</DefineConstants>
|
<DefineConstants>Debug</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="WixToolset.Bal.wixext" Version="4.0.0" />
|
<Compile Include="Bundle.wxs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WixExtension Include="WixBalExtensionExt">
|
||||||
|
<HintPath>..\packages\WixBalExtensionExt.1.0.0.49\lib\WixBalExtensionExt.dll</HintPath>
|
||||||
|
<Name>WixBalExtensionExt</Name>
|
||||||
|
</WixExtension>
|
||||||
|
<WixExtension Include="WixFileVersionExtension">
|
||||||
|
<HintPath>..\packages\WixFileVersionExtension.1.0.0.3\lib\WixFileVersionExtension.dll</HintPath>
|
||||||
|
<Name>WixFileVersionExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
<WixExtension Include="WixNetFxExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
|
||||||
|
<Name>WixNetFxExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Application\FeedCenter.csproj">
|
<ProjectReference Include="..\Application\FeedCenter.csproj">
|
||||||
@@ -30,8 +56,19 @@
|
|||||||
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="Sdk.targets" Sdk="WixToolset.Sdk" Version="4.0.0" />
|
<ItemGroup>
|
||||||
|
<Content Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(WixTargetsPath)" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent />
|
<PostBuildEvent />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<!--
|
||||||
|
To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Wix.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
|
|
||||||
|
|
||||||
<?define ProductName="Feed Center" ?>
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||||
<?define CompanyName="Chris Kaczor" ?>
|
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
|
||||||
<?define ProductVersion="!(bind.packageVersion.FeedCenter)" ?>
|
|
||||||
<?define FileDescription="" ?>
|
<?define ProductName="$(fileVersion.ProductName($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
<?define CompanyName="$(fileVersion.CompanyName($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
<?define ProductVersion="$(fileVersion.ProductVersion($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
|
||||||
<Bundle Name="$(var.ProductName)"
|
<Bundle Name="$(var.ProductName)"
|
||||||
Version="$(var.ProductVersion)"
|
Version="$(var.ProductVersion)"
|
||||||
@@ -12,41 +13,43 @@
|
|||||||
UpgradeCode="5e5c13a5-635e-4310-a653-0f9760f46935"
|
UpgradeCode="5e5c13a5-635e-4310-a653-0f9760f46935"
|
||||||
Compressed="no">
|
Compressed="no">
|
||||||
|
|
||||||
<BootstrapperApplication Id="WixExtendedBootstrapperApplication.HyperlinkLicense">
|
<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.HyperlinkLicense">
|
||||||
<!--<bal:WixStandardBootstrapperApplication LaunchPassive="yes" LaunchQuiet="yes" />-->
|
<bal:WixExtendedBootstrapperApplication LicenseUrl=""
|
||||||
<bal:WixStandardBootstrapperApplication LicenseUrl=""
|
|
||||||
SuppressOptionsUI="yes"
|
SuppressOptionsUI="yes"
|
||||||
ShowVersion="yes"
|
ShowVersion="yes"
|
||||||
LaunchTarget="[LocalAppDataFolder]$(var.ProductName)\FeedCenter.exe"
|
LaunchPassive="yes"
|
||||||
Theme="hyperlinkLargeLicense" />
|
LaunchQuiet="yes"
|
||||||
</BootstrapperApplication>
|
LaunchTarget="[LocalAppDataFolder]$(var.ProductName)\FeedCenter.exe" />
|
||||||
|
</BootstrapperApplicationRef>
|
||||||
|
|
||||||
<Chain>
|
<Chain>
|
||||||
<ExePackage Id="runtime_desktop_x64"
|
<ExePackage Id="runtime_desktop_x64"
|
||||||
DisplayName=".NET 7.0 Desktop Runtime (x64)"
|
DisplayName=".NET 7.0 Desktop Runtime (x64)"
|
||||||
InstallArguments="/install /quiet"
|
InstallCommand="/install /quiet"
|
||||||
Permanent="yes"
|
Permanent="yes"
|
||||||
|
Compressed="no"
|
||||||
|
DownloadUrl="https://download.visualstudio.microsoft.com/download/pr/dffb1939-cef1-4db3-a579-5475a3061cdd/578b208733c914c7b7357f6baa4ecfd6/windowsdesktop-runtime-7.0.5-win-x64.exe"
|
||||||
|
Name="windowsdesktop-runtime-7.0.5-win-x64.exe"
|
||||||
InstallCondition='VersionNT64'>
|
InstallCondition='VersionNT64'>
|
||||||
<ArpEntry Id="runtime_desktop_x64_arp"
|
<RemotePayload ProductName="Microsoft Windows Desktop Runtime - 7.0.5 (x64)"
|
||||||
Version="7.0.5.32327"
|
Description="Microsoft Windows Desktop Runtime - 7.0.5 (x64)"
|
||||||
Win64="yes" />
|
Version="7.0.5.32327"
|
||||||
<ExePackagePayload Hash="8907aa0e934a31c63f0a840bf9e734c2f5ba109b766c1a775f8adbb169049753664790c0a15b216f02a942392819a3500e4a33918df10fb967341dc167f82d11"
|
Hash="5B4232EED009E6B66C64A6096B1277995DE63F57"
|
||||||
DownloadUrl="https://download.visualstudio.microsoft.com/download/pr/dffb1939-cef1-4db3-a579-5475a3061cdd/578b208733c914c7b7357f6baa4ecfd6/windowsdesktop-runtime-7.0.5-win-x64.exe"
|
Size="57609944" />
|
||||||
Name="windowsdesktop-runtime-7.0.5-win-x64.exe"
|
|
||||||
Size="57609944" />
|
|
||||||
</ExePackage>
|
</ExePackage>
|
||||||
<ExePackage Id="runtime_desktop_x32"
|
<ExePackage Id="runtime_desktop_x32"
|
||||||
DisplayName=".NET 7.0 Desktop Runtime (x86)"
|
DisplayName=".NET 7.0 Desktop Runtime (x86)"
|
||||||
InstallArguments="/install /quiet"
|
InstallCommand="/install /quiet"
|
||||||
Permanent="yes"
|
Permanent="yes"
|
||||||
|
Compressed="no"
|
||||||
|
DownloadUrl="https://download.visualstudio.microsoft.com/download/pr/eb64dcd1-d277-4798-ada1-600805c9e2dc/fc73c843d66f3996e7ef22468f4902e6/windowsdesktop-runtime-7.0.5-win-x86.exe"
|
||||||
|
Name="windowsdesktop-runtime-7.0.5-win-x86.exe"
|
||||||
InstallCondition='NOT VersionNT64'>
|
InstallCondition='NOT VersionNT64'>
|
||||||
<ArpEntry Id="runtime_desktop_x64_arp"
|
<RemotePayload ProductName="Microsoft Windows Desktop Runtime - 7.0.5 (x86)"
|
||||||
Version="7.0.5.32327"
|
Description="Microsoft Windows Desktop Runtime - 7.0.5 (x86)"
|
||||||
Win64="no" />
|
Version="7.0.5.32327"
|
||||||
<ExePackagePayload Hash="a2f776cfabcfbd4b9278198301d289ed1c56febd47259520c50b8b8d130a79d0ea99c857aec96865cc635ddf078fd575368c030ce11d61bb9991d296df87a4a7"
|
Hash="3987657473EA907DEC2FA48F492A5FC2B83B5060"
|
||||||
DownloadUrl="https://download.visualstudio.microsoft.com/download/pr/eb64dcd1-d277-4798-ada1-600805c9e2dc/fc73c843d66f3996e7ef22468f4902e6/windowsdesktop-runtime-7.0.5-win-x86.exe"
|
Size="52816632" />
|
||||||
Name="windowsdesktop-runtime-7.0.5-win-x86.exe"
|
|
||||||
Size="52816632" />
|
|
||||||
</ExePackage>
|
</ExePackage>
|
||||||
<MsiPackage Id="FeedCenter"
|
<MsiPackage Id="FeedCenter"
|
||||||
SourceFile="$(var.Setup.TargetPath)"
|
SourceFile="$(var.Setup.TargetPath)"
|
||||||
|
|||||||
5
Bootstrapper/packages.config
Normal file
5
Bootstrapper/packages.config
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="WixBalExtensionExt" version="1.0.0.49" />
|
||||||
|
<package id="WixFileVersionExtension" version="1.0.0.3" />
|
||||||
|
</packages>
|
||||||
@@ -1,17 +1,23 @@
|
|||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
|
|
||||||
|
|
||||||
<?define ProductName="Feed Center" ?>
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||||
<?define CompanyName="Chris Kaczor" ?>
|
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
|
||||||
<?define ProductVersion="!(bind.fileVersion.FeedCenter.exe)" ?>
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||||
<?define FileDescription="" ?>
|
<?define ProductName="$(fileVersion.ProductName($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
<?define CompanyName="$(fileVersion.CompanyName($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
<?define ProductVersion="$(fileVersion.ProductVersion($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
<?define FileDescription="$(fileVersion.FileDescription($(var.FeedCenter.TargetPath)))" ?>
|
||||||
|
|
||||||
<Package Name="$(var.ProductName)"
|
<Product Id="*"
|
||||||
|
Name="$(var.ProductName)"
|
||||||
Language="1033"
|
Language="1033"
|
||||||
Version="$(var.ProductVersion)"
|
Version="$(var.ProductVersion)"
|
||||||
Manufacturer="$(var.CompanyName)"
|
Manufacturer="$(var.CompanyName)"
|
||||||
UpgradeCode="47f30e4a-a861-47ac-b82d-35e4b886992a"
|
UpgradeCode="47f30e4a-a861-47ac-b82d-35e4b886992a">
|
||||||
Scope="perUser">
|
<Package InstallerVersion="405"
|
||||||
|
Compressed="yes"
|
||||||
|
InstallScope="perUser" />
|
||||||
|
|
||||||
<util:CloseApplication Id="CloseApplication"
|
<util:CloseApplication Id="CloseApplication"
|
||||||
Target="FeedCenter.exe"
|
Target="FeedCenter.exe"
|
||||||
CloseMessage="yes"
|
CloseMessage="yes"
|
||||||
@@ -22,37 +28,45 @@
|
|||||||
AllowSameVersionUpgrades="no"
|
AllowSameVersionUpgrades="no"
|
||||||
DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||||
|
|
||||||
|
<MediaTemplate />
|
||||||
|
|
||||||
<Feature Id="ProductFeature"
|
<Feature Id="ProductFeature"
|
||||||
Title="$(var.ProductName)"
|
Title="$(var.ProductName)"
|
||||||
Level="1">
|
Level="1">
|
||||||
<ComponentGroupRef Id="ProductComponents" />
|
<ComponentGroupRef Id="ProductComponents" />
|
||||||
</Feature>
|
</Feature>
|
||||||
</Package>
|
</Product>
|
||||||
|
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<StandardDirectory Id="LocalAppDataFolder">
|
<Directory Id="TARGETDIR"
|
||||||
<Directory Id="INSTALLFOLDER"
|
Name="SourceDir">
|
||||||
Name="$(var.ProductName)">
|
<Directory Id="LocalAppDataFolder">
|
||||||
<Directory Id="SqlServerCe_32"
|
<Directory Id="INSTALLFOLDER"
|
||||||
Name="x86" />
|
Name="$(var.ProductName)">
|
||||||
<Directory Id="SqlServerCe_64"
|
<Directory Id="SqlServerCe_32"
|
||||||
Name="amd64" />
|
Name="x86" />
|
||||||
<Directory Name="runtimes">
|
<Directory Id="SqlServerCe_64"
|
||||||
<Directory Name="win-x32">
|
Name="amd64" />
|
||||||
<Directory Id="Runtimes_Win_x32_Native"
|
<Directory Id="Runtimes"
|
||||||
Name="native" />
|
Name="runtimes">
|
||||||
</Directory>
|
<Directory Id="Runtimes_Win_x32"
|
||||||
<Directory Name="win-x64">
|
Name="win-x32">
|
||||||
<Directory Id="Runtimes_Win_x64_Native"
|
<Directory Id="Runtimes_Win_x32_Native"
|
||||||
Name="native" />
|
Name="native" />
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="Runtimes_Win_x64"
|
||||||
|
Name="win-x64">
|
||||||
|
<Directory Id="Runtimes_Win_x64_Native"
|
||||||
|
Name="native" />
|
||||||
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</StandardDirectory>
|
<Directory Id="ProgramMenuFolder">
|
||||||
<StandardDirectory Id="ProgramMenuFolder">
|
<Directory Id="ApplicationProgramsFolder"
|
||||||
<Directory Id="ApplicationProgramsFolder"
|
Name="$(var.ProductName)" />
|
||||||
Name="$(var.ProductName)" />
|
</Directory>
|
||||||
</StandardDirectory>
|
</Directory>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|
||||||
<Fragment>
|
<Fragment>
|
||||||
@@ -60,12 +74,13 @@
|
|||||||
<Component Id="SqlServerCe_32"
|
<Component Id="SqlServerCe_32"
|
||||||
Guid="{800607E9-65ED-489F-83A2-C73AA36A9D1D}"
|
Guid="{800607E9-65ED-489F-83A2-C73AA36A9D1D}"
|
||||||
Directory="SqlServerCe_32">
|
Directory="SqlServerCe_32">
|
||||||
<RegistryValue Root="HKCU"
|
|
||||||
Key="Software\Feed Center\Setup"
|
<RegistryValue Root='HKCU'
|
||||||
Type="integer"
|
Key='Software\Feed Center\Setup'
|
||||||
Name="SqlServerCe_32"
|
Type='integer'
|
||||||
Value="1"
|
Name='SqlServerCe_32'
|
||||||
KeyPath="yes" />
|
Value='1'
|
||||||
|
KeyPath='yes' />
|
||||||
|
|
||||||
<File Id="sqlceca40_32"
|
<File Id="sqlceca40_32"
|
||||||
Source="$(var.FeedCenter.TargetDir)\x86\sqlceca40.dll" />
|
Source="$(var.FeedCenter.TargetDir)\x86\sqlceca40.dll" />
|
||||||
@@ -80,18 +95,19 @@
|
|||||||
<File Id="sqlcese40_32"
|
<File Id="sqlcese40_32"
|
||||||
Source="$(var.FeedCenter.TargetDir)\x86\sqlcese40.dll" />
|
Source="$(var.FeedCenter.TargetDir)\x86\sqlcese40.dll" />
|
||||||
|
|
||||||
<RemoveFolder Id="SqlServerCe_32"
|
<RemoveFolder Id='SqlServerCe_32'
|
||||||
On="uninstall" />
|
On='uninstall' />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="SqlServerCe_64"
|
<Component Id="SqlServerCe_64"
|
||||||
Guid="{67DB1CF4-23F2-4252-896C-714438959C9A}"
|
Guid="{67DB1CF4-23F2-4252-896C-714438959C9A}"
|
||||||
Directory="SqlServerCe_64">
|
Directory="SqlServerCe_64">
|
||||||
<RegistryValue Root="HKCU"
|
|
||||||
Key="Software\Feed Center\Setup"
|
<RegistryValue Root='HKCU'
|
||||||
Type="integer"
|
Key='Software\Feed Center\Setup'
|
||||||
Name="SqlServerCe_64"
|
Type='integer'
|
||||||
Value="1"
|
Name='SqlServerCe_64'
|
||||||
KeyPath="yes" />
|
Value='1'
|
||||||
|
KeyPath='yes' />
|
||||||
|
|
||||||
<File Id="sqlceca40_64"
|
<File Id="sqlceca40_64"
|
||||||
Source="$(var.FeedCenter.TargetDir)\amd64\sqlceca40.dll" />
|
Source="$(var.FeedCenter.TargetDir)\amd64\sqlceca40.dll" />
|
||||||
@@ -106,8 +122,8 @@
|
|||||||
<File Id="sqlcese40_64"
|
<File Id="sqlcese40_64"
|
||||||
Source="$(var.FeedCenter.TargetDir)\amd64\sqlcese40.dll" />
|
Source="$(var.FeedCenter.TargetDir)\amd64\sqlcese40.dll" />
|
||||||
|
|
||||||
<RemoveFolder Id="SqlServerCe_64"
|
<RemoveFolder Id='SqlServerCe_64'
|
||||||
On="uninstall" />
|
On='uninstall' />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="Runtimes_Win_x32_Native"
|
<Component Id="Runtimes_Win_x32_Native"
|
||||||
Guid="{E07B7F53-9FA0-426D-8ADF-A9FFF4E1ED02}"
|
Guid="{E07B7F53-9FA0-426D-8ADF-A9FFF4E1ED02}"
|
||||||
@@ -120,9 +136,9 @@
|
|||||||
KeyPath="yes" />
|
KeyPath="yes" />
|
||||||
|
|
||||||
<File Id="realm_wrappers.dll_x32"
|
<File Id="realm_wrappers.dll_x32"
|
||||||
Source="$(var.FeedCenter.TargetDir)\runtimes\win-x64\native\realm-wrappers.dll" />
|
Source="$(var.FeedCenter.TargetDir)\runtimes\win-x86\native\realm-wrappers.dll" />
|
||||||
<File Id="sni.dll_x32"
|
<File Id="sni.dll_x32"
|
||||||
Source="$(var.FeedCenter.TargetDir)\runtimes\win-x64\native\sni.dll" />
|
Source="$(var.FeedCenter.TargetDir)\runtimes\win-x86\native\sni.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="Runtimes_Win_x64_Native"
|
<Component Id="Runtimes_Win_x64_Native"
|
||||||
Guid="{566D640B-F34D-4400-9B86-10EFD669A8B7}"
|
Guid="{566D640B-F34D-4400-9B86-10EFD669A8B7}"
|
||||||
@@ -142,12 +158,13 @@
|
|||||||
<Component Id="FeedCenter"
|
<Component Id="FeedCenter"
|
||||||
Guid="{9B2B9C65-8E68-4F82-9AC5-16EBCAC34B9E}"
|
Guid="{9B2B9C65-8E68-4F82-9AC5-16EBCAC34B9E}"
|
||||||
Directory="INSTALLFOLDER">
|
Directory="INSTALLFOLDER">
|
||||||
<RegistryValue Root="HKCU"
|
|
||||||
Key="Software\Feed Center\Setup"
|
<RegistryValue Root='HKCU'
|
||||||
Type="integer"
|
Key='Software\Feed Center\Setup'
|
||||||
Name="FeedCenter"
|
Type='integer'
|
||||||
Value="1"
|
Name='FeedCenter'
|
||||||
KeyPath="yes" />
|
Value='1'
|
||||||
|
KeyPath='yes' />
|
||||||
|
|
||||||
<!-- Capabilities keys for Vista/7 "Set Program Access and Defaults" -->
|
<!-- Capabilities keys for Vista/7 "Set Program Access and Defaults" -->
|
||||||
<RegistryValue Root="HKCU"
|
<RegistryValue Root="HKCU"
|
||||||
@@ -331,17 +348,18 @@
|
|||||||
<File Id="WpfScreenHelper.dll"
|
<File Id="WpfScreenHelper.dll"
|
||||||
Source="$(var.FeedCenter.TargetDir)\WpfScreenHelper.dll" />
|
Source="$(var.FeedCenter.TargetDir)\WpfScreenHelper.dll" />
|
||||||
|
|
||||||
<RemoveFolder Id="INSTALLFOLDER"
|
<RemoveFolder Id='INSTALLFOLDER'
|
||||||
On="uninstall" />
|
On='uninstall' />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="ApplicationShortcut"
|
<Component Id="ApplicationShortcut"
|
||||||
Guid="{63CF0995-E117-4BB9-9077-76F570FDFAA9}"
|
Guid="{63CF0995-E117-4BB9-9077-76F570FDFAA9}"
|
||||||
Directory="ApplicationProgramsFolder">
|
Directory="ApplicationProgramsFolder">
|
||||||
|
|
||||||
<Shortcut Id="StartMenuShortcut"
|
<Shortcut Id="StartMenuShortcut"
|
||||||
Directory="ApplicationProgramsFolder"
|
Directory="ApplicationProgramsFolder"
|
||||||
Advertise="no"
|
Advertise="no"
|
||||||
Name="$(var.ProductName)"
|
Name="$(var.ProductName)"
|
||||||
Target="[INSTALLFOLDER]\FeedCenter.exe"
|
Target="[INSTALLFOLDER]\$(var.FeedCenter.TargetName)"
|
||||||
WorkingDirectory="INSTALLFOLDER" />
|
WorkingDirectory="INSTALLFOLDER" />
|
||||||
|
|
||||||
<RemoveFolder Id="ApplicationProgramsFolder"
|
<RemoveFolder Id="ApplicationProgramsFolder"
|
||||||
|
|||||||
@@ -1,19 +1,46 @@
|
|||||||
<Project Sdk="WixToolset.Sdk/4.0.0">
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
<ProductVersion>3.9</ProductVersion>
|
<ProductVersion>3.9</ProductVersion>
|
||||||
|
<ProjectGuid>dfb3fe30-18ea-4216-8d92-11df9c8d50f1</ProjectGuid>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<OutputName>Setup</OutputName>
|
||||||
|
<OutputType>Package</OutputType>
|
||||||
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
||||||
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
<DefineConstants>Debug</DefineConstants>
|
<DefineConstants>Debug</DefineConstants>
|
||||||
<SuppressIces>ICE91</SuppressIces>
|
<SuppressIces>ICE91</SuppressIces>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
<SuppressIces>ICE91</SuppressIces>
|
<SuppressIces>ICE91</SuppressIces>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SuppressValidation>true</SuppressValidation>
|
<SuppressValidation>true</SuppressValidation>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="WixToolset.Util.wixext" Version="4.0.0" />
|
<Compile Include="Product.wxs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WixExtension Include="WixFileVersionExtension">
|
||||||
|
<HintPath>..\packages\WixFileVersionExtension.1.0.0.3\lib\WixFileVersionExtension.dll</HintPath>
|
||||||
|
<Name>WixFileVersionExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
<WixExtension Include="WixUtilExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
|
||||||
|
<Name>WixUtilExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
<WixExtension Include="WixNetFxExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
|
||||||
|
<Name>WixNetFxExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Application\FeedCenter.csproj">
|
<ProjectReference Include="..\Application\FeedCenter.csproj">
|
||||||
@@ -25,4 +52,16 @@
|
|||||||
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(WixTargetsPath)" />
|
||||||
|
<!--
|
||||||
|
To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Wix.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
4
Setup/packages.config
Normal file
4
Setup/packages.config
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="WixFileVersionExtension" version="1.0.0.3" />
|
||||||
|
</packages>
|
||||||
Reference in New Issue
Block a user