Hi all,
One of the screens in our installer asks the user to input DB Credentials (Domain/User/Pwd).
We need to impersonate the entered user and test whether this specific user can connect to our DB.
I haven't found a way to write the specific code we wrote to test the connection can't in VBS (we need to call these Win32 API methods "LogonUser" "RevertToSelf") see here http://support.microsoft.com/default.as ... us;Q306158.
I have created a .Net Custom Installer Action but I can't seem to run it when the user clicks Next (as an UI Custom Action). It appears that .Net Installer Class Actions can't be UI Custom Actions.
I have tried to create a .Net Exe which runs and returns a value but I can't seem to retrieve the result after it is run.
I have tried to call a vbs script which calls my .Net Exe using WshShell.Exec("TestDB.exe") but that doesn't seem to work.
What is the recommended way to create an EXE which recieves the entered credentials test the impersonation and returns the result back to the DoAction when the Next Button is clicked?
Please advise.
-c
FOLLOW US
Get the latest news in Application Packaging