包括在我的安装项目的另一个msi文件 [英] Include another msi file in my setup project

查看:151
本文介绍了包括在我的安装项目的另一个msi文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使一个asp.net网站安装程序。我需要确保在目标机器已经安装SQLXML。

I'm trying to make a setup program for a asp.net web site. I need to make sure the target machine has sqlxml installed.

我必须验证目标机器已经安装了该软件,如果没有,之前或主安装后启动.msi文件。

I must verify the target machine has the software installed, and if not, launch a .msi file either before or after the main installation.

我与安装项目一个完整的新手,所以也许这是显而易见的,但几个小时浏览网页后,我还没有找到一个满意的解决方案。我一直在阅读有关WiX的等,但我期待(如果可能)一个简单的解决方案。

I'm a complete newbie with setup projects so maybe this is obvious but after several hours browsing the web I haven't found a satisfactory solution. I've been reading about WiX etc but I'm looking (if possible) for a simple solution.

感谢你们!

我明白一个安装程序无法运行一个又一个。我想类似prerequisites(项目属性)一个功能。在那里,我可以检查一个组件,它会如果它是不会自动安装。我不需要做任何事情。但是,对我来说最重要的是,如果不需要它安装将无法运行。

I understand an installer can't run another one. I was thinking in a functionality similar to Prerequisites (in project properties). There I can check a component and it will be automatically installed if it isn't. I don't need to do anything else. But, the most important thing for me is that the installation won't run if it's not needed.

我也试过的.msm解决方案,但找不到任何。也许我可以做一个自己?我还没有尝试过,但。

I also tried the .msm solution but couldn't find any. Maybe I can make one myself? I haven't tried it yet though.

推荐答案

看起来你需要'链'的安装的 http://objectmix.com/xml-soap/84668-installing-sqlxml-net-app.html

Looks like you need to 'chain' the installs http://objectmix.com/xml-soap/84668-installing-sqlxml-net-app.html

您可以在这里<一个得到REDIST href=\"http://www.microsoft.com/downloads/details.aspx?FamilyID=51D4A154-8E23-47D2-A033-764259CFB53B&displaylang=en\" rel=\"nofollow\">http://www.microsoft.com/downloads/details.aspx?FamilyID=51D4A154-8E23-47D2-A033-764259CFB53B&displaylang=en

你能添加为pre-REQ为您安装?
什么是您使用来构建创建安装?

CAn you add this as a pre-req for your install? What are you using to build the create the install?

编辑:

我当时一看就看你如何检查已安装并遇到这个SQLXML的:

<一href=\"http://www.tech-archive.net/Archive/SQL-Server/microsoft.public.sqlserver.xml/2005-04/msg00110.html\" rel=\"nofollow\">http://www.tech-archive.net/Archive/SQL-Server/microsoft.public.sqlserver.xml/2005-04/msg00110.html

我在刚才该系统具有以下关键HKEY_CLASSES_ROOT \\ SQLXMLX(注意最后的X),所以你可能需要做实际的关键是多一点调查。

The system I am on just now has the following key HKEY_CLASSES_ROOT \ SQLXMLX (note the X at the end), so you might need to do a bit more investigation in to what the actual key is.

我不与Visual Studio familer安装创作,但如果你可以添加到AppSearch和RegLocator表的条目,你应该能够检查时,安装开始注册表项是否存在等。看到这里

http://msdn.microsoft.com/en-us/库/ aa371564(VS.85)的.aspx

I'm not familer with Visual Studio install authoring but if you can add an entry to the AppSearch and RegLocator tables you should be able to check for the existance of the registry key when the install starts. See here
http://msdn.microsoft.com/en-us/library/aa371564(VS.85).aspx

该Reglocator表给你如果发现设置属性从注册表中的值的选项。然后,您可以在自定义操作使用的条件。

The Reglocator table gives you the option to set a property with a value from the registry if found. You can then use this in the condition on a custom action.

很多放在一起,但我希望它移到您在正确的方向。

A lot to put together, but I hope it move you in the right direction.

这篇关于包括在我的安装项目的另一个msi文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆