[wix-users] UtilExtension User Element

Richard Wong rw1017 at hotmail.com
Tue Aug 29 12:11:56 PDT 2017


All,

Using WiX 3.11 Release Version.

I'm not quite sure if this is a bug.


My code is:

      <Component Id="testuser" KeyPath="yes" Guid="{0649E26B-0E56-4943-B27D-AF0C934C01CC}" >
        <CreateFolder/>
        <util:User
      Id="user.testuser"
      Name="usertest"
      CanNotChangePassword="no"
      CreateUser="yes"
      Disabled="no"
      Domain="[ComputerName]"
      FailIfExists="no"
      LogonAsService="no"
      PasswordNeverExpires="no"
      PasswordExpired="yes"
      RemoveOnUninstall="yes"
      UpdateIfExists="yes"
       Password="Test1234567!"
        >
        </util:User>
      </Component>

However, when I run the install, the user gets created, but the "User must change password at next logon" is not checked for the user.

I would think with "PasswordExpired" set to yes, it would check this box.

Would someone be able to confirm it's happening to them as well?

Thanks,
Richard


More information about the wix-users mailing list