Geeks With Blogs
Mark Ritchie

I'm been working with Wix for a few weeks now, and a really like what I see with the technology, however it can be painful trying to do some obvious things due to limited documentation and examples.

Today I wanted to create a user at install time, a simple problem with a simple solution:


                 Name="New Service"
 <GroupRef Id="GroupID"/>

Straight forward enough however I was getting the following error:

The Component element contains an unhandled extension element 'User'.  Please ensure that the extension for elements in the '' namespace has been provided.

Although this is a trivial error to fix it took a while for the solution to dawn on me, after not finding much help on the internet. The problem is that the UtilExtension is responsible for creating users and there is no reference to the DLL.

To resolve the problem I simply needed to add a reference to WixUtilExtension.dll and the problem was solved.



Posted on Monday, November 10, 2008 5:24 AM Wix | Back to top

Comments on this post: Creating a user with Wix

# re: Creating a user with Wix
Requesting Gravatar...
thank you! this was my same issue, needed to use &lt;util:User
Left by dirt on Oct 02, 2013 8:48 AM

# re: Creating a user with Wix
Requesting Gravatar...
Sir its really a great article i faced this problem and i spend two days to solve. you solved my problem. Thank you so much.
Left by Abdul Hameed on Dec 13, 2016 6:27 AM

Your comment:
 (will show your gravatar)

Copyright © markritchie | Powered by: