[JIRA] Commented: (SSPCPP-506) Add WiX Builds into VisualStudio/MsBuild

Rod Widdowson (JIRA) noreply at shibboleth.net
Mon Oct 22 11:53:07 EDT 2012


    [ https://issues.shibboleth.net/jira/browse/SSPCPP-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500#comment-14500 ] 

Rod Widdowson commented on SSPCPP-506:
--------------------------------------

We have taken to decision to not use wixproj files and rather to build the installers and mergemodules from and nmake file (itself driven from an vcxproj file and hence part of the install). We took this decision because the merge modules cross the build/release boundary and we could not see a safe way to do this via a wixproj file (we might rebuild the debug dlls and miss the merge module).Similarly the installers cross the x64/win32 boundary and have similar issues. The vcxproj files only do any building for the release builds. 

The debug builds explicitly clean the work area (so a "build all" of debug would delete any old merge modules and installers which would be mow outdated. Similarly if a merge module (of any sort) is built then the installers are deleted.

As a separate effort the component IDs have been removed from the mainline for the wxs files and are now defined at the top. The macros are also passed in via the vcxproj, their values being inherited (eventually, via some hideous command line work in the vcproj and the nmake file) from the Versions.props. Checkins 3793 through 3796 in cpp-sp and 1003 in cpp-xmltooling

> Add WiX Builds into VisualStudio/MsBuild
> ----------------------------------------
>
>                 Key: SSPCPP-506
>                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-506
>             Project: Shibboleth SP - C++
>          Issue Type: Task
>          Components: Installation / Packaging
>    Affects Versions: 2.5.0
>            Reporter: Rod Widdowson
>            Assignee: Rod Widdowson
>   Original Estimate: 3 days
>          Time Spent: 1 day, 1 hour, 45 minutes
>  Remaining Estimate: 1 day, 5 hours, 15 minutes
>
> We need to take the stuff which is currently scattered inside two batch files and a wix include file and put them into proper projects within the Shibboleth master solution (.sln).  Then we can arrange to collect parameterization from the MSBuild properties file and get the dependencies such that you just say "build" and out pops all the msm and msi files that you need.
> This was not done in the first pass of Wix-isation so as to control risk, but it leaves the Windows build needlessly fragmented, tedious and this risk-prone.
> Wix has support for most of this stuff so it is "just" a matter of swapping in the tech and building the thing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list