Looking through the code, I'm seeing that ExitOnFailure is being called in firewall.cpp/GetFirewallProfile, the line that contains:
hr = pfwPolicy->get_CurrentProfile(ppfwProfile); ExitOnFailure(hr, "failed to get current profile"); So, any tips on how I get ExitOnFailure to *not* display a messagebox to the user when this fails? Thanks! Wendell On Tue, Oct 21, 2008 at 9:08 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Brian Rogers wrote: >> I think you answered your own question. I imagine stopping the firewall >> service makes it so you can't configure it in this way. Perhaps you can add >> a ServiceControl element to ensure the firewall service is started (although >> I'm not sure it would be guaranteed to be sequenced at the right time). >> > > It might cross the line to rudeness to turn on the firewall if a user > turned it off. If the firewall custom actions can't connect to the > firewall service, it will prompt (if the UI level supports it). You can > use the IgnoreFailure attribute to let such failures be ignored. > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- "Some people come visit Europe and are really let down when they find out it's not like a credit-card commercial; others really get into meeting all the quirky people and careening along narrow mountain roads in rickety cabs driven by suicidal, gap-toothed Carpathians. I guess it's pretty obvious which one you are..." - Justin Crevier, May '01 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users