我有一个适用于 Visual Studio 2010 的 InstallShield 项目(InstallShield 2011 Limited Edition)。该项目是在运行 Windows XP(32 位)的机器上创建的。它为针对 .NET 4.0 完整配置文件的 C# 解决方案构建安装包。但是,同样的项目配置在windows 7上构建安装包失败。事实证明,InstallShield本身的安装在Windows 7和Windows XP中是不同的。
在 WIndows 7 上构建安装包时,出现如下几个错误:
ISEXP : error : -1007: Cannot copy source 'C:\Program Files\InstallShield\2011LE\SetupPrerequisites\Windows Installer\3.1\x86\WindowsInstaller-KB893803-v2-x86.exe' to target ...
在 Windows XP 中,有 3 个子目录结构C:\Program Files\InstallShield\2011LE\SetupPrerequisites
:
Windows Installer
3.1
Microsoft .net
4.0
WindowsImagingComponent
x64
x86
在 Windows 7 上安装 InstallShield 后,这些目录和文件丢失。
如果我手动添加文件,Windows 7 机器可以毫无问题地构建 InstallShield 项目。
这是 InstallShield 中的错误还是我错过了一些功能?我希望能够在 Windows 7 和 Windows XP 上构建安装包,而无需修补 InstallShield 安装本身。