This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: ServiceAddService does not install service if invalid credentials supplied
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
10:17 AM
ServiceAddService does not install service if invalid credentials supplied
Hi,
I have a problem with ServiceAddService function. Before invoking this function user name and password may be set to values specified by user. This data is set via SERVICE_IS_PARAMS structure. This works fine unless user name and/or password are invalid. In this case service is not installed at all.
Is there a way to make service installed in any way?
I have a problem with ServiceAddService function. Before invoking this function user name and password may be set to values specified by user. This data is set via SERVICE_IS_PARAMS structure. This works fine unless user name and/or password are invalid. In this case service is not installed at all.
Is there a way to make service installed in any way?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
10:25 AM
In your case I would verify the credentials in a CA first. If they are bad just leave username/password blank so it will default to SYSTEM.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
10:44 AM
This would be perfect, but how I can do this with InstallScript? InstallScript because this happens before Install Files action is performed...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
11:03 AM
Sorry I misread...I am not familiar with installscript. Maybe use the IS dialog mentioned in http://community.macrovision.com/archive/index.php?t-177589.html to gather/verify login info.