I dislike depending on environment variables if there is an OS API call
avaliable.  I just don't trust that env vars aren't tweaked by a human.
<smlie/>

It does seem like something that could be added next to the OsInfo custom
action. Maybe "HardwareInfo"?  Wouldn't be hard to add if you already know
how to query the OS for cores.

If interested, please start a thread on wix-devs and we can point anyone
interested in the right direction.


On Thu, Feb 14, 2013 at 2:15 AM, Rob Hamflett <rob_hamfl...@sn.scee.net>wrote:

> You can get into all sorts of pain identifying logical cores vs physical
> cores, but the quick way is to just look at the NUMBER_OF_PROCESSORS
> environment variable.
>
> Rob
>
> On 13/02/2013 18:22, Stephen Turner wrote:
> > Hi
> >
> > During the install of our product we need to know how many cores the CPU
> has.  Does Wix have this capability?.
> >
> > Thanks
> > -----------------
> > Stephen Turner
> > AudioScience, Inc.
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> >
>
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to