的Visual Studio 2013更新2,安装工程延期 [英] Visual Studio 2013 Update 2, installer projects extension

查看:213
本文介绍了的Visual Studio 2013更新2,安装工程延期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Visual Studio 2010已经升级到Visual Studio 2013 Update 2和安装Visual Studio安装项目的扩展。 在设置了工程建造和安装工作在Windows 7和Windows 8,但试图在Windows Server上运行它时,2003(标准版服务包2) 它与1603年时出错退出

Having upgraded from Visual Studio 2010 to Visual Studio 2013 Update 2 and installing the Visual Studio installer projects extension. The Setup up project builds and the installer works in Windows 7 and Windows 8 but when trying to run it on Windows Server 2003 ( Standard Edition, Service pack 2) it exits with Error 1603.

微软的支持站点提示:

  • 你要安装Windows Installer程序包的文件夹进行加密。
  • 在包含您要安装的Windows安装程序包访问作为替换驱动器的文件夹的驱动器。
  • 在SYSTEM帐户不具有您要安装Windows安装程序的文件夹的完全控制权限 包。你注意到的错误消息,因为Windows Installer服务使用SYSTEM帐户安装软件。
  • The folder that you are trying to install the Windows Installer package to is encrypted.
  • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
  • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.

以上都不是导致该错误的,已经回到了VS2010和内置再次它已经没有任何问题安装项目。

None of the above are causing the error, having gone back to VS2010 and built the project again it has installed with no problems.

该项目使用.NET 3.5 SP1框架和安装Windows Installer 3.1。 Windows安装程序组件无法找到,我不得不将其复制。

The project is using the .NET 3.5 SP1 Framework and Windows Installer 3.1. The Windows Installer component couldn't be found and I had to copy it.

这是:C:\ Program Files文件(x86)的\微软的SDK \的Windows \ v7.0A \引导程序\包

FROM: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages

要:C:\ Program Files文件(x86)的\微软的SDK \的Windows \ v8.1A \引导程序\包

TO: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages

有没有人经历过任何类似的问题?

Has anyone experienced any similar issues?

更新1 由于@PhilDW

Update 1 Thanks @PhilDW

我也做了安装创建日志文件,我抄了部分我认为是相关的,但完整的日志可以下载的这里

I have done the install creating a log file, I have copied the section I think is relevant but the full log can be downloaded here.

Action 11:55:50: DIRCA_CheckFX. 
Action start 11:55:50: DIRCA_CheckFX.
MSI (c) (64:24) [11:55:50:139]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'DIRCA_CheckFX' 
MSI (c) (64:B0) [11:55:50:170]: Invoking remote custom action. DLL: C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\1\MSI1D4.tmp, Entrypoint: CheckFX
MSI (c) (64:D4) [11:55:50:170]: Cloaking enabled.
MSI (c) (64:D4) [11:55:50:170]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (64:D4) [11:55:50:170]: Connected to service for CA interface.
Action ended 11:55:50: DIRCA_CheckFX. Return value 3.
MSI (c) (64:24) [11:55:50:217]: Doing action: FatalErrorForm
Action 11:55:50: FatalErrorForm. 
Action start 11:55:50: FatalErrorForm.
MSI (c) (64:24) [11:55:50:217]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm' 
MSI (c) (64:4C) [11:55:50:233]: Note: 1: 2262 2: Error 3: -2147287038 
Info 2898. For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (64:4C) [11:55:50:233]: Note: 1: 2262 2: Error 3: -2147287038 
DEBUG: Error 2826:  Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right

然后我发现下面的<一个href="http://stackoverflow.com/questions/23978677/dirca-checkfx-return-value-3-vs-2013-deployment-project">question在这。自定义操作是由Visual Studio中添加反正是有圆的?

I then found the following question on here. The custom action is being added by Visual Studio is there anyway round this?

推荐答案

同样的问题,我有盟友。没有记录在案的解决方法,除了继续使用2010年建立自己的MSI。 GhostCKY已经把一个潜在的解决方案对我的问题就从2010年的解决方案,我还没有尝试过,但似乎有前途的DPCA.dll文件。

Same problem that I have Ally. There is no documented workaround, other than to continue using 2010 to build your MSI. GhostCKY has put a potential solution on my question regarding the "DPCA.dll" file from the 2010 solution, which I haven't tried yet but seems promising.

的误差是非常令人误解的,因为它意味着该DLL加载失败。该DIRCA_CHECKFX行动试图加载DLL,所以它为您提供了一个可怕的错误。

The error is very misleading, as it means that the DLL load failed. the DIRCA_CHECKFX action is trying to load the DLL, so it gives you a horrible error.

正确的方法来解决,这是维克斯,但很明显预算进场。

The "right" way to fix this is WiX, but obviously budget comes into play.

这篇关于的Visual Studio 2013更新2,安装工程延期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆