From a4572276417fb4c2a826279461e7be6c6f52995c Mon Sep 17 00:00:00 2001 From: Rod Widdowson Date: Sat, 27 Oct 2012 14:14:19 +0000 Subject: [PATCH] Remover versions.wxi and inline component IDs from wxs files. Fix a few bugs in the make file. We can only build from the IDE now and hence versions.wxi and compile.bat are no more. --- msi/WiX/Compile.bat | 36 ---------------------- msi/WiX/Installer.make | 8 ++--- msi/WiX/Installer.vcxproj | 17 +++++++++- msi/WiX/ShibbolethSP-exe-x64.wxs | 2 -- msi/WiX/ShibbolethSP-exe-x86.wxs | 2 -- msi/WiX/ShibbolethSP-gui.wxs | 2 -- msi/WiX/ShibbolethSP-main-x64.wxs | 3 -- msi/WiX/ShibbolethSP-main-x86.wxs | 3 -- msi/WiX/ShibbolethSP-noarch.wxs | 2 -- msi/WiX/ShibbolethSP-registry-x64.wxs | 2 -- msi/WiX/ShibbolethSP-registry-x86.wxs | 2 -- msi/WiX/Versions.wxi | 58 ----------------------------------- 12 files changed, 20 insertions(+), 117 deletions(-) delete mode 100644 msi/WiX/Compile.bat delete mode 100644 msi/WiX/Versions.wxi diff --git a/msi/WiX/Compile.bat b/msi/WiX/Compile.bat deleted file mode 100644 index 9bf35d0..0000000 --- a/msi/WiX/Compile.bat +++ /dev/null @@ -1,36 +0,0 @@ -PATH=%PATH%;"C:\Program Files (x86)\Windows Installer XML v3.5\bin" - -wixcop -indent:2 ShibbolethSP-exe-x64.wxs -candle ShibbolethSP-exe-x64.wxs - -wixcop -indent:2 ShibbolethSP-registry-x64.wxs -candle ShibbolethSP-registry-x64.wxs - -wixcop -indent:2 ShibbolethSP-noarch.wxs -candle ShibbolethSP-noarch.wxs - -wixcop -indent:2 ShibbolethSP-exe-x86.wxs -candle ShibbolethSP-exe-x86.wxs - -wixcop -indent:2 ShibbolethSP-registry-x86.wxs -candle ShibbolethSP-registry-x86.wxs - -wixcop -indent:2 ShibbolethSP-gui.wxs -candle ShibbolethSP-gui.wxs - -wixcop -indent:2 ShibbolethSP-update-dlg.wxs -candle ShibbolethSP-update-dlg.wxs - -wixcop -indent:2 ShibbolethSP-install-dlg.wxs -candle ShibbolethSP-install-dlg.wxs - -wixcop -indent:2 ShibbolethSP-main-x64.wxs - -lit -pedantic -out Shibboleth.wixlib ShibbolethSP-noarch.wixobj ShibbolethSP-exe-x86.wixobj ShibbolethSP-registry-x86.wixobj ShibbolethSP-gui.wixobj ShibbolethSP-update-dlg.wixobj ShibbolethSP-install-dlg.wixobj - -candle ShibbolethSP-main-x64.wxs -light -sw1055 -sice:ICE82 -o shibboleth-sp-2.5.0-win64.msi ShibbolethSP-main-x64.wixobj ShibbolethSP-exe-x64.wixobj ShibbolethSP-registry-x64.wixobj Shibboleth.wixlib -ext WixUtilExtension.dll -ext WixUIExtension -ext WixIISExtension - -wixcop -indent:2 ShibbolethSP-main-x86.wxs -candle ShibbolethSP-main-x86.wxs -light -sw1055 -sice:ICE82 -o shibboleth-sp-2.5.0-win32.msi ShibbolethSP-main-x86.wixobj Shibboleth.wixlib -ext WixUtilExtension.dll -ext WixUIExtension -ext WixIISExtension diff --git a/msi/WiX/Installer.make b/msi/WiX/Installer.make index fca059b..1c412d2 100644 --- a/msi/WiX/Installer.make +++ b/msi/WiX/Installer.make @@ -41,7 +41,7 @@ ShibbolethSP-exe-x64.wixobj: ShibbolethSP-exe-x64.wxs ..\..\x64\Release\shibd.ex ShibbolethSP-registry-x64.wixobj: ShibbolethSP-registry-x64.wxs wixcop -indent:2 ShibbolethSP-registry-x64.wxs - candle ShibbolethSP-registry-x64.wxs + candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-registry-x64.wxs ShibbolethSP-noarch.wixobj: ShibbolethSP-noarch.wxs wixcop -indent:2 ShibbolethSP-noarch.wxs @@ -53,11 +53,11 @@ ShibbolethSP-exe-x86.wixobj: ShibbolethSP-exe-x86.wxs ..\..\Release\shibd.exe . ShibbolethSP-registry-x86.wixobj: ShibbolethSP-registry-x86.wxs wixcop -indent:2 ShibbolethSP-registry-x86.wxs - candle ShibbolethSP-registry-x86.wxs + candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-registry-x86.wxs ShibbolethSP-gui.wixobj: ShibbolethSP-gui.wxs wixcop -indent:2 ShibbolethSP-gui.wxs - candle ShibbolethSP-gui.wxs + candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-gui.wxs ShibbolethSP-update-dlg.wixobj: ShibbolethSP-update-dlg.wxs wixcop -indent:2 ShibbolethSP-update-dlg.wxs @@ -69,7 +69,7 @@ ShibbolethSP-install-dlg.wixobj: ShibbolethSP-install-dlg.wxs ShibbolethSP-main-x64.wixobj: ShibbolethSP-main-x64.wxs MergeModules\Curl-x86.msm MergeModules\FastCGI-x86.msm MergeModules\Log4Shib-x86.msm MergeModules\OpenSAML-x86.msm MergeModules\OpenSAML-schemas.msm MergeModules\OpenSSL-x86.msm MergeModules\Shibboleth-x86.msm MergeModules\Shibboleth-schemas.msm MergeModules\Xerces-x86.msm MergeModules\XmlSec-x86.msm MergeModules\Zlib-x86.msm MergeModules\Curl-x64.msm MergeModules\FastCGI-x64.msm MergeModules\Log4Shib-x64.msm MergeModules\OpenSAML-x64.msm MergeModules\OpenSSL-x64.msm MergeModules\Shibboleth-x64.msm MergeModules\Xerces-x64.msm MergeModules\XmlSec-x64.msm MergeModules\Zlib-x64.msm wixcop -indent:2 ShibbolethSP-main-x64.wxs - candle -dSPBuildDirectory=$(SolutionDir)..-dShibbolethVersion=$(ShibbolethVersion) -dShibbolethId64=$(ShibbolethId64) -dShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethSP-main-x64.wxs + candle -dSPBuildDirectory=$(SolutionDir).. -dShibbolethVersion=$(ShibbolethVersion) -dShibbolethId64=$(ShibbolethId64) -dShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethSP-main-x64.wxs ShibbolethSP-main-x86.wixobj: ShibbolethSP-main-x86.wxs MergeModules\Curl-x86.msm MergeModules\FastCGI-x86.msm MergeModules\Log4Shib-x86.msm MergeModules\OpenSAML-x86.msm MergeModules\OpenSAML-schemas.msm MergeModules\OpenSSL-x86.msm MergeModules\Shibboleth-x86.msm MergeModules\Shibboleth-schemas.msm MergeModules\Xerces-x86.msm MergeModules\XmlSec-x86.msm MergeModules\Zlib-x86.msm wixcop -indent:2 ShibbolethSP-main-x86.wxs diff --git a/msi/WiX/Installer.vcxproj b/msi/WiX/Installer.vcxproj index af64161..4b7ae61 100644 --- a/msi/WiX/Installer.vcxproj +++ b/msi/WiX/Installer.vcxproj @@ -67,8 +67,23 @@ del *64.wixpdb + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/msi/WiX/ShibbolethSP-exe-x64.wxs b/msi/WiX/ShibbolethSP-exe-x64.wxs index 1dc85df..b94b70d 100644 --- a/msi/WiX/ShibbolethSP-exe-x64.wxs +++ b/msi/WiX/ShibbolethSP-exe-x64.wxs @@ -16,8 +16,6 @@ implied. See the License for the specific language governing permissions and limitations under the License. --> - - diff --git a/msi/WiX/ShibbolethSP-exe-x86.wxs b/msi/WiX/ShibbolethSP-exe-x86.wxs index c9066db..e67d03f 100644 --- a/msi/WiX/ShibbolethSP-exe-x86.wxs +++ b/msi/WiX/ShibbolethSP-exe-x86.wxs @@ -16,8 +16,6 @@ implied. See the License for the specific language governing permissions and limitations under the License. --> - - diff --git a/msi/WiX/ShibbolethSP-gui.wxs b/msi/WiX/ShibbolethSP-gui.wxs index d8d7119..1ed20d1 100644 --- a/msi/WiX/ShibbolethSP-gui.wxs +++ b/msi/WiX/ShibbolethSP-gui.wxs @@ -16,8 +16,6 @@ implied. See the License for the specific language governing permissions and limitations under the License. --> - - diff --git a/msi/WiX/ShibbolethSP-main-x64.wxs b/msi/WiX/ShibbolethSP-main-x64.wxs index 951566d..3905ca3 100644 --- a/msi/WiX/ShibbolethSP-main-x64.wxs +++ b/msi/WiX/ShibbolethSP-main-x64.wxs @@ -16,9 +16,6 @@ implied. See the License for the specific language governing permissions and limitations under the License. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- 2.1.4