From cca667ade406d9bf77cee9890d5a0f166e796242 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 4 Jan 2013 12:18:56 -0600 Subject: [PATCH] FS-4768 add wix 3.7 support this is a work in progress --- w32/Setup/Product.2012.wxs | 98 ++++++++++++++++++++++++++++++++++++ w32/Setup/Setup.2012.wixproj | 76 ++++++++++++++++++++++++++++ w32/Setup/filter.xslt | 35 +++++++++++++ 3 files changed, 209 insertions(+) create mode 100644 w32/Setup/Product.2012.wxs create mode 100644 w32/Setup/Setup.2012.wixproj create mode 100644 w32/Setup/filter.xslt diff --git a/w32/Setup/Product.2012.wxs b/w32/Setup/Product.2012.wxs new file mode 100644 index 0000000000..e90bc42fd3 --- /dev/null +++ b/w32/Setup/Product.2012.wxs @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/Setup/Setup.2012.wixproj b/w32/Setup/Setup.2012.wixproj new file mode 100644 index 0000000000..5d22d0063e --- /dev/null +++ b/w32/Setup/Setup.2012.wixproj @@ -0,0 +1,76 @@ + + + + 3.5 + {47213370-b933-487d-9f45-bca26d7e2b6f} + 2.0 + FreeSWITCH + Package + $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets + $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets + + + bin\x86\Debug\ + obj\X86\$(Configuration)\ + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\debug\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + + + + + bin\x86\release\ + obj\X86\$(Configuration)\ + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\release\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + + + bin\x64\Debug\ + obj\X64\$(Configuration)\ + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\debug\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + + + + + bin\x64\Release\ + obj\X64\$(Configuration)\ + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\release\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + + + + + + + + + + + $(WixExtDir)\WixUIExtension.dll + WixUIExtension + + + + + + + + FreeSwitchConsole + {1af3a893-f7be-43dd-b697-8ab2397c0d67} + True + True + Binaries;Content;Satellites + INSTALLFOLDER + + + + + "$(WixToolPath)\heat.exe" dir "$(ProjectDir)..\..\conf\vanilla" -cg FreeSWITCHConfFiles -gg -scom -sreg -sfrag -srd -dr CONFLOCATION -var var.FreeSWITCHConfFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHConfFiles.wxs" +"$(WixToolPath)\heat.exe" dir "$(SolutionDir)$(Platform)\$(Configuration)\sounds" -cg FreeSWITCHSoundFiles8 -gg -scom -sreg -sfrag -srd -dr SOUNDLOCATION -var var.FreeSWITCHSoundFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHSoundFiles8.wxs" +"$(WixToolPath)\heat.exe" dir "$(SolutionDir)$(Platform)\$(Configuration)" -t $(ProjectDir)filter.xslt -cg FreeSWITCHBaseFiles -gg -scom -sreg -sfrag -srd -dr INSTALLLOCATION -var var.FreeSWITCHBaseDir -out "$(ProjectDir)Fragments\FreeSWITCHBaseFiles.wxs" + + + \ No newline at end of file diff --git a/w32/Setup/filter.xslt b/w32/Setup/filter.xslt new file mode 100644 index 0000000000..e96851d189 --- /dev/null +++ b/w32/Setup/filter.xslt @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +