Implement something based on InternetOpen-set of APIs. http://msdn.microsoft.com/en-us/library/aa383996(v=VS.85).aspx
Since you're going to be launching your survey, go against the url of the survey and check whether you can download a page from there. dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] Sent: Monday, March 22, 2010 12:11 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Detect an internet connection Not sure, but I guess you have to write a custom action DLL that does some tricks. Also note that checking for an internet connection is not as easy as it sounds. The APIs provided by Windows are not 100% reliable, so most of the time pinging a remote server (google.com for instance) proves to be the best solution. Beware of firewalls too! > Date: Mon, 22 Mar 2010 10:33:59 -0500 > From: stvp...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Detect an internet connection > > Hi all, > > > I've been tasked with launching an online survey during uninstall, > which I have done with a custom action. However, I do not want the > custom action to run if the user is not connected to the internet. > > What is the best way to check for an internet connection and store the > result in a property that can be used as a condition for the custom > action? > > > Thank you! > > Steve > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Mejla från tåget! Hotmail i mobilen. http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users