Enabling Large Patches to Install

Enabling Large Patches to Install

Rate This
  • Comments 6

As we prepare to ship a large minor upgrade known as Visual Studio 2005 Service Pack 1, I'd like to again remind you that large files – not just Windows Installer packages – that must pass through a SAFER check may fail because enough contiguous memory cannot be allocated on Windows XP and Windows Server 2003. I have posted a workaround, but wanted to note that a more automation-friendly method can be used.

If you run into this problem, you can disable the SAFER check for local administrators by following these instructions as well as those documented previously:

  1. Set the DWORD value PolicyScope to 1 in the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers key
  2. Run "net stop msiserver" (without quotes)
  3. Install the EXE or MSP (if you extracted the MSP from the EXE).

It is recommended that you reset this value back to 0 when finished. The SAFER check is there to help protect users from malicious files, which is especially important if you're an administrator on the system.

Leave a Comment
  • Please add 2 and 7 and type the answer here:
  • Post
  • So what is the definition of a large file, and does this apply to the size of the whole package or the size of any one given file? For instance, I may have a package that includes a dat file over 2GB, but all the other files are 200k or so in size.
  • Large is any file for which not enough contiguous memory exists in this case documented in my post. Your DAT file would only be a problem if you call any APIs that would try to load the whole thing into memory and can't, like SaferIdentifyLevel.

  • When installing Visual Studio 2005 Service Pack 1 , you may see an error like the following (file name

  • When installing Visual Studio 2005 Service Pack 1 , you may see an error like the following (file name

  • 本人系统Windows 2003,VS2005是英文版,系统C盘需要预留大概5G的空闲空间。 1、如果机器上已经安装了 WebApplicationProject的补丁,需要先卸载这两个补丁。否则我可不能保证能安装哦。 2、开始-管理工具-本地安全策略-软件限制策略,如果没有就创建新的软件限制策略;双击“强制”属性,修改选择“除本地管理员以外的所有用户”,单击“确定”;重启计算机; (安装完成后,复原“强制”属性为:所有用户); 不这么做的话会出现以下错误:“Error 1718....

  • Ho installato Visual Studio 2005 su Windows Server 2003 SP2 e tutto e' andato per il meglio. A questo punto passo ad installare il Service Pack 1 per VS2005. Un eseguibile da 431 Mb che si scompatta per diverntare qualcosa di piu'. Impiega piu' di mez

Page 1 of 1 (6 items)