[loadFromRemoteSources]This release of the .NET Framework does not enable CAS policy by default

WinZip解压,可能导致exe损坏。

安装Expression Studio 4时,遇到不能安装的问题。原始是使用Winzip解压了原始安装镜像ISO文件。

查了一通,原来是winzip的一个bug。
对策:使用DaemonTool或其他虚拟光驱,亦或是WinRAR等其他解压软件,可以轻松解决。

以下为转载老外的经验共享:

Unzipping ISOs with WinZip? Bad Idea! Microsoft Expression Studio Setup error


One of my new year goals has been to learn a new programming language. Having been on the infrastructure side of IT, I haven’t had to program on a daily basis since university. I downloaded the Microsoft Visual Studio 2010 and Expression Studio 4 to get back in the programming groove, but nothing in IT is that simple! Upon trying to install ES, I received the following error message:

"Setup encountered an error: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkID=155569 for more information."

ew1

To make a long story short, it isn’t Microsoft’s fault! I had downloaded The Expression Studio ISO from MSDN and unzipped it with WinZip. Turns out there is a bug in WinZip’s support for ISO files: if you attempt to extract an ISO with WinZip, the output will become corrupted. This doesn’t just apply to Expression Web: I’ve encountered this problem unzipping SQL Server 2008 R2, ANSYS 12 and countless other products.

The solution is to either burn the ISO to CD (a waste of disc), extract the ISO using another program (such as WinRAR), or mounting the ISO as a drive using DaemonTools or PowerISO (both have freeware editions).

In the future, Microsoft should consider delivering their client software as MSI bundles or WIMs, similar to how Apple distribute software in Disk Image (DMG) format. This way, they control the package distribution end-to-end without need for third party extraction tools.

Links
Problems installing Expression Studio 4, Microsoft Expression Forums

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值