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
- :
- Launch SQL Server 2012 SP1 from Installshield
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
‎Jan 19, 2016
12:58 AM
Launch SQL Server 2012 SP1 from Installshield
I always get below error when I try to launch SQL Server 2012 from Installshield 2013 with SP1.
Error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: SetSqlClrEnabled, location: C:\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe, command: -S localhost\VIJEOHISTORIAN -E -Q "EXEC sp_configure 'clr', 1; RECONFIGURE"
Can anyone help me on this ?
Its urgent
Error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: SetSqlClrEnabled, location: C:\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe, command: -S localhost\VIJEOHISTORIAN -E -Q "EXEC sp_configure 'clr', 1; RECONFIGURE"
Can anyone help me on this ?
Its urgent
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2016
08:20 AM
I think
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe
should be
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\osql.exe
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe
should be
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\osql.exe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2016
10:05 PM
Thank you for reply..
I tried the above approach as well. But no luck.
Below is the code snippet I am using to install the SQL Server 2012.
if (LaunchAppAndWait(sSQLInstallExe, sCommandLineArgs ,LAAW_OPTION_WAIT|LAAW_OPTION_SHOW_HOURGLASS|LAAW_OPTION_WAIT_INCL_CHILD|LAAW_CALLBACK_RETURN_CONTINUE_TO_WAIT) < 0) then
MessageBox("There was a problem launching SQL Server 2012 installation.", SEVERE);
else
processID = LAAW_PROCESS_INFORMATION.dwProcessId;
NumToStr(pID, processID);
nType = REGDB_NUMBER;
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
if (sVersionNT = sVersionNT64) then // 64 bit
if(RegDBSetKeyValueEx(sRegKey64, "ProcessID", nType, pID, nSize) = 0) then
//MessageBox("Able to set the key.", INFORMATION);
endif;
else // 32 bit
if(RegDBSetKeyValueEx(sRegkey32, "ProcessID", nType, pID, nSize) = 0) then
//MessageBox("Able to set the key.", INFORMATION);
endif;
endif;
abort;
endif;
NOTE: It is not working in Win 8.1 machine.
Please suggest
I tried the above approach as well. But no luck.
Below is the code snippet I am using to install the SQL Server 2012.
if (LaunchAppAndWait(sSQLInstallExe, sCommandLineArgs ,LAAW_OPTION_WAIT|LAAW_OPTION_SHOW_HOURGLASS|LAAW_OPTION_WAIT_INCL_CHILD|LAAW_CALLBACK_RETURN_CONTINUE_TO_WAIT) < 0) then
MessageBox("There was a problem launching SQL Server 2012 installation.", SEVERE);
else
processID = LAAW_PROCESS_INFORMATION.dwProcessId;
NumToStr(pID, processID);
nType = REGDB_NUMBER;
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
if (sVersionNT = sVersionNT64) then // 64 bit
if(RegDBSetKeyValueEx(sRegKey64, "ProcessID", nType, pID, nSize) = 0) then
//MessageBox("Able to set the key.", INFORMATION);
endif;
else // 32 bit
if(RegDBSetKeyValueEx(sRegkey32, "ProcessID", nType, pID, nSize) = 0) then
//MessageBox("Able to set the key.", INFORMATION);
endif;
endif;
abort;
endif;
NOTE: It is not working in Win 8.1 machine.
Please suggest
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2016
08:22 AM
abort and Error_Install_Failure function are not working in Windows Server R2.
Can anybody help what function I can use to replace abort in installer (Installshield 2013)?
Can anybody help what function I can use to replace abort in installer (Installshield 2013)?