Looks like you are passing your source code to the linker. That's like
passing a .cpp file to link.exe. Won't work. Try passing the .wixobj(s).

On Wed, May 9, 2012 at 6:49 AM, Charles Broadfoot <
charles.broadf...@microsoft.com> wrote:

> Its telling me that the wix tag is invalid.  I pasted the output part of
> the wxs below, the command line that I am calling and the output below
>
> ##My 1st 2 lines of the wxs##
> <?xml version='1.0'?>
> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'   xmlns:util="
> http://schemas.microsoft.com/wix/UtilExtension";>
>
> ##my wxs paramater##
>           <Component Id='DiskUtilQuery'
> Guid='6130f032-09e0-46c7-a8e0-cb38c238c0b0'>
>            <File Id='DiskUtilRecorder.exe' Name='DiskUtilRecorder.exe'
> DiskId='1' Source='DiskUtilRecorder.exe' />
>            <File Id='DiskUtilRecorder.exe.config'
> Name='DiskUtilRecorder.exe.config' DiskId='1'
> Source='DiskUtilRecorder.exe.config' />
>            <util:XmlConfig
>               Id="SetDataAccessWS"
>               File="[#DiskUtilRecorder.exe.config]"
>               Action="create"
>
> ElementPath="/configuration/system.serviceModel/client/endpoint"
>               Node="value"
>               Value="[DATAACCESSWS]"
>               On="install" />
> ##my wxs##
>
> ##My command line
> E:\setup>candle .\DiskUtilRecorder.wxs -ext WixUtilExtension
>
> Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> DiskUtilRecorder.wxs
>
>
> E:\setup>light .\DiskUtilRecorder.wxs -ext WixUtilExtension
> Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> E:\Documents\Visual Studio
> 2010\Projects\DiskUtilRecorder\DiskUtilRecorder\setup\DiskUtilRecorder.wxs
> : error LGHT0048 : The document element name 'Wix' is invalid.  A Windows
> Installer XML output file must use 'wixOutput' as the document element name.
>
> E:\Documents\Visual Studio
> 2010\Projects\DiskUtilRecorder\DiskUtilRecorder\setup>
>
> -----Original Message-----
> From: Rob Hamflett [mailto:rob_hamfl...@sn.scee.net]
> Sent: Wednesday, May 09, 2012 12:25 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Adding paramater to msi that will set value in
> config file
>
> On 08/05/2012 15:39, Charles Broadfoot wrote:
> > No.  How would I do that?
>
> Just add the text "-ext WixUtilExtension" to wherever your command line is
> specified.  Where that is will depend on your build system.
>
> Rob
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to