add new compatible setup project for wix 3.14 and vs 2019
This commit is contained in:
parent
6d17759334
commit
5434458aa4
@ -1,12 +1,14 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 15.0.26228.9
|
VisualStudioVersion = 16.0.29728.190
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DD_Clipboard_Watcher", "DD_Clipboard_Searcher\DD_Clipboard_Watcher.vbproj", "{09BC9934-1A38-4752-8873-639B42779CDB}"
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DD_Clipboard_Watcher", "DD_Clipboard_Searcher\DD_Clipboard_Watcher.vbproj", "{09BC9934-1A38-4752-8873-639B42779CDB}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupWix", "SetupWix\SetupWix.wixproj", "{15FC07B7-9FF7-4F14-9BAB-05674E20D839}"
|
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupWix", "SetupWix\SetupWix.wixproj", "{15FC07B7-9FF7-4F14-9BAB-05674E20D839}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupVS19", "SetupVS19\SetupVS19.wixproj", "{9A7C1386-F66E-49DD-994C-F5935A0D196F}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -37,6 +39,16 @@ Global
|
|||||||
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|Mixed Platforms.Build.0 = Release|x86
|
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||||
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.ActiveCfg = Release|x86
|
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.ActiveCfg = Release|x86
|
||||||
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.Build.0 = Release|x86
|
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.Build.0 = Release|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Release|Any CPU.ActiveCfg = Release|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{9A7C1386-F66E-49DD-994C-F5935A0D196F}.Release|x86.Build.0 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
11
app/SetupVS19/Config.wxi
Normal file
11
app/SetupVS19/Config.wxi
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Include>
|
||||||
|
<?define ProgramName="DD_Clipboard_Watcher"?>
|
||||||
|
<?define ProductName="Clipboard Watcher"?>
|
||||||
|
<?define Manufacturer="Digital Data"?>
|
||||||
|
<?define Description="Clipboard Watcher"?>
|
||||||
|
<?define Comments="Clipboard Watcher"?>
|
||||||
|
<?define UpgradeCode="BB3A9D50-7CCE-42DA-84F2-D67129F57B59"?>
|
||||||
|
|
||||||
|
<?define SourceDir="..\$(var.ProgramName)\bin\$(var.Configuration)\"?>
|
||||||
|
</Include>
|
||||||
214
app/SetupVS19/Product.wxs
Normal file
214
app/SetupVS19/Product.wxs
Normal file
@ -0,0 +1,214 @@
|
|||||||
|
<?include Config.wxi?>
|
||||||
|
|
||||||
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||||
|
<Product Id="*" Name="$(var.ProductName)" Language="1031" Codepage="1252" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
||||||
|
<Package
|
||||||
|
Id="*"
|
||||||
|
Keywords="Installer"
|
||||||
|
Description="$(var.Description)"
|
||||||
|
Comments="$(var.Comments)"
|
||||||
|
Manufacturer="$(var.Manufacturer)"
|
||||||
|
InstallerVersion="100"
|
||||||
|
Languages="1031"
|
||||||
|
Compressed="yes"
|
||||||
|
SummaryCodepage="1252"
|
||||||
|
InstallScope="perMachine"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Property Id="APPLICATIONFOLDER">
|
||||||
|
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Media Id='1' Cabinet='$(var.ProgramName).cab' EmbedCab='yes' DiskPrompt='$(var.ProgramName)' />
|
||||||
|
<Property Id='DiskPrompt' Value="$(var.ProgramName) Install" />
|
||||||
|
|
||||||
|
<MajorUpgrade
|
||||||
|
AllowDowngrades="no"
|
||||||
|
AllowSameVersionUpgrades="no"
|
||||||
|
DowngradeErrorMessage="Eine neuere Version von [ProductName] ist bereits installiert. Das Setup wird beendet."
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
|
||||||
|
<Upgrade Id="$(var.UpgradeCode)">
|
||||||
|
<UpgradeVersion
|
||||||
|
Minimum="1.0.0.0" Maximum="99.0.0.0"
|
||||||
|
Property="PREVIOUSVERSIONSINSTALLED"
|
||||||
|
IncludeMinimum="yes" IncludeMaximum="no" />
|
||||||
|
</Upgrade>
|
||||||
|
|
||||||
|
<!-- Legt das Icon fest -->
|
||||||
|
<Icon Id="AppIcon.exe" SourceFile="$(var.ProgramName).exe" />
|
||||||
|
<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
|
||||||
|
<Property Id="ARPPRODUCTICON" Value="AppIcon" />
|
||||||
|
|
||||||
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||||
|
<Directory Id="ProgramFilesFolder">
|
||||||
|
<Directory Id="DD" Name="$(var.Manufacturer)">
|
||||||
|
<Directory Id="INSTALLDIR" Name="$(var.ProductName)"/>
|
||||||
|
</Directory>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory Id="ProgramMenuFolder">
|
||||||
|
<Directory Id="ApplicationProgramsFolder" Name="$(var.ProductName)"/>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory Id="DesktopFolder" />
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
||||||
|
<Component Id="ApplicationShortcut_StartMenu" Guid="459eecd2-6db7-4b30-97f5-63719879e4a9">
|
||||||
|
<Shortcut Id="ApplicationStartMenuShortcut_StartMenu"
|
||||||
|
Name="$(var.ProductName)"
|
||||||
|
Target="[INSTALLDIR]$(var.ProgramName).exe"
|
||||||
|
WorkingDirectory="INSTALLDIR"/>
|
||||||
|
<RemoveFolder Id="ApplicationProgramsFolder_StartMenu" On="uninstall"/>
|
||||||
|
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||||
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
|
||||||
|
<DirectoryRef Id="DesktopFolder">
|
||||||
|
<Component Id="ApplicationShortcut_Desktop" Guid="1717d19a-4510-423f-93b1-671f280dcca3">
|
||||||
|
<Shortcut Id="ApplicationStartMenuShortcut_Desktop"
|
||||||
|
Name="$(var.ProductName)"
|
||||||
|
Target="[INSTALLDIR]$(var.ProgramName).exe"
|
||||||
|
WorkingDirectory="INSTALLDIR"/>
|
||||||
|
<RemoveFolder Id="ApplicationProgramsFolder_Desktop" On="uninstall"/>
|
||||||
|
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||||
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
|
||||||
|
<DirectoryRef Id="INSTALLDIR">
|
||||||
|
<Component Id="MainApplicationExe" Guid="{BA4DC59A-6FCD-4672-9D58-456F255E5AAB}">
|
||||||
|
<File Id="MainApplicationExe" Source="..\DD_Clipboard_Searcher\bin\$(var.Configuration)\$(var.ProgramName).exe" Name="$(var.ProgramName).exe" KeyPath="no" Checksum="yes" />
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="MainApplicationExeConfig" Guid="{F40EA733-5734-4BF5-9668-63AC0D150DA7}">
|
||||||
|
<File Id="MainApplicationExeConfig" Name="$(var.ProgramName).exe.config" KeyPath="yes" Checksum="yes"/>
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="DDLibs" Guid="{13F5F24D-9D99-4783-B17B-5FFC9C42E261}">
|
||||||
|
<File Id="DDLibStandarts" Name="DD_LIB_Standards.dll" KeyPath="yes" Checksum="yes"/>
|
||||||
|
<File Id="DDLogging" Name="DigitalData.Modules.Logging.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDConfig" Name="DigitalData.Modules.Config.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDFilesystem" Name="DigitalData.Modules.Filesystem.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDDatabase" Name="DigitalData.Modules.Database.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDLanguage" Name="DigitalData.Modules.Language.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDRegexEditor" Name="DigitalData.Controls.RegexEditor.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDprotobuf" Name="protobuf-net.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDDocumentViewer" Name="DigitalData.Controls.DocumentViewer.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDCommon" Name="DigitalData.GUIs.Common.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDWindows" Name="DigitalData.Modules.Windows.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDPatterns" Name="DigitalData.Modules.Patterns.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDClipboardWatcher" Name="DigitalData.Modules.ClipboardWatcher.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
<File Id="DDZooFlow" Name="DigitalData.Modules.ZooFlow.dll" KeyPath="no" Checksum="yes"/>
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="NLog" Guid="{08903680-6b02-4ff0-b700-93209381fe1a}">
|
||||||
|
<File Id="NLog" Name="NLog.dll" KeyPath="yes" Checksum="yes"/>
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<!-- DEVEXPRESS Bibliotheken -->
|
||||||
|
<Component Id="DevExpressLibs" Guid="665D0AC8-93FC-4499-BA89-F660CAC6C577">
|
||||||
|
<File Id="DevExpress.Data.v18.1" Name="DevExpress.Data.v18.1.dll" KeyPath="yes" />
|
||||||
|
<File Id="DevExpress.Images.v18.1" Name="DevExpress.Images.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.Printing.v18.1.Core" Name="DevExpress.Printing.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.Office.v18.1.Core" Name="DevExpress.Office.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.Pdf.v18.1.Core" Name="DevExpress.Pdf.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.Sparkline.v18.1.Core" Name="DevExpress.Sparkline.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.Utils.v18.1" Name="DevExpress.Utils.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraBars.v18.1" Name="DevExpress.XtraBars.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraEditors.v18.1" Name="DevExpress.XtraEditors.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraGauges.v18.1.Core" Name="DevExpress.XtraGauges.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.XtraGauges.v18.1.Win" Name="DevExpress.XtraGauges.v18.1.Win.dll" />
|
||||||
|
<File Id="DevExpress.XtraGrid.v18.1" Name="DevExpress.XtraGrid.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraLayout.v18.1" Name="DevExpress.XtraLayout.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraPrinting.v18.1" Name="DevExpress.XtraPrinting.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraTreeList.v18.1" Name="DevExpress.XtraTreeList.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraDialogs.v18.1" Name="DevExpress.XtraDialogs.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.XtraRichEdit.v18.1" Name="DevExpress.XtraRichEdit.v18.1.dll" />
|
||||||
|
<File Id="DevExpress.Dialogs.v18.1.Core" Name="DevExpress.Dialogs.v18.1.Core.dll" />
|
||||||
|
<File Id="DevExpress.RichEdit.v18.1.Core" Name="DevExpress.RichEdit.v18.1.Core.dll" />
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="IndependentsoftLibs" Guid="136fd96d-3cae-4e50-b82b-423b5d695e7a">
|
||||||
|
<File Id="Msg.Net" Name="Independentsoft.Msg.dll" Source="P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Independentsoft.Msg.dll" KeyPath="yes" />
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="GDPictureLibs" Guid="9ea5ab43-58ff-4813-9a8b-f854784f0275">
|
||||||
|
<File Id="GdPicture.NET.14" Name="GdPicture.NET.14.dll" Source="D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET (.NET Framework 4.5)\GdPicture.NET.14.dll" KeyPath="yes" />
|
||||||
|
<File Id="GdPicture.NET.14.filters" Name="GdPicture.NET.14.filters.dll" Source="D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET.14.filters.dll" />
|
||||||
|
<File Id="GdPicture.NET.14.image" Name="GdPicture.NET.14.image.gdimgplug.dll" Source="D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET.14.image.gdimgplug.dll" />
|
||||||
|
<File Id="GdPicture.NET.14.Imaging" Name="GdPicture.NET.14.Imaging.Rendering.Skia.dll" Source="D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET.14.Imaging.Rendering.Skia.dll" />
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
<Component Id="RegistryKeys" Guid="{72D6927F-8297-4D51-BF4A-813064089A4A}">
|
||||||
|
<RegistryKey Root="HKLM" Key="Software">
|
||||||
|
<RegistryKey Key="[Manufacturer]">
|
||||||
|
<RegistryKey Key="[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYINSTALLDIR">
|
||||||
|
<RegistryValue Type="string" Value="[INSTALLDIR]" Name="Path" />
|
||||||
|
</RegistryKey>
|
||||||
|
</RegistryKey>
|
||||||
|
</RegistryKey>
|
||||||
|
|
||||||
|
<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
|
||||||
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
|
||||||
|
<Feature Id="MainApplication" Title="Main Application" Level="1">
|
||||||
|
<ComponentRef Id="MainApplicationExe" />
|
||||||
|
<ComponentRef Id="MainApplicationExeConfig"/>
|
||||||
|
<ComponentRef Id="DDLibs"/>
|
||||||
|
<ComponentRef Id="NLog"/>
|
||||||
|
<ComponentRef Id="DevExpressLibs"/>
|
||||||
|
<ComponentRef Id="IndependentsoftLibs"/>
|
||||||
|
<ComponentRef Id="GDPictureLibs"/>
|
||||||
|
<ComponentRef Id="RegistryKeys" />
|
||||||
|
</Feature>
|
||||||
|
|
||||||
|
<Feature Id="DesktopShortcut" Title="Desktop Shortcut">
|
||||||
|
<Condition Level="0">DISABLE_DESKTOP_ICON</Condition>
|
||||||
|
<ComponentRef Id="ApplicationShortcut_Desktop"/>
|
||||||
|
</Feature>
|
||||||
|
|
||||||
|
<Feature Id="StartmenuShortcut" Title="Startmenu Shortcut">
|
||||||
|
<Condition Level="0">DISABLE_STARTMENU_ICON</Condition>
|
||||||
|
<ComponentRef Id="ApplicationShortcut_StartMenu" />
|
||||||
|
</Feature>
|
||||||
|
|
||||||
|
<!-- Legt das Standard-Installationsverzeichnis fest-->
|
||||||
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
||||||
|
<Property Id="_BrowseProperty" Value="INSTALLDIR" />
|
||||||
|
|
||||||
|
<UI>
|
||||||
|
<!--<UIRef Id="WixUI_InstallDir" />-->
|
||||||
|
<UIRef Id="WixUI_FeatureTree"/>
|
||||||
|
<UIRef Id="WixUI_ErrorProgressText" />
|
||||||
|
<Publish Dialog="WelcomeDlg"
|
||||||
|
Control="Next"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="InstallDirDlg"
|
||||||
|
Order="2">1</Publish>
|
||||||
|
<Publish Dialog="InstallDirDlg"
|
||||||
|
Control="Back"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="WelcomeDlg"
|
||||||
|
Order="2">1</Publish>
|
||||||
|
<Publish Dialog="InstallDirDlg"
|
||||||
|
Control="Next"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="FeaturesDlg"
|
||||||
|
Order="2">1</Publish>
|
||||||
|
<Publish Dialog="InstallDirDlg"
|
||||||
|
Control="ChangeFolder"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="BrowseDlg"
|
||||||
|
Order="2">1</Publish>
|
||||||
|
<Publish Dialog="FeaturesDlg"
|
||||||
|
Control="Back"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="InstallDirDlg"
|
||||||
|
Order="2">1</Publish>
|
||||||
|
</UI>
|
||||||
|
|
||||||
|
</Product>
|
||||||
|
</Wix>
|
||||||
61
app/SetupVS19/SetupVS19.wixproj
Normal file
61
app/SetupVS19/SetupVS19.wixproj
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
|
<ProductVersion>3.10</ProductVersion>
|
||||||
|
<ProjectGuid>9a7c1386-f66e-49dd-994c-f5935a0d196f</ProjectGuid>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<OutputName>SetupVS19</OutputName>
|
||||||
|
<OutputType>Package</OutputType>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
|
<DefineConstants>Debug</DefineConstants>
|
||||||
|
<LinkerAdditionalOptions>-b "$(SolutionDir)DD_Clipboard_Searcher\bin\$(Configuration)" -cultures:de-DE,en-GB,en-US</LinkerAdditionalOptions>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Product.wxs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="Config.wxi" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WixExtension Include="WixUtilExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
|
||||||
|
<Name>WixUtilExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
<WixExtension Include="WixUIExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
||||||
|
<Name>WixUIExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
|
||||||
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
|
||||||
|
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
|
||||||
|
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
|
||||||
|
</Target>
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
<!-- Get the programs assembly version from the .exe file -->
|
||||||
|
<GetAssemblyIdentity AssemblyFiles="..\DD_Clipboard_Searcher\bin\$(Configuration)\DD_Clipboard_Watcher.exe">
|
||||||
|
<Output TaskParameter="Assemblies" ItemName="AsmInfo" />
|
||||||
|
</GetAssemblyIdentity>
|
||||||
|
<!-- Store the assembly version number in ProductVersion preprocessor variable -->
|
||||||
|
<CreateProperty Value="$(DefineConstants);ProductVersion=%(AsmInfo.Version)">
|
||||||
|
<Output TaskParameter="Value" PropertyName="DefineConstants" />
|
||||||
|
</CreateProperty>
|
||||||
|
<!-- Name the .msi file after the solution platform and assembly version e.g TestService-x86-1.4.0.0.msi -->
|
||||||
|
<CreateProperty Value="$(SolutionName)-$(Platform)-%(AsmInfo.Version)">
|
||||||
|
<Output TaskParameter="Value" PropertyName="TargetName" />
|
||||||
|
</CreateProperty>
|
||||||
|
<!-- Name the .wixpdb file after the solution platform and assembly version e.g TestService-x86-1.4.0.0.msi -->
|
||||||
|
<CreateProperty Value="$(TargetName)$(TargetPdbExt)">
|
||||||
|
<Output TaskParameter="Value" PropertyName="TargetPdbName" />
|
||||||
|
</CreateProperty>
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
Loading…
x
Reference in New Issue
Block a user