You can do a registry search to find the value of a registry key. For
example:

<Property Id='AUOptionsValue'>
  <RegistrySearch 
     Id='RS_AUOptions' 
     Key='SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update'
     Name='AUOptions'
     Root='HKLM'
     Type='raw' />
</Property>

You might want to add Win64='yes' - I'm not sure what the impact of
setting this for a 32-bit machine is, however.

As for Microsoft Update, I'm not sure what the method of detecting this
is. Perhaps the DefaultService value under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services?

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Theodore
Kuo (Siemens Business Services Inc)
Sent: 02 October 2006 16:45
To: [EMAIL PROTECTED]; Jason Swager;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to check for returned value of a call to
app.exe

This check checks whether the host has MU configured.  The call can
return 3 conditions: MU configured, MU not configured and AU is on, and
MU not configured and AU is off.  The install script proceeds normally
if MU is configured, but opens up separate dialogs depending on whether
AU is on or off.

What is AppSearch and how can I include it in the installation script?
I'm still new at Microsoft (just started 2 weeks ago), so I apologize if
many internal terms are still foreign to me.

Ted

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 01, 2006 9:30 PM
To: Theodore Kuo (Siemens Business Services Inc);
[EMAIL PROTECTED]; Jason Swager;
wix-users@lists.sourceforge.net
Subject: RE: Re: [WiX-users] How to check for returned value of a call
to app.exe

What exactly does this check do?  Is it possible an AppSearch can do it
for you?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Theodore
Kuo (Siemens Business Services Inc)
Sent: Sunday, October 01, 2006 11:23
To: [EMAIL PROTECTED]; Jason Swager;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to check for returned value of a call to
app.exe


Rob and Jason,

Thanks for your prompt replies. It looks like I will have to write a DLL
CustomAction to set a Property's value and based on the Property's value
set I can sequence the UI dialogs or the actions to be executed in my
Wix script.

Ted



------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to