When I stop the Firewall service (Windows Firewall, Internet Sharing
Service (SharedAccess)) and run setup and it executes:

get_CurrentProfile executes in firewall.cpp/GetFirewallProfile

http://msdn.microsoft.com/en-us/library/aa365325(VS.85).aspx

I get an error:

(HRESULT_FROM_WIN32(EPT_S_NOT_REGISTERED)

The GetFireWallProfile is causing the ErrorDialog to display with the
error message and abort/retry/ignore.  I'm trying to track down
exactly what causes this to display and, if possible, make it not
display.  ANy tips/pointers most appreciated.

Thanks!

Wendell



On Wed, Oct 22, 2008 at 4:03 PM, Rob Mensching
<[EMAIL PROTECTED]> wrote:
> ExitOnFailure does not show message boxes.
>
> -----Original Message-----
> From: Wendell Joost [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2008 15:58
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error 0x800706d9: failed to get firewall profile
>
> 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
>
>
> -------------------------------------------------------------------------
> 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

Reply via email to