InstallShield的专家们,怎么检测MDAC已安装的版本并决定我的当前版本是否安装?

mastererp 2005-03-14 08:29:03
我用的是InstallShiled X
WinXP打了SP2补丁后,MDAC版本会变成2.81,而不是2.80,导致MDAC2.80安装出错
所以需要先检测已安装版本
我已经为这事忙了很多天了,是在搞不定了
InstallShield X自己说他们不负责检测,需要开发人员自己检测,郁闷。。。。
...全文
255 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
mastererp 2005-03-16
  • 打赏
  • 举报
回复
怎么各个论坛都找不到精通InstallShield的人?
InstallShield自己的论坛还不让我发言,郁闷啊!!
mastererp 2005-03-16
  • 打赏
  • 举报
回复
这是针对Windows Installer Project的吗?
我的是InstallShield Script Project,好像没有这些设置

我看看先
Thanks any way.
njlxp 2005-03-16
  • 打赏
  • 举报
回复
先下载并安装.net的 Visual Studio .NET Framework Bootstrapper Plug-in然后看下面的文字。我翻译的在家里的机器上。

To install MDAC with a Setup project

Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed.
Select the Setup project in Solution Explorer. From the View menu, point to Editor and choose Launch Conditions.
Select the Requirements on Target Machine node. From the Action menu, choose Add Registry Launch Condition.
Select the Search for RegistryEntry1 node. In the Properties window, select the RegKey property and type Software\Microsoft\DataAccess.
Select the Root property and select vsdrrHKLM.
Select the Value property and type FullInstallVer.
Select the Property property and type MDACSEARCH.
In the Launch Conditions Editor, select the Condition1 node. In the Properties window, select the Condition property and select MDACSEARCH>="2.6".
Select the Setup project in Solution Explorer. On the Project menu, choose Properties.
Set the Bootstrapper property to Windows Installer Bootstrapper.
Both the .NET Framework redistributable and MDAC will be packaged with the Setup.exe for the Setup project when it is built.
mastererp 2005-03-15
  • 打赏
  • 举报
回复
谢谢
好人做到底,InstallShield里怎么按条件来控制一个Object是否安装呢?
通过注册表判断出来以后还得控制啊
Nyeco 2005-03-14
  • 打赏
  • 举报
回复
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MDACVer.Version\CurVer
Nyeco 2005-03-14
  • 打赏
  • 举报
回复

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{54AF9350-1923-11D3-9CA4-00C04F72C514}\ProgID
的默认值为 MDACVer.Version.2.81

这应该可以吧
内容概要:本文详细介绍了利用Simulink进行变压器开路试验的电路连接配置与仿真实现方法,重点在于通过仿真手段还原实际电力系统中变压器在空载条件下的电气特性,从而深入理解其工作原理与性能表现。文章作为电力系统仿真系列研究的一部分,系统阐述了从电路模型搭建、参数设定、仿真运行到结果分析的完整流程,突出展示了MATLAB/Simulink在电力设备建模与教学科研中的强大功能与应用价值。; 适合人群:具备电力系统基础知识,熟悉MATLAB/Simulink仿真环境,从事电气工程、自动化及相关领域的研发人员,以及高年级本科生和研究生。; 使用场景及目标:①掌握变压器开路试验的基本原理与Simulink仿真建模的具体步骤;②通过仿真实验深入理解空载电流、铁芯损耗及励磁特性等关键参数的物理意义;③为后续开展变压器短路试验、暂态过程分析以及其他电力设备的仿真研究奠定理论与实践基础。; 阅读建议:建议结合Simulink软件动手实践,逐步构建并调试电路模型,重点关注各元件参数的设置方法与测量模块的应用技巧,同时推荐参考文中提及的其他相关仿真案例进行拓展学习,以全面提升对电力系统仿真实践的整体认知与操作能力。

16,718

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧