Hi guys,
 
This is not specifically a WiX question, but a general MSI CA question.  I need to validate a username and password for a Windows Account (actually for the service I'm installing to log in as).  Now, the way I'm doing this at the moment is to use the C++ function LogonUser().  However, on Windows NT and 2000, this requires the Act As Part Of The Operating System right, which the user running ths installation is not guaranteed to have.  On Windows 2003, you don't need this right.
 
Microsoft have an example on how to use SSPI to do this (http://support.microsoft.com/kb/180548) but this doesn't work in VS2003, and C++ is not exactly my thing.  I just wondered if anyone had some code I could use that would be compatible with both Win2k and Win2k3 to save me from banging my head against the wall (and the several shots of whiskey it'll take to recover). 
 
I'd be eternally grateful
 
Thanks in advance.
 
John
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to