mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Add files to build msi form msvc runtimes
This commit is contained in:
parent
aa5b30e171
commit
f1a6c63a73
40
builds/win32/msvc15/VCCRT_Shared_Body.wxi
Normal file
40
builds/win32/msvc15/VCCRT_Shared_Body.wxi
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<Product Id="$(var.PRODUCT_ID)"
|
||||
Name="MSI to redistribute MS VS2017 CRT libraries for $(var.CPUArch)"
|
||||
Language="1033"
|
||||
Version="$(var.MS_CRT_VER)"
|
||||
Manufacturer="$(var.MANUFACTURER)"
|
||||
UpgradeCode="$(var.UPGRADE_CODE)"
|
||||
>
|
||||
|
||||
<Package Id="$(var.PACKAGE_ID)"
|
||||
Description="$(var.DESCRIPTION)"
|
||||
Comments="$(var.COMMENTS)"
|
||||
Manufacturer="$(var.MANUFACTURER)"
|
||||
InstallerVersion="405"
|
||||
Compressed="yes"
|
||||
Platform="$(var.CPUArch)"
|
||||
/>
|
||||
|
||||
<Media Id="1" Cabinet="VCCRT.cab" EmbedCab="yes"
|
||||
/>
|
||||
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Merge Id="CRT" Language="0" SourceFile="$(var.MSMDIR)\$(var.MSM)" DiskId="1" />
|
||||
</Directory>
|
||||
|
||||
<Feature Id="CRT_WinSXS" Title="CRT WinSXS" Level="1">
|
||||
<MergeRef Id="CRT" />
|
||||
</Feature>
|
||||
|
||||
<InstallExecuteSequence>
|
||||
<RemoveRegistryValues />
|
||||
<RemoveFiles />
|
||||
<InstallFiles />
|
||||
<WriteRegistryValues />
|
||||
</InstallExecuteSequence>
|
||||
|
||||
</Product>
|
||||
|
||||
</Include>
|
17
builds/win32/msvc15/VCCRT_Shared_Header.wxi
Normal file
17
builds/win32/msvc15/VCCRT_Shared_Header.wxi
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<!-- This is bad - we really should not be hard coding this
|
||||
version string, but for now it will have to do. .-->
|
||||
<?define MS_CRT_VER = "14.16.27012.6" ?>
|
||||
|
||||
<?define DESCRIPTION = "MSI to redistribute VS2017 CRT libraries" ?>
|
||||
|
||||
<?define COMMENTS = "This MSI specially created for Firebird." ?>
|
||||
|
||||
<?define MSMDIR = "$(env.VCToolsRedistDir)\MergeModules" ?>
|
||||
|
||||
<?define MANUFACTURER = "The Firebird Project" ?>
|
||||
|
||||
</Include>
|
15
builds/win32/msvc15/VCCRT_Win32.wxi
Normal file
15
builds/win32/msvc15/VCCRT_Win32.wxi
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<?define PRODUCT_ID=* ?>
|
||||
|
||||
<?define PACKAGE_ID=* ?>
|
||||
|
||||
<?define UPGRADE_CODE=272af809-f161-45c3-bcbe-a8594a175e38 ?>
|
||||
|
||||
<?define MSM="microsoft_vc141_crt_x86.msm" ?>
|
||||
|
||||
<?define CPUArch="x86" ?>
|
||||
|
||||
|
||||
|
||||
</Include>
|
12
builds/win32/msvc15/VCCRT_Win32.wxs
Normal file
12
builds/win32/msvc15/VCCRT_Win32.wxs
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_Shared_Header.wxi ?>
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_Win32.wxi ?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_Shared_Body.wxi ?>
|
||||
|
||||
</Wix>
|
||||
|
||||
|
15
builds/win32/msvc15/VCCRT_x64.wxi
Normal file
15
builds/win32/msvc15/VCCRT_x64.wxi
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<?define PRODUCT_ID=* ?>
|
||||
|
||||
<?define PACKAGE_ID=* ?>
|
||||
|
||||
<?define UPGRADE_CODE=9898571a-3905-45b3-b247-5e9511124070 ?>
|
||||
|
||||
<?define MSM="microsoft_vc141_crt_x64.msm" ?>
|
||||
|
||||
<?define CPUArch="x64" ?>
|
||||
|
||||
</Include>
|
||||
|
||||
|
12
builds/win32/msvc15/VCCRT_x64.wxs
Normal file
12
builds/win32/msvc15/VCCRT_x64.wxs
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_Shared_Header.wxi ?>
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_x64.wxi ?>
|
||||
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<?include $(sys.SOURCEFILEDIR)\VCCRT_Shared_Body.wxi ?>
|
||||
|
||||
</Wix>
|
||||
|
Loading…
Reference in New Issue
Block a user