You have 'TESTPC/Users' The separator should be a backslash.
Try 'TESTPC\Users'
Another issue that you may want to consider is that Group names are
localized. I use an mba to get the localized name, and then pass that in a
Burn variable (in this case the name of the Administrators group).
string aSID = new
SecurityIdentifier(WellKnownSidType.BuiltinAdministratorsSid,
null).ToString();
string domain_adminsGroupName = new
System.Security.Principal.SecurityIdentifier(aSID).Translate(typeof(System.Security.Principal.NTAccount)).ToString();
this._adminsGroupName =
domain_adminsGroupName.Split('\\').Last();
If using WixStdBA you could a BAFunctions.DLL or literal strings in a wxl
file. In a MSI (without a bundle) use a CA.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-install-a-new-user-tp7598529p7598601.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users