Windows will never, ever give you the user's password. You will have to prompt the user to give it to you.
Also, you will need to ensure that the user's account has the "log on as a service" privilege, or else the service won't start up. Paul. -----Message d'origine----- De : sandun css [mailto:sandun...@gmail.com] Envoyé : 27 février 2009 03:43 À : wix-users@lists.sourceforge.net Objet : [WiX-users] How to get the current user in WiX? Is there a way to get the current user's name and password in the wix code? I need it to install services, as the user who is logged in ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users