Hukum ... Just because you have 2GB of RAM installed in the machine, it doesn't follow that the available physical memory will be 2048 MB. Many machines these day share RAM with video cards and other peripherals, which reduces the physical memory available. On 32-bit OSes without PAE enabled (ie: Windows XP, 32-bit Windows Vista), memory address space that is devoted to IO will also reduce the available memory (when you have 4GB RAM installed). What you're seeing is probably correct for your test machines. Example: my desktop machine has 8GB RAM installed, with a 1GB Video Card, a RAID controller, and some other stuff. On 64-bit Vista, my available memory is 8189 MB. On 32-bit Vista, the available memory was 2813 MB.
The solution is to set your physical memory threshold to be what your application actually needs, and not an arbitrary round number. - Craig - -----Original Message----- From: Hukumchand Shah [mailto:hukum.s...@gmail.com] Sent: Wednesday, March 18, 2009 12:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Ram size checking Hi, Thank you for the reply. I tested this on windows 2008,2003 and XP, on all of these machine actual ram size is 2048MB But in wix it shows PhysicalMemory = 2005. So it's causing problem for me. I can't put PhysicalMemory >= 2048 condition. so what's the solution? Please help. Thank you in advance. Regards, Hukum On Tue, Mar 17, 2009 at 7:24 PM, Holmgren Mathias <mathias.holmg...@six.se>wrote: > > I want to check Ram size before i start actual installation same as > free > > disk space checking. > > Check out launch conditions. Like this > > <Condition Message="Installing $(var.ApplicationFullName) requires at > least 512 Mb primary memory."> > PhysicalMemory >= 512 > </Condition> > > > ------------------------------------------------------------------------ ------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ ------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users