I have created an InstallShield installer where it has a dependency on a SQL Server 2008 Express R2. I am trying to add a reference to this redistributable but it does not appear in the list of redistributable packages.
我创建了一个InstallShield安装程序,它依赖于SQL Server 2008 Express R2。我试图添加对此可再发行组件的引用,但它不会出现在可再发行组件列表中。
This will be installed on 32 and 64 bit platforms.
这将安装在32位和64位平台上。
I am using VS 2010 with InstallShield 2011 LE (Limited Edition).
我正在使用VS 2010和InstallShield 2011 LE(限量版)。
I would like to avoid including the SQL Server setup MSI in my installer, because including 32 and 64 bit versions of SQL Server will cause the size of the install to be too large and will be unnecessary if the target computer already has these installed.
我想避免在我的安装程序中包含SQL Server安装程序MSI,因为包含32位和64位版本的SQL Server会导致安装的大小太大,如果目标计算机已经安装了这些,则不需要。
I would like the correct version to be installed, depending on the platform. I.e. 64 bit SQL Server on 64 bit machines, and 32 bit SQL Server on 32 bit machines.
我想要安装正确的版本,具体取决于平台。即64位计算机上的64位SQL Server和32位计算机上的32位SQL Server。
Looking through the Redistributables section in my installer there is an option for SQL Server SP1, but no option for SQL Server R2, and I cannot see anywhere to add other installs.
查看我的安装程序中的Redistributables部分,有一个SQL Server SP1选项,但没有SQL Server R2的选项,我看不到任何地方添加其他安装。
What is the recommended way of including this prerequisite? Is there some kind of bootstrapper I need to add to my project. I would like to avoid having to add any custom script/code if possible and keep the installer simple.
包含此先决条件的推荐方法是什么?是否需要添加到我的项目中的某种引导程序。我想避免在可能的情况下添加任何自定义脚本/代码并保持安装程序简单。
Thanks in advance!
提前致谢!
3 个解决方案
#1
2
InstallShield prerequisite description files are stored in:
InstallShield先决条件描述文件存储在:
C:\Program Files (x86)\InstallShield\2011LE\SetupPrerequisites
C:\ Program Files(x86)\ InstallShield \ 2011LE \ SetupPrerequisites
If you're desperate, you might try to copy/rename the "2008 SP1" pre-requisite, and see if you can make a custom one.
如果您非常绝望,可以尝试复制/重命名“2008 SP1”先决条件,看看是否可以自定义。
There is a lot of information on how to make custom pre-requistes for InstallShield out there. I suspect this is likley to work in InstallShield LE, even though it is not supported.
有很多关于如何为InstallShield进行自定义预先请求的信息。我怀疑这可能在InstallShield LE中工作,即使它不受支持。
#2
1
InstallShield LE doesn't have an SQL Server 2008 Express R2 predefined prerequisite, so you cannot add one to your package.
InstallShield LE没有SQL Server 2008 Express R2预定义的先决条件,因此您无法在程序包中添加一个。
A solution is to add a launch condition in "Requirements" page. This way your installer will stop if the condition is not met, showing a custom message to the user.
解决方案是在“需求”页面中添加启动条件。这样,如果不满足条件,安装程序将停止,向用户显示自定义消息。
Another solution is to use a different setup authoring tool which allows you to create custom prerequisites.
另一种解决方案是使用不同的设置创作工具,它允许您创建自定义先决条件。
#3
0
InstallShield LE doesn't have an SQL Server 2008 Express R2 predefined prerequisite, so you cannot add one to your package.
InstallShield LE没有SQL Server 2008 Express R2预定义的先决条件,因此您无法在程序包中添加一个。
A solution is to add a launch condition in "Requirements" page. This way your installer will stop if the condition is not met, showing a custom message to the user.
解决方案是在“需求”页面中添加启动条件。这样,如果不满足条件,安装程序将停止,向用户显示自定义消息。
Another solution is to use a different setup authoring tool which allows you to create custom prerequisites.
另一种解决方案是使用不同的设置创作工具,它允许您创建自定义先决条件。
#1
2
InstallShield prerequisite description files are stored in:
InstallShield先决条件描述文件存储在:
C:\Program Files (x86)\InstallShield\2011LE\SetupPrerequisites
C:\ Program Files(x86)\ InstallShield \ 2011LE \ SetupPrerequisites
If you're desperate, you might try to copy/rename the "2008 SP1" pre-requisite, and see if you can make a custom one.
如果您非常绝望,可以尝试复制/重命名“2008 SP1”先决条件,看看是否可以自定义。
There is a lot of information on how to make custom pre-requistes for InstallShield out there. I suspect this is likley to work in InstallShield LE, even though it is not supported.
有很多关于如何为InstallShield进行自定义预先请求的信息。我怀疑这可能在InstallShield LE中工作,即使它不受支持。
#2
1
InstallShield LE doesn't have an SQL Server 2008 Express R2 predefined prerequisite, so you cannot add one to your package.
InstallShield LE没有SQL Server 2008 Express R2预定义的先决条件,因此您无法在程序包中添加一个。
A solution is to add a launch condition in "Requirements" page. This way your installer will stop if the condition is not met, showing a custom message to the user.
解决方案是在“需求”页面中添加启动条件。这样,如果不满足条件,安装程序将停止,向用户显示自定义消息。
Another solution is to use a different setup authoring tool which allows you to create custom prerequisites.
另一种解决方案是使用不同的设置创作工具,它允许您创建自定义先决条件。
#3
0
InstallShield LE doesn't have an SQL Server 2008 Express R2 predefined prerequisite, so you cannot add one to your package.
InstallShield LE没有SQL Server 2008 Express R2预定义的先决条件,因此您无法在程序包中添加一个。
A solution is to add a launch condition in "Requirements" page. This way your installer will stop if the condition is not met, showing a custom message to the user.
解决方案是在“需求”页面中添加启动条件。这样,如果不满足条件,安装程序将停止,向用户显示自定义消息。
Another solution is to use a different setup authoring tool which allows you to create custom prerequisites.
另一种解决方案是使用不同的设置创作工具,它允许您创建自定义先决条件。