启动条件 - PhysicalMemory不起作用 [英] Launch Condition - PhysicalMemory Not Working

查看:76
本文介绍了启动条件 - PhysicalMemory不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio Installer项目中,我有一个至少有2GB内存的启动条件。当我尝试在带有Win10,x64,2GB RAM的测试系统上运行安装程序时,它会停止并显示我定义的错误消息,我需要至少2GB的内存。在Windows任务管理器上查看
它说我有2004MB(所以看起来系统占用了44MB)。当我将条件调整为PhysicalMemory> 2003我仍然得到同样的错误。即使我将它降低到PhysicalMemory> 1700它仍然发生。那么Visual
Studio Installer对物理内存使用了一些不同的测量方法,如果是这样的话,它是什么?如果没有那么为什么我会收到这个错误?

In a Visual Studio Installer project I have a launch condition for having at least 2GB of memory. When I try to run the installer on a test system with Win10, x64, 2GB RAM it stops with my defined error message that I need at least 2GB of memory. Looking at the Windows Task Manager it says I have 2004MB (so it appears the system has taken 44MB). When I adjust the condition to PhysicalMemory > 2003 I still get the same error. Even if I lower it to PhysicalMemory > 1700 it still happens. So does Visual Studio Installer use some different kind of measurement for Physical Memory and if so what is it? If not then why do I get this error?

推荐答案

 

问题是你的安装程序的大小早于2004MB(你有),启动条件仅用于提示用户,因此当你调整条件时,你的PC的
内存和您的安装程序的大小都没有更改,您的安装程序仍然比内存更早。

也许您可以检查安装程序并将其缩小或在另一台具有足够内存空间的PC上安装项目。

希望它能帮助

最好的问候,


这篇关于启动条件 - PhysicalMemory不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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