Have you added the following namespace to your XML document?

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension";>

-- 
Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com
On Mon, Oct 27, 2008 at 2:04 PM, <[EMAIL PROTECTED]> wrote:

> Howdy! I'm in a rut that I'm trying to break out of.
>
>
>
> I want to create a user with my .msi file. I have the following:
>
>
>
> 8<--------------------------------------
>
> <Component Id="RequiredUser"
> Guid="{7fac0cb7-19c2-4b63-a663-e1363722d27c}">
>
>  <User Id="SomeUser" Name="SomeUserName" Password="supersekrit" />
>
> </Component>
>
> -------------------------------------->8
>
>
>
> Of course, I get the following response when I try to link everything:
>
>
>
> C:\SomeProduct\SP\Dist\SP.wxs(461) : error CNDL0005 : The Component
> element contains an unexpected child element 'User'.
>
>
>
> Ok. I'm cool with that. I need to specify the proper Wix*Extension.dll,
> right?
>
>
>
> I'm not sure which Wix*Exension.dll so I decided to try them all with
> the following command line:
>
>
>
> 8<--------------------------------------
>
> C:\SomeProduct\SP\Dist>candle -o SP.wixobj SP.wxs  -ext
> WixDifxAppExtension.dll -ext WixDirectXExtension.dll -ext
> WixFirewallExtension.dll -ext WixGamingExtension.dll -ext
> WixIIsExtension.dll -ext WixMsmqExtension.dll -ext WixNetFxExtension.dll
> -ext WixPSExtension.dll -ext WixSqlExtension.dll -ext WixUIExtension.dll
> -ext WixUtilExtension.dll -ext WixVSExtension.dll
>
> Microsoft (R) Windows Installer Xml Compiler version 3.0.4318.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> SP.wxs
>
> C:\SomeProduct\SP\Dist\SP.wxs(461) : error CNDL0005 : The Component
> element contains an unexpected child element 'User'.
>
> -------------------------------------->8
>
>
>
> What is the proper command line and extension to use? I've been banging
> my head up against this and just want to get this task done so I can
> move on to the next WiX related task (creating vdir, AppPool, etc) and
> feel that if I get the user created the rest should fall into place.
>
>
>
> Thanks!
>
>
>
>
>
> James Newsom
>
> Senior Consultant
>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Mobile: 972.522.8150
>
> Valtech
> 5080 Spectrum Drive, Ste 700W
> Addison, TX 75001
>
> USA
> Tel: 972-789-1200
> Fax: 972-789-1340
>
> www.valtech.us
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to