使用 InstallShield 2009 从网络安装必备软件 (Adobe Reader)
目前,我的 InstallShield 项目使用自定义先决条件在目标计算机上安装 Adobe Reader(如果尚未安装)。
必备可执行文件 (Adobe Reader SetUp) 已在本地安装,因此由 InstallShield 将其打包到 SetUp.exe 中。
在我的程序之前完成 Adobe Reader 设置(如果尚未安装),一切都按预期进行。
现在,虽然您可以申请 Adobe reader 分发许可证,但我公司需要首先调查该许可证的法律含义。
因此,与此同时,我想链接到 adobe 站点并从那里安装该应用程序。这可能吗,因为我看不到这样做的方法?
如果没有,如何提供 adobe 站点的链接,然后在下载和安装 installshield 设置时暂停或退出 installshield 设置?
如果您可以提供一些指示/示例或向我指出任何相关资源,我将不胜感激。
Currently my InstallShield project uses a custom prerequiste to install Adobe Reader on the target machine if it is not already installed.
The prerequisite executable (Adobe Reader SetUp) is installed locally and so it is packaged into the SetUp.exe by InstallShield.
Everything works as desired with the Adobe Reader setup completed prior to my program (if it is not already installed).
Now while you can apply for an Adobe reader distribution licence my company needs to investigate the legal implications of the licence first.
Therefore in the meantime I would like to link to the adobe site and install the application from there. Is this possible as I cannot see a way of doing this?
If not, how do I supply a link to the adobe site and then pause or exit the installshield setup while it is downloaded and installed?
If you could provide some pointers / an example or point me to any relevant resource it would be most appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
InstallShield 不提供内置方法来暂停安装并引导用户下载,尽管您当然可以创建一个运行自定义可执行文件的先决条件来执行此操作。我认为更常见的是创建从网络下载安装的先决条件 - 只需提供其中所有文件的 URL,并将其位置设置为“下载” - 但我无法就这是否具有不同的法律含义做出有用的评论。
InstallShield does not provide a built-in way to pause your install and direct a user to a donwload, although you could certainly create a prerequisite which runs an custom executable to do this. I believe it's more common to create a prerequisite that downloads an installation off the web - just provide URLs to all files in it, and set its location to Download - but I can't comment usefully as to whether that has different legal implications.
在 InstallShield 中不可能做我想做的事。
我的公司决定不随我们的软件一起分发 Adobe,因此我实现此目的的方法是在打开任何 PDF 之前让工具检查 Adboe 是否存在。如果未安装 Adobe,则会向用户显示一条消息,要求他们访问 Adobe 网站以安装 Reader。
It's not possible to do what I want within InstallShield.
My company has decided that they do not want to distribute Adobe with our software and so the way I implemented this was to simply have the tool check for the presence of Adboe before opening any PDFs. If Adobe is not installed the user is presented with a message requesting them to visit the Adobe website to install Reader.