Code: Select all
/CONFIGURATIONFILE="<inifilepath>"
Code: Select all
[AppDataFolder]SQL Server Express
Code: Select all
/CONFIGURATIONFILE="%APPDATA%\SQL Server Express\MyConfig.ini"
This was a bug in previous versions of Advanced Installer. The latest version (6.7.1) uses different detection criteria and the prerequisite should be detected correctly.stevehiner wrote:I've noticed that the prerequisite included only detects the version of the default instance.
I'm afraid that this is not supported by the EXE bootstrapper. However, the criteria used in the latest version of Advanced Installer should work correctly.stevehiner wrote:Would it be possible in the prereq system you have set up to have it pull the instance name out of the registry then use that value to look up another key in the registry to find out the instance version numbers? What if there are more than one named instance, can it do this in a loop of some sort?
I'm running version 6.7.1. I just downloaded it a couple days ago. I'm evaluating it to see if I want to upgrade from version 3.4 that I've been using. SQL detection is the main feature I was interested in. Just looking at it with my inexperienced view, it looks like the SQL Express 2008 prereq might detect it both ways but the SQL Express 2005 only detects the default instance (it only checks one registry key). I guess I didn't make it clear in my other posting that I need to check for 2005 (sorry about that). Our software has to run on Windows 2000 which isn't supported in .Net 3.5 and SQL Express 2008 requires the 3.5 framework so we can't use it (though I'd love to be able to).cosmin wrote: stevehiner wrote:I've noticed that the prerequisite included only detects the version of the default instance.
This was a bug in previous versions of Advanced Installer. The latest version (6.7.1) uses different detection criteria and the prerequisite should be detected correctly.
Code: Select all
HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\90\Tools\ClientSetup\CurrentVersion\CurrentVersion
Well, this tab is only available when File in Package. For SQL Server install you normaly use URL (to avoid this huge file for those that already have SQL). What is the solution to this problem in that situation?cosmin wrote:
A prerequisite installation may need multiple files (like in your case). When a prerequisite is added in the project you can select only its setup file. The rest of the files needed for the prerequisite installation can be added in the Files tab of the "Edit Prerequisite" dialog. For you project you can add the INI file in this tab.
Is there anyway I can fake this, eg. create a parent prereq. (File in Package) that somehow does nothing but includes this config file?cosmin wrote:Hi,
I'm afraid that multi-file prerequisites need to be used as File in Package. Unfortunately the EXE bootstrapper cannot download multiple files for the same prerequisite.
Regards,
Cosmin
You could try to create a package which install the INI and set it as a prerequisite before SQL Server, but I'm not sure if it will work. Unfortunately the EXE bootstrapper does not support what you need.Is there anyway I can fake this, eg. create a parent prereq. (File in Package) that somehow does nothing but includes this config file?