2016-04-28 153 views
0

我正在努力將使用InstallShield 2014的安裝程序放在一個內部開發的64位應用程序中。我的工作站是32位。我遇到了下面的一些警告。如何在32位PC上創建64位InstallShield安裝程序?

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 

當我使用dependency walker在一些文件上檢查依賴關係時,依賴關係助步出現空。

是否可以在32位機器上創建64位安裝程序?如果是這樣,我錯過了什麼?有人能指引我朝着正確的方向嗎?謝謝。

編輯:我發現一個可能的解決方案在頁面的底部,這說明要更改組件上的「.NET掃描」屬性的組件警告爲「僅屬性」。
https://community.flexerasoftware.com/archive/index.php?t-155066.html

回答

1

在32位平臺上構建64位安裝程序是絕對有可能的,但正如您發現的,依賴性掃描更爲粗糙。這主要是由於32位機器無法執行64位代碼。因此,他們無法執行64位COM提取,並且很少以安裝形式接收64位依賴項,因此掃描代碼無法找到它們。

正如您在編輯中指出的那樣,您可能會通過將靜態包含文件或註冊表的動態方法更改爲最佳結果。作爲其中一部分,最好關閉任何COM提取選項(確保包含相關的註冊表或COM表條目)和包含依賴項的構建時掃描選項,例如將.NET掃描以Build更改爲僅限物業

+0

謝謝Michael! – GhostHunterJim

相關問題