One more thing I need to clear it out that we need to set the type of
the custom action to be "Immediate Execution", instead of "Deferred
Execution in System Context". The reason is we want this custom action
get triggered by the "Next" button in the dialog where the user can
input his/her password for the logon user.
Can anybody help me to check it out? It's kind of high priority, I am
really appreciate.
What account is the Windows Installer service running as?
Also, is the DLL being loaded in the same process, or is it handled
out-of-process by a proxy?
The code has to be running with the SE_TCB_NAME privilege, or
LogonUser() fails. This generally means running it under the SYSTEM
account.
kindness,
-rory 8)