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: Why doesn't SQLServerSelectLogin work in InstallShield 2008 by default?
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
Jul 17, 2007
03:11 PM
Why doesn't SQLServerSelectLogin work in InstallShield 2008 by default?
I convert one InstallScript MSI from InstallShield 12 to 2008. SQLServerSelectLogin is working in 12, but not show up in 2008.
I create a new InstallScript MSI with InstallShield 2008, just add the script and SQL connection. The return value by SQLServerSelectLogin is -1. The same result is returned by SQLServerSelectLogin2. I attach this simple project here.
What setting do I need to change for SQLServerSelectLogin to show up in 2008?
Thanks,
I create a new InstallScript MSI with InstallShield 2008, just add the script and SQL connection. The return value by SQLServerSelectLogin is -1. The same result is returned by SQLServerSelectLogin2. I attach this simple project here.
What setting do I need to change for SQLServerSelectLogin to show up in 2008?
Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 17, 2007
05:56 PM
Please replace the following codes with the SQLRTInitialize2() function call:
szDLL = SUPPORTDIR ^ "ISSQLSRV.DLL";
nResult = StreamFileFromBinary(ISMSI_HANDLE, "ISSQLSRV.DLL", szDLL);
UseDLL(szDLL);
From IS 2008, InstallScript MSI projects support the SQLRTInitialize2() function which loads the ISSQLSRV.DLL. The SQL* functions check to see if the initialization function has been called.
Regards.
szDLL = SUPPORTDIR ^ "ISSQLSRV.DLL";
nResult = StreamFileFromBinary(ISMSI_HANDLE, "ISSQLSRV.DLL", szDLL);
UseDLL(szDLL);
From IS 2008, InstallScript MSI projects support the SQLRTInitialize2() function which loads the ISSQLSRV.DLL. The SQL* functions check to see if the initialization function has been called.
Regards.
![](/skins/images/04FED02024358F0FDF89E0836F432D6F/responsive_peak/images/icon_anonymous_message.png)