I'm not sure I agree that *all* exceptions are bugs. When working with a
Framework/SDK (as WiX is) they are there to help guide a developer to write
proper-functioning code.
There is a limit to the length of the value in the MSI table. This is an
infrastructure issue that WiX works within. The exception is there to
assist a developer in building a product that works within this inheritted
limitation. Perhaps a more informative exception would assist developers
by letting them know for every 10, 100, 1000 baselines they have defined
they will have to shorten their baseline names across the board by 1
character from 27 to allow for the algorithm that is currently implemented.
IMHO the algorithm that exists is trying to do too much for the user. Why
is WiX trying to guarantee uniqueness in baseline names? Is there another
purpose to adding the increment value to the names provided in the
user-specified XML? WiX might be better to push uniqueness out to the user
of the product and that should resolve this issue. should it not?
This still smells of something that should change in 3.10 and 4.x and stay
the same in 3.9.
On 6 October 2014 21:08, Bob Arnson <b...@joyofsetup.com> wrote:
> On 05-Oct-14 16:47, Stephen Tunney wrote:
> >
> > The limit is variable, true. The xsd docs are like "the pirate's
> > code" though, right? :)
> >
> > Otherwise this seems like a code change in 4.x
> >
> Exceptions are bugs. If we need to crank down the length limit, it's
> preferable to an exception.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-devs mailing list
> WiX-devs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-devs
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs