Issue in Db installer for SQL Server 2008 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Issue in Db installer for SQL Server 2008

Hi

I created Db Installer which supports SQL Server 2005 and it is working fine.
Now I need to install the same installer on PC which is having SQL Server 2008.
Now is creating issue because I added prerequisite for “SQL native client version 9” and it is looking for it on PC which is having SQL Server 2008.

Is there any way that I can have prerequisite for both SQL Server 2005 & 2008?

Please suggest.

Thanks
Amit
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue in Db installer for SQL Server 2008

Hi,
Is there any way that I can have prerequisite for both SQL Server 2005 & 2008? Please suggest.
So what are you saying is that if you have installed SQL Server 2008 on the machine the prerequisite for SQL Server 2005
should not appear for installation anymore?

If this is the case, then it is quite simple, all you have to do is to add to the existent searches for the SQL Server 2005 prerequisite
and the searches for the SQL Server 2008, this is done in the "Install Conditions" tab, "Searches" group.

If this is not the case please give me more details so I can try to help you.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue in Db installer for SQL Server 2008

Thanks for reply...

What I want Installer should support both SQL Server 2005 and 2008 if none of them is available then it should prompt to user.
How i Will achieve that...
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue in Db installer for SQL Server 2008

Hi,
What I want Installer should support both SQL Server 2005 and 2008
What do you mean by "it should support both", please give me an example or more details.
if none of them is available then it should prompt to user.
For what should the user be prompted? Also please give me an example or more details.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue in Db installer for SQL Server 2008

1) "What I want Installer should support both SQL Server 2005 and 2008"

What I mean by this is if only SQL Server 2005 is available or SQL Server 2008 is available then also installer should run with out any issue means it should support SQL server 2008 and Previous versions of SQl Server.

2) "if none of them is available then it should prompt to user."

If any version of SQL Server is not available then user should prompt for SQL server.

Is this answered your questions. Please let me know.

Thanks
Amit
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue in Db installer for SQL Server 2008

Hi Amit,

This is exactly what I supposed when answered to your first post. Please read my answer once again,
there you shall find out what you have to do in order for you to get the expected behavior.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue in Db installer for SQL Server 2008

Thanks,

I putted both the check there, it is working for me

Thanks again

Return to “Common Problems”