mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
Update installer to self-contained
This commit is contained in:
65
Installer/Bootstrapper/Bootstrapper.wixproj
Normal file
65
Installer/Bootstrapper/Bootstrapper.wixproj
Normal file
@@ -0,0 +1,65 @@
|
||||
<?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>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>3.9</ProductVersion>
|
||||
<ProjectGuid>5e5c13a5-635e-4310-a653-0f9760f46935</ProjectGuid>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputName>FeedCenterSetup</OutputName>
|
||||
<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>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<DefineConstants>Debug</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<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>
|
||||
<WixExtension Include="WixUtilExtension">
|
||||
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
|
||||
<Name>WixUtilExtension</Name>
|
||||
</WixExtension>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Setup\Setup.wixproj">
|
||||
<Name>Setup</Name>
|
||||
<Project>{dfb3fe30-18ea-4216-8d92-11df9c8d50f1}</Project>
|
||||
<Private>True</Private>
|
||||
<DoNotHarvest>True</DoNotHarvest>
|
||||
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
||||
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Bundle.wxl" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(WixTargetsPath)" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent />
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
63
Installer/Bootstrapper/Bundle.wxl
Normal file
63
Installer/Bootstrapper/Bundle.wxl
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WixLocalization Culture="en-us" Language="1033" xmlns="http://schemas.microsoft.com/wix/2006/localization">
|
||||
<String Id="Caption">[WixBundleName] Setup</String>
|
||||
<String Id="Title">[WixBundleName]</String>
|
||||
<String Id="InstallHeader">Welcome</String>
|
||||
<String Id="InstallMessage">Setup will install [WixBundleName] on your computer. Click Install to continue or Close to exit.</String>
|
||||
<String Id="InstallVersion">Version [WixBundleVersion]</String>
|
||||
<String Id="InstallUpgradeLinkText">Version [WixBundleVersion] <a href="#">upgrade available</a></String>
|
||||
<String Id="ConfirmCancelMessage">Are you sure you want to cancel?</String>
|
||||
<String Id="ExecuteUpgradeRelatedBundleMessage">Previous version</String>
|
||||
<String Id="HelpHeader">Setup Help</String>
|
||||
<String Id="HelpText">
|
||||
/install | /repair | /uninstall | /layout [directory] - installs, repairs, uninstalls or
|
||||
creates a complete local copy of the bundle in directory. Install is the default.
|
||||
|
||||
/passive | /quiet - displays minimal UI with no prompts or displays no UI and
|
||||
no prompts. By default UI and all prompts are displayed.
|
||||
|
||||
/norestart - suppress any attempts to restart. By default UI will prompt before restart.
|
||||
/log log.txt - logs to a specific file. By default a log file is created in %TEMP%.
|
||||
</String>
|
||||
<String Id="HelpCloseButton">&Close</String>
|
||||
<String Id="InstallLicenseLinkText">[WixBundleName] <a href="#">license terms</a>.</String>
|
||||
<String Id="InstallAcceptCheckbox">I &agree to the license terms and conditions</String>
|
||||
<String Id="InstallOptionsButton">&Options</String>
|
||||
<String Id="InstallInstallButton">&Install</String>
|
||||
<String Id="InstallCloseButton">&Close</String>
|
||||
<String Id="OptionsHeader">Setup Options</String>
|
||||
<String Id="OptionsLocationLabel">Install location:</String>
|
||||
<String Id="OptionsBrowseButton">&Browse</String>
|
||||
<String Id="OptionsOkButton">&OK</String>
|
||||
<String Id="OptionsCancelButton">&Cancel</String>
|
||||
<String Id="ProgressHeader">Setup Progress</String>
|
||||
<String Id="ProgressLabel">Processing:</String>
|
||||
<String Id="OverallProgressPackageText">Initializing...</String>
|
||||
<String Id="ProgressCancelButton">&Cancel</String>
|
||||
<String Id="ModifyHeader">Modify Setup</String>
|
||||
<String Id="ModifyRepairButton">&Repair</String>
|
||||
<String Id="ModifyUninstallButton">&Uninstall</String>
|
||||
<String Id="ModifyCloseButton">&Close</String>
|
||||
<String Id="SuccessRepairHeader">Repair Successfully Completed</String>
|
||||
<String Id="SuccessUninstallHeader">Uninstall Successfully Completed</String>
|
||||
<String Id="SuccessInstallHeader">Installation Successfully Completed</String>
|
||||
<String Id="SuccessHeader">Setup Successful</String>
|
||||
<String Id="SuccessLaunchButton">&Launch</String>
|
||||
<String Id="SuccessRestartText">You must restart your computer before you can use the software.</String>
|
||||
<String Id="SuccessRestartButton">&Restart</String>
|
||||
<String Id="SuccessCloseButton">&Close</String>
|
||||
<String Id="FailureHeader">Setup Failed</String>
|
||||
<String Id="FailureInstallHeader">Setup Failed</String>
|
||||
<String Id="FailureUninstallHeader">Uninstall Failed</String>
|
||||
<String Id="FailureRepairHeader">Repair Failed</String>
|
||||
<String Id="FailureHyperlinkLogText">One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the <a href="#">log file</a>.</String>
|
||||
<String Id="FailureRestartText">You must restart your computer to complete the rollback of the software.</String>
|
||||
<String Id="FailureRestartButton">&Restart</String>
|
||||
<String Id="FailureCloseButton">&Close</String>
|
||||
<String Id="FilesInUseHeader">Files In Use</String>
|
||||
<String Id="FilesInUseLabel">The following applications are using files that need to be updated:</String>
|
||||
<String Id="FilesInUseCloseRadioButton">Close the &applications and attempt to restart them.</String>
|
||||
<String Id="FilesInUseDontCloseRadioButton">&Do not close applications. A reboot will be required.</String>
|
||||
<String Id="FilesInUseOkButton">&OK</String>
|
||||
<String Id="FilesInUseCancelButton">&Cancel</String>
|
||||
</WixLocalization>
|
||||
38
Installer/Bootstrapper/Bundle.wxs
Normal file
38
Installer/Bootstrapper/Bundle.wxs
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
|
||||
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
|
||||
<?define ExecutableName="FeedCenter.exe" ?>
|
||||
|
||||
<?define BuildPath="..\..\Application\bin\Release\net8.0-windows7.0\publish\win-x64" ?>
|
||||
<?define BuildExecutable="$(var.BuildPath)\$(var.ExecutableName)" ?>
|
||||
|
||||
<?define ProductName="$(fileVersion.ProductName($(var.BuildExecutable)))" ?>
|
||||
<?define CompanyName="$(fileVersion.CompanyName($(var.BuildExecutable)))" ?>
|
||||
<?define ProductVersion="$(fileVersion.ProductVersion($(var.BuildExecutable)))" ?>
|
||||
|
||||
<Bundle Name="$(var.ProductName)"
|
||||
Version="$(var.ProductVersion)"
|
||||
Manufacturer="$(var.CompanyName)"
|
||||
UpgradeCode="5e5c13a5-635e-4310-a653-0f9760f46935"
|
||||
Compressed="no">
|
||||
|
||||
<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.HyperlinkLicense">
|
||||
<bal:WixExtendedBootstrapperApplication LicenseUrl=""
|
||||
SuppressOptionsUI="yes"
|
||||
ShowVersion="yes"
|
||||
LocalizationFile="Bundle.wxl"
|
||||
LaunchPassive="yes"
|
||||
LaunchQuiet="yes"
|
||||
LaunchTarget="[LocalAppDataFolder]$(var.ProductName)\FeedCenter.exe" />
|
||||
</BootstrapperApplicationRef>
|
||||
|
||||
<Chain>
|
||||
<MsiPackage Id="FeedCenter"
|
||||
SourceFile="$(var.Setup.TargetPath)"
|
||||
Compressed="yes" />
|
||||
</Chain>
|
||||
</Bundle>
|
||||
</Wix>
|
||||
5
Installer/Bootstrapper/packages.config
Normal file
5
Installer/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>
|
||||
51
Installer/Installer.sln
Normal file
51
Installer/Installer.sln
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 18
|
||||
VisualStudioVersion = 18.0.11018.127
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Setup", "Setup\Setup.wixproj", "{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}"
|
||||
EndProject
|
||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Bootstrapper", "Bootstrapper\Bootstrapper.wixproj", "{5E5C13A5-635E-4310-A653-0F9760F46935}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|ARM64 = Release|ARM64
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|ARM64.ActiveCfg = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|ARM64.Build.0 = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|x64.Build.0 = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Debug|x86.Build.0 = Debug|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|ARM64.ActiveCfg = Release|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|ARM64.Build.0 = Release|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|x64.ActiveCfg = Release|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|x64.Build.0 = Release|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|x86.ActiveCfg = Release|x86
|
||||
{DFB3FE30-18EA-4216-8D92-11DF9C8D50F1}.Release|x86.Build.0 = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|ARM64.ActiveCfg = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|ARM64.Build.0 = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|x64.Build.0 = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Debug|x86.Build.0 = Debug|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|ARM64.ActiveCfg = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|ARM64.Build.0 = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|x64.ActiveCfg = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|x64.Build.0 = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|x86.ActiveCfg = Release|x86
|
||||
{5E5C13A5-635E-4310-A653-0F9760F46935}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {A3D28F74-5EC6-4995-A173-9D03FE88AB51}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
196
Installer/Setup/Product.wxs
Normal file
196
Installer/Setup/Product.wxs
Normal file
@@ -0,0 +1,196 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
|
||||
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
|
||||
<?define ExecutableName="FeedCenter.exe" ?>
|
||||
|
||||
<?define BuildPath="..\..\Application\bin\Release\net8.0-windows7.0\publish\win-x64" ?>
|
||||
<?define BuildExecutable="$(var.BuildPath)\$(var.ExecutableName)" ?>
|
||||
|
||||
<?define ProductName="$(fileVersion.ProductName($(var.BuildExecutable)))" ?>
|
||||
<?define CompanyName="$(fileVersion.CompanyName($(var.BuildExecutable)))" ?>
|
||||
<?define ProductVersion="$(fileVersion.ProductVersion($(var.BuildExecutable)))" ?>
|
||||
<?define FileDescription="$(fileVersion.FileDescription($(var.BuildExecutable)))" ?>
|
||||
|
||||
<Product Id="*"
|
||||
Name="$(var.ProductName)"
|
||||
Language="1033"
|
||||
Version="$(var.ProductVersion)"
|
||||
Manufacturer="$(var.CompanyName)"
|
||||
UpgradeCode="47f30e4a-a861-47ac-b82d-35e4b886992a">
|
||||
<Package InstallerVersion="405"
|
||||
Compressed="yes"
|
||||
InstallScope="perUser" />
|
||||
|
||||
<util:CloseApplication Id="CloseApplication"
|
||||
Target="$(var.ExecutableName)"
|
||||
CloseMessage="yes"
|
||||
Timeout="5" />
|
||||
|
||||
<MajorUpgrade Schedule="afterInstallValidate"
|
||||
AllowDowngrades="no"
|
||||
AllowSameVersionUpgrades="no"
|
||||
DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
|
||||
<MediaTemplate />
|
||||
|
||||
<Feature Id="ProductFeature"
|
||||
Title="$(var.ProductName)"
|
||||
Level="1">
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
</Feature>
|
||||
</Product>
|
||||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR"
|
||||
Name="SourceDir">
|
||||
<Directory Id="LocalAppDataFolder">
|
||||
<Directory Id="INSTALLFOLDER"
|
||||
Name="$(var.ProductName)">
|
||||
<Directory Id="SqlServerCe_32"
|
||||
Name="x86" />
|
||||
<Directory Id="SqlServerCe_64"
|
||||
Name="amd64" />
|
||||
<Directory Id="Runtimes"
|
||||
Name="runtimes">
|
||||
<Directory Id="Runtimes_Win_x32"
|
||||
Name="win-x32">
|
||||
<Directory Id="Runtimes_Win_x32_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 Id="ProgramMenuFolder">
|
||||
<Directory Id="ApplicationProgramsFolder"
|
||||
Name="$(var.ProductName)" />
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Fragment>
|
||||
|
||||
<Fragment>
|
||||
<ComponentGroup Id="ProductComponents">
|
||||
<Component Id="SqlServerCe_64"
|
||||
Guid="{67DB1CF4-23F2-4252-896C-714438959C9A}"
|
||||
Directory="SqlServerCe_64">
|
||||
|
||||
<RegistryValue Root='HKCU'
|
||||
Key='Software\Feed Center\Setup'
|
||||
Type='integer'
|
||||
Name='SqlServerCe_64'
|
||||
Value='1'
|
||||
KeyPath='yes' />
|
||||
|
||||
<File Id="sqlceca40_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlceca40.dll" />
|
||||
<File Id="sqlcecompact40_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlcecompact40.dll" />
|
||||
<File Id="sqlceer40EN_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlceer40EN.dll" />
|
||||
<File Id="sqlceme40_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlceme40.dll" />
|
||||
<File Id="sqlceqp40_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlceqp40.dll" />
|
||||
<File Id="sqlcese40_64"
|
||||
Source="$(var.BuildPath)\amd64\sqlcese40.dll" />
|
||||
|
||||
<RemoveFolder Id='SqlServerCe_64'
|
||||
On='uninstall' />
|
||||
</Component>
|
||||
<Component Id="FeedCenter"
|
||||
Guid="{9B2B9C65-8E68-4F82-9AC5-16EBCAC34B9E}"
|
||||
Directory="INSTALLFOLDER">
|
||||
|
||||
<RegistryValue Root='HKCU'
|
||||
Key='Software\Feed Center\Setup'
|
||||
Type='integer'
|
||||
Name='FeedCenter'
|
||||
Value='1'
|
||||
KeyPath='yes' />
|
||||
|
||||
<!-- Capabilities keys for Vista/7 "Set Program Access and Defaults" -->
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="SOFTWARE\Feed Center\Capabilities"
|
||||
Name="ApplicationDescription"
|
||||
Value="$(var.FileDescription)"
|
||||
Type="string" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="SOFTWARE\Feed Center\Capabilities"
|
||||
Name="ApplicationName"
|
||||
Value="$(var.ProductName)"
|
||||
Type="string" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="SOFTWARE\Feed Center\Capabilities\URLAssociations"
|
||||
Name="feed"
|
||||
Value="FeedCenter.URL.feed"
|
||||
Type="string" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="SOFTWARE\Feed Center\Capabilities\URLAssociations"
|
||||
Name="feeds"
|
||||
Value="FeedCenter.URL.feed"
|
||||
Type="string" />
|
||||
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="SOFTWARE\RegisteredApplications"
|
||||
Name="Feed Center"
|
||||
Value="SOFTWARE\Feed Center\Capabilities"
|
||||
Type="string" />
|
||||
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\Classes\FeedCenter.URL.feed"
|
||||
Value="URL:Feed Center Add RSS Feed"
|
||||
Type="string" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\Classes\FeedCenter.URL.feed\DefaultIcon"
|
||||
Value="[INSTALLFOLDER]$(var.ExecutableName)"
|
||||
Type="string" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\Classes\FeedCenter.URL.feed\shell\open\command"
|
||||
Value=""[INSTALLFOLDER]$(var.ExecutableName)" %1"
|
||||
Type="string" />
|
||||
|
||||
<File Id="D3DCompiler_47_cor3.dll" Source="$(var.BuildPath)\D3DCompiler_47_cor3.dll" />
|
||||
<File Id="FeedCenter.dll.config" Source="$(var.BuildPath)\FeedCenter.dll.config" />
|
||||
<File Id="FeedCenter.exe" Source="$(var.BuildPath)\FeedCenter.exe" />
|
||||
<File Id="FeedCenter.pdb" Source="$(var.BuildPath)\FeedCenter.pdb" />
|
||||
<File Id="PenImc_cor3.dll" Source="$(var.BuildPath)\PenImc_cor3.dll" />
|
||||
<File Id="PresentationNative_cor3.dll" Source="$(var.BuildPath)\PresentationNative_cor3.dll" />
|
||||
<File Id="realm_wrappers.dll" Source="$(var.BuildPath)\realm-wrappers.dll" />
|
||||
<File Id="sni.dll" Source="$(var.BuildPath)\sni.dll" />
|
||||
<File Id="vcruntime140_cor3.dll" Source="$(var.BuildPath)\vcruntime140_cor3.dll" />
|
||||
<File Id="wpfgfx_cor3.dll" Source="$(var.BuildPath)\wpfgfx_cor3.dll" />
|
||||
|
||||
<RemoveFolder Id='INSTALLFOLDER'
|
||||
On='uninstall' />
|
||||
</Component>
|
||||
<Component Id="ApplicationShortcut"
|
||||
Guid="{63CF0995-E117-4BB9-9077-76F570FDFAA9}"
|
||||
Directory="ApplicationProgramsFolder">
|
||||
|
||||
<Shortcut Id="StartMenuShortcut"
|
||||
Directory="ApplicationProgramsFolder"
|
||||
Advertise="no"
|
||||
Name="$(var.ProductName)"
|
||||
Target="[INSTALLFOLDER]\$(var.ExecutableName)"
|
||||
WorkingDirectory="INSTALLFOLDER" />
|
||||
|
||||
<RemoveFolder Id="ApplicationProgramsFolder"
|
||||
On="uninstall" />
|
||||
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\Feed Center\Setup"
|
||||
Name="Shortcut"
|
||||
Type="integer"
|
||||
Value="1"
|
||||
KeyPath="yes" />
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
57
Installer/Setup/Setup.wixproj
Normal file
57
Installer/Setup/Setup.wixproj
Normal file
@@ -0,0 +1,57 @@
|
||||
<?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>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<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 Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<DefineConstants>Debug</DefineConstants>
|
||||
<SuppressIces>ICE91</SuppressIces>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<SuppressIces>ICE91</SuppressIces>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SuppressValidation>true</SuppressValidation>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<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>
|
||||
<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>
|
||||
4
Installer/Setup/packages.config
Normal file
4
Installer/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