PDA

View Full Version : Service install failing



mikeyfev1
01-06-2005, 03:26 PM
What is the correct way to handle the installation of a service where the user has specified an invalid username or password? (I had prompted the user for username/password info earlier on).

The default is that a dialog box is issued telling the user that something happened with getting the service started...do you want to abort, retry or ignore. If you abort you get to confirm that you want to abort the install.

What should happen is that if an invalid logon is detected, the user should get a chance to "fix" the credentials. But it looks lke the only way I can get control in this sequence is by writing an OnAbort or OnEnd script. That seems *way* too late in the process.

How do others handle this situation?