Rob,
I see the error in my searching now.

From the root of a wix clone (3.8),

$ find . -iname "*.cpp" -exec grep LayoutOnly {} \; -print
        // @LayoutOnly
        hr = XmlGetYesNoAttribute(pixnNode, L"LayoutOnly", 
&pPayload->fLayoutOnly);
            ExitOnFailure(hr, "Failed to get @LayoutOnly.");
./src/burn/engine/payload.cpp
        if (pPayload->fLayoutOnly)
./src/burn/engine/plan.cpp

The Attribute actually gets assigned from the C# side (Binder.cs), so my search 
was wrong. I had expected to see the LayoutOnly in the XSD, but this is 
actually an internal detail for the engine. Sorry for the confusion.

Jacob

From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Friday, June 14, 2013 5:28 PM
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Missing Documentation or Dead Code

It's not dead code. It should work. I'm unclear what is not documented... or is 
it that you want more documentation than the reference manual?

On Thu, Jun 13, 2013 at 10:26 PM, Hoover, Jacob 
<jacob.hoo...@greenheck.com<mailto:jacob.hoo...@greenheck.com>> wrote:
No, but I do see code pertaining to this attribute. If it's dead code, we 
should remove it. If we can't remove it we should document it.

On Jun 13, 2013, at 9:52 PM, "Rob Mensching" 
<r...@robmensching.com<mailto:r...@robmensching.com>> wrote:
It seems that the Bundle element documentation shows that Payload/PayloadGroup 
is allowed as a direct child. Layout only payloads should still be supported. 
Are you seeing them not work?

On Thu, Jun 13, 2013 at 12:49 PM, Hoover, Jacob 
<jacob.hoo...@greenheck.com<mailto:jacob.hoo...@greenheck.com>> wrote:
Rob,
  You had a commit back in 2010 about “SFBUG:3106429<tel:3106429> - allow for 
"layout only" payloads.”.  (Wix 36, SHA-1: 
56f72188d13e37c0fe0abd74174302738cdb5a22)  Was this just oversight that it 
wasn’t added to the documentation? Do you remember what was the benefit of this 
attribute? (I’m, not certain, but I think 
http://sourceforge.net/p/wix/bugs/2343/ is the original SF bug.)

Thanks,
Jacob


------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net<mailto:WiX-devs@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net<mailto:WiX-devs@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net<mailto:WiX-devs@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to