检查 Solidworks 是否已安装?
我有在 32 位和 64 位操作系统上运行的 ac# 应用程序。在我的应用程序中,如何以编程方式检查计算机上是否安装了 SolidWorks。如果我们可以通过读取注册表项来检查它,请提供路径对于 32 位和 64 位。请告诉我是否还有其他方法来检查它。
I have a c# application that runs on both 32-bit and 64-bit OS.In my app, how can I programatically check that solidworks is installed or not on computer.If we can check it by reading registry key ,then provide me path for both 32-bit and 64-bit.Tell me if there are other ways also to check it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以按如下方式使用 WMI
You could use WMI as follows
如果安装了应用程序,是否需要启动 SolidWorks?如果是这样,我将使用以下命令启动所有独立(非插件)SolidWorks 工具
Does the application need to start SolidWorks if it's installed? If so, I start all my Stand-alone (non add-in) SolidWorks tools with
这是针对初学者的......
我认为有很多方法可以检查是否安装了Solidworks,
但根据我的观点,当安装 Solidworks 时,它会在注册表中创建一些文件夹。
只需按照以下步骤进行检查即可...
现在检查
Solidwork
文件夹条目是否可用如果文件夹中找到已安装的solidworks,否则不会..!
希望这会有所帮助!
This is for beginers....
I think there are many ways to check Whether Solidworks is installed or not ,
but according to my perspective when Solidworks is installed it creates some folders in registery.
Just follow this steps to check it...
Now check there Is
Solidwork
folder entry is available or notIf folder found solidworks installed otherwise not..!
hope this will help !
我不确定 Solidworks 的 macOS 版本需要什么,但对于 Windows,这应该是检查 Solidworks 是否已安装的可靠方法。
我怀疑这适用于 2010 及更高版本的任何版本,因为 Solidworks API 帮助文档从那里开始。我已经在 2018 年及以后进行了测试。
I am not sure what would be required for the macOS versions of Solidworks, but for Windows this should be a reliable way to check if Solidworks is installed.
I suspect this will work with any edition 2010 and beyond as the Solidworks API Help documentation starts there. I have tested with 2018 and beyond.