简体   繁体   English

使用 installshield 2010 构建设置时出现错误 -6003

[英]Error -6003 on building setup with installshield 2010

I want to create a setup with InstallShield 2010 for my winform application.我想使用InstallShield 2010为我的 winform 应用程序创建一个设置。 I have created an InstallScript MSI Project and add all files and folders of my application to it.Also i have set Microsoft .net framework 4 full and Microsoft SQL Server 2008 Express as Prerequisites.我创建了一个InstallScript MSI 项目并将我的应用程序的所有文件和文件夹添加到它。此外,我已将 Microsoft .net framework 4 full 和 Microsoft SQL Server 2008 Express 设置为先决条件。

Note: Microsoft OLE 2.40 for windows NT and windows 95 and Microsoft GDI+ are checked as default Prerequisites too.注意:Windows NT 和 Windows 95 的 Microsoft OLE 2.40 和 Microsoft GDI+ 也被检查为默认先决条件。

But i receive these following errors when i want to build the setup :但是当我想构建设置时收到以下错误:

Error -6003: An error occurred streaming 'C:\Program Files\InstallShield\2010\SetupPrerequisites\WindowsImagingComponent\x86\wic_x86_enu.exe' into setup.exe

Error -6003: An error occurred streaming 'C:\Program Files\InstallShield\2010\SetupPrerequisites\WindowsImagingComponent\x64\wic_x64_enu.exe' into setup.exe

Error -6003: An error occurred streaming 'C:\Program Files\InstallShield\2010\SetupPrerequisites\Windows Installer\3.1\x86\WindowsServer2003-KB898715-x86-enu.exe' into setup.exe

and some other errors like above.以及其他一些类似上面的错误。

You can solve this problem by installing the redistributables in your computer.您可以通过在计算机中安装可再发行组件来解决此问题。 In your installer project go to 2.Specify Application Data ->Redistributables.在您的安装程序项目中,转到 2.Specify Application Data ->Redistributables。 In the list, you may have some elemetns selected.在列表中,您可能选择了一些元素。 They will be shown in the Location file "Needs to be downloaded".它们将显示在位置文件“需要下载”中。 Make right click over the element and select "Download selected Item".右键单击该元素并选择“下载所选项目”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM