Re: [WiX-users] Finding out the number of cores during install?
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
Re: [WiX-users] Finding out the number of cores during install?
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.netwrote: 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
[WiX-users] Finding out the number of cores during install?
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 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Finding out the number of cores during install?
No, it doesn't. But I've already answered that on Stack Overflow for you. From: Stephen Turner sgtur...@audioscience.com Sent: Wednesday, February 13, 2013 12:29 PM To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Subject: [WiX-users] Finding out the number of cores during install? 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 ___ 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