Re: [WiX-users] Ram size checking

2009-03-18 Thread Hukumchand Shah
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.sewrote:

  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


Re: [WiX-users] Ram size checking

2009-03-18 Thread Frederico Rico Apostolo
Ye

Condition Message=Installing $(var.ApplicationFullName) requires at
 least 512 Mb primary memory.
  PhysicalMemory = (desiredMemoryValue*0.9)
 /Condition

live isn't usually perfect... and this doesn't look bad, I guess unless in 5 
years u needed 16Gb and u put 14.6Gb and windows tells PhysicalMemory == 
14.5Gb. ok maybe I coded a little to much today lol. By the way

using Microsoft.Deployment.WindowsInstaller;
[CustomAction]
Rulled my day I didn't found in wix manual 3.0 but put it there because I could 
had a day work saved ehehe, guess in the updates I did to wix toolset I never 
realized I had a new template, great work to the wix development team.


-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com]
Sent: quarta-feira, 18 de Março de 2009 17:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Ram size checking

That value comes from Windows - the MSI property - so there's nothing you can 
do about except raise an issue with Microsoft. Why can't you just change the 
condition?
Phil Wilson


-Original Message-
From: Hukumchand Shah [mailto:hukum.s...@gmail.com]
Sent: Wednesday, March 18, 2009 9:47 AM
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.sewrote:

  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


__

Esta mensagem e ficheiros anexos incluem matéria privada, confidencial e 
legalmente protegida, 
exclusivamente destinada a quem nela conste como destinatário. Se recebeu esta 
mensagem por 
engano, agradecemos que informe de imediato o remetente e que elimine a 
mensagem e os 
ficheiros sem os utilizar, divulgar ou reproduzir.

This message and attached files contain private, confidential and legally 
privileged information, 
exclusively intended for the named addressees. If you have received this 
message in error, 
please contact the sender immediately and delete the message and files without 
utilization, 
circulation or reproduction.


--
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

Re: [WiX-users] Ram size checking

2009-03-18 Thread W. Craig Trader
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.sewrote:

  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


Re: [WiX-users] Ram size checking

2009-03-18 Thread Holmgren Mathias
 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.

How about PhysicalMemory = 2000?

It's kinda funny, but I'm actually serious.

Most machines that claim to have like 1 Gb memory on paper often seem
to show up as having 1020 Mb or similar give or take a few megs, they do
in our team. Thus, you should expect some natural variation in memory
available and I'm not sure Windows Installer is actually wrong here btw.

Don't know your situation, but you might have other options than to
enforce this the hard way using Win Installer only.

For instance, on our team our app memory requirements are 1 Gb memory.
For us, this limit has been set rather arbitrary based on what our app
needs for reasonable performance while still allowing the user to do
work using a few other normal apps at the same time.

Now most customers can meet those reqs, but not all. Knowing that
hardware upgrades can be expensive (esp for a whole org) our approach
has been to give some leeway on behalf of the customer while still
enforcing our HW standards.

This is how we do this.

We allow the application to install even if the HW is sub par (512 Mb is
our minimum level to allow install at all, since we feel it would simply
not be usable at all below that).

When the app starts we instead log the sub par HW and light a warning
icon in the toolbar of the application window. When hovered, a tooltip
informs the user that he might not experience full app performance
because his HW (blabla) is below minimum reqs. We light this warning
icon for 5 min after launch so it is not too annoying.

We like this approach because we feel allowing the user to do work using
a potentially slow app is better than stopping him altogether as long as
he is informed. If the user is unhappy about performance, he hopefully
now knows he should upgrade HW first before blaming the product or
calling customer support. If not, support can read the logs and do this
for him.

We do the same based on CPU speed.

Maybe something that can help you, dunno.

/Mathias

--
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


[WiX-users] Ram size checking

2009-03-17 Thread Hukumchand Shah
Hi All,

I want to check Ram size before i start actual installation same as free
disk space checking.
I am new to wix.
Does anyone knows, how to do this?

Please help it's urgent.

Thanks  regards,
Hukum
--
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


Re: [WiX-users] Ram size checking

2009-03-17 Thread Holmgren Mathias
 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