I am attempting to read a registry value (DWORD), do a comparison (
greater than or less than) and depending on result, abort install.
Below are my property settings:
Requirements on Target Machine - Search Target Machine - CPUSpeed.
(Name) : CPUSpeed
Property : CPUSPEED
RegKey : HARDWARE\DESCRIPTION\System\CentralProcessor\0
Root : vsdrrHKLM
Value : ~MHz
After I set this, under Launch Conditions I have:
Requirements on Target Machine - Launch Conditions.
(Name) : CPU Speed > 300
Condition : CPUSPEED > 300
InstallURL : // blank
Message : Requires CPU speed greater than 300
One would think this would be a simple task. I have now spent 3
frustrating hours trying to figure out what I could be doing wrong.
If anybody could please respond, I'd much appreciate it.
Sachin Desai
Run the installer with logging to see the value of the property.
--
Regards,
Sajan.
PS: Please don't send me direct emails, use the newsroom.
"Sachin" <sac...@realityfusion.com> wrote in message
news:2351203f.03071...@posting.google.com...
I am using the Visual Studio UI and still can't comprehend what the
syntax for the conditional should be.
If I understand correctly, The CPUSPEED value contains a DWORD value
#xxx. How would I set the conditional against that? CPUSPEED > #300?
The log file generated the following lines:
<snip>
AppSearch: Property: CPUSPEED, Signature:
__142ED0EED12B4750A584EA383D5D1A49
MSI (c) (90:88): Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (90:88): Note: 1: 2262 2: CompLocator 3: -2147287038
Action ended 11:51:15: AppSearch. Return value 1.
</snip>
Am I not understanding the process here? Sorry if I am being dense
about this.
Sachin
"Kallely Sajan" <saj...@hotmail.com> wrote in message news:<eQ5S6S1S...@TK2MSFTNGP10.phx.gbl>...