Ragitha
Posts: 4
Joined: Wed Mar 04, 2020 1:20 pm

Error in Installing SQL Server 2012 using launch-file custom action

I'm trying to install SQL Server 2012 using launch-file custom action , including the silent install parameters in the command-line .
but it is not progressing the installation from a particular point.
it stuck here
CaptureSQL.PNG
CaptureSQL.PNG (39.03 KiB) Viewed 3708 times

here I'm including the log file
Detail.txt
(909.28 KiB) Downloaded 310 times
and the advanced installer project
SQLnew.aip
(28.45 KiB) Downloaded 300 times
.
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Error in Installing SQL Server 2012 using launch-file custom action

Hello and welcome to Advanced Installer forums,

May I ask why you are not using our predefined support for prerequisites (which I believe is much easier to configure than a LaunchFile custom action)?

Now, to answer your question, depending on the time when you try to install the prerequisite, the hang might be happening due to an SQL Server setup issue.

Starting with the Microsoft SQL Server 2012 Service Pack 2 (SP2), this issue might be solved by adding the SkipInstallerRunCheck command line parameter.

With that being said, could you please add the above mentioned parameter and let me know if it helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ragitha
Posts: 4
Joined: Wed Mar 04, 2020 1:20 pm

Re: Error in Installing SQL Server 2012 using launch-file custom action

Thank you for your suggestion,
I need SQL Server as a component which will be downloaded when user want to download it. (when the user enables the check box)
and also I have added the SkipInstallerRunCheck command line but it also shows an error. " The setting 'SKIPINSTALLERRUNCHECK' specified is not recognized. " because we are not using Microsoft SQL Server 2012 Service Pack 2 (SP2) or higher.
I'm including the log file here
Detail_GlobalRules.txt
(58.97 KiB) Downloaded 292 times
Ragitha
Posts: 4
Joined: Wed Mar 04, 2020 1:20 pm

Re: Error in Installing SQL Server 2012 using launch-file custom action

hi,
I'm trying to install SQL Server 2012 Service Pack 4 (SP4) in the same scenario . but it shows me a different error . can you please help me to sort out this problem. I'm including the SQL log of SQL Server 2012 Service Pack 4 here
Detail_ComponentUpdate.txt
(662.85 KiB) Downloaded 459 times
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Error in Installing SQL Server 2012 using launch-file custom action

Hello Ragitha,

First of all, please accept my apologies for such a delayed reply.

It seems that somehow this thread went unnoticed. :(

I am really sorry for this.

I am not quite sure from what installation the log is (perhaps SQL Server installation?). However, it looks like the installer fails with error 1618, which means that another installation is already in progress.

Could you please forward me a screenshot of how you have configured the custom action (including the sequencing - "Install Execution Stage" and "Wizard Dialogs Stage")?

Most probably, I believe that you are executing the launch file custom action at the wrong time.

Could you please try scheduling your custom action after the "Finish Execution" action group, disable the "Wait for custom action to finish before proceeding" and "Fail installation if custom action returns an error" options and let me know if that helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”