我正在使用InstallShield 2014为内部开发的64位应用程序整理安装程序。我的工作站是32位。我遇到了一些警告,如下所示。
ISDEV : warning -6248: Could not find dependent file Microsoft.VisualBasic, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file mscorlib, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file Oracle.DataAccess, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file System, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file System.ComponentModel.DataAnnotations, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file System.Core, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file System.Data, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file System.Xml, or one of its dependencies of component AWP.Models.dll
ISDEV : warning -6248: Could not find dependent file Microsoft.VisualBasic, or one of its dependencies of component AWP.Shared.Cryptomatic.dll
ISDEV : warning -6248: Could not find dependent file mscorlib, or one of its dependencies of component AWP.Shared.Cryptomatic.dll
ISDEV : warning -6248: Could not find dependent file System, or one of its dependencies of component AWP.Shared.Cryptomatic.dll
当我在某些文件上使用依赖性walker检查依赖关系时,依赖性walker出现空白。
是否可以在32位机器上创建64位安装程序?如果是这样,我错过了什么?有人能指出我正确的方向吗?谢谢。
编辑:我在页面底部找到了一个可能的解决方案,用于更改组件上的“.NET Scan at Build”属性,并显示“仅属性”警告。
https://community.flexerasoftware.com/archive/index.php?t-155066.html
答案 0 :(得分:1)
在32位平台上构建64位安装程序绝对是可能的,但正如您所发现的,依赖项扫描更加粗糙。这主要是由于32位计算机无法执行64位代码。因此,它们无法执行64位COM提取,并且很少以安装的形式接收64位依赖项,因此扫描代码无法找到它们。
正如您在编辑中指出的那样,通过将动态方法更改为静态包含文件或注册表,您可能会获得最佳结果。作为其中的一部分,最好关闭任何COM提取选项(确保包含相关的注册表或COM表条目)和包含依赖项的scan-at-build选项,例如在Build <更改 .NET Scan / em>至仅限属性。