Hello everyone,
I'm attempting to use the FirewallException element, without much
success. When installing, the installer abruptly performs a rollback
when it hits the FirewallException's deferred CA. No message box to
the user, nothing in the log. This is usin Wix 3.0.4513 on Windows
Server 2003 SP2.
Any suggestion as to what I'm doing wrong would be greatly appreciated!
Here is an exerpt from my wxs file, showing the File element and its
nested FirewallException element:
<DirectoryRef Id="ServerDir" FileSource="..\Fusion\bin\!
(wix.Configuration)">
<Component Id="Server.Main" Guid="9F046460-8961-11DD-
ABAC-005056C00008" Feature="Server">
<File Id="Server.Main" KeyPath="yes" Checksum="yes"
Name="Fusion.exe" Assembly=".net" AssemblyApplication="Server.Main">
<fw:FirewallException Id="ServerFirewallRule" Name="!
(loc.ServiceDisplayName)" Scope="localSubnet"/>
</File>
Here are the relevant portions of the install log:
First, the immediate part:
MSI (s) (E4:AC) [06:18:59:485]: Doing action:
WixSchedFirewallExceptionsInstall
Action 6:18:59 : WixSchedFirewallExceptionsInstall. Configuring
Windows Firewall
Début de l'action 6:18:59 : WixSchedFirewallExceptionsInstall.
MSI (s) (E4:AC) [06:18:59:485]: Creating MSIHANDLE (9) of type 790542
for thread 2476
MSI (s) (E4:28) [06:18:59:485]: Invoking remote custom action. DLL: C:
\WINDOWS\Installer\MSIE76.tmp, Entrypoint:
SchedFirewallExceptionsInstall
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (10) of type 790541
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (11) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Closing MSIHANDLE (11) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (12) of type 790540
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (13) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (14) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Closing MSIHANDLE (14) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Closing MSIHANDLE (13) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:535]: Creating MSIHANDLE (15) of type 790531
for thread 6032
SchedFirewallExceptions: Scheduling firewall exception (1€Fusion
Service€LocalSubnet€0€2€C:\Program Files\Paul Lalonde enrg
\Fusion\Server\Fusion.exe)
MSI (s) (E4!90) [06:18:59:545]: Closing MSIHANDLE (15) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:545]: PROPERTY CHANGE: Adding
WixRollbackFirewallExceptionsInstall property. Its value is '1Fusion
ServiceLocalSubnet02C:\Program Files\Paul Lalonde enrg\Fusion
\Server\Fusion.exe'.
MSI (s) (E4!90) [06:18:59:545]: Creating MSIHANDLE (16) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:545]: Closing MSIHANDLE (16) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:545]: Doing action:
WixRollbackFirewallExceptionsInstall
Action 6:18:59 : WixRollbackFirewallExceptionsInstall. Rolling back
Windows Firewall configuration
Début de l'action 6:18:59 : WixRollbackFirewallExceptionsInstall.
1: Rolling back Windows Firewall configuration
Fin de l'action 6:18:59 : WixRollbackFirewallExceptionsInstall. Valeur
renvoyée : 1.
MSI (s) (E4!90) [06:18:59:545]: PROPERTY CHANGE: Adding
WixExecFirewallExceptionsInstall property. Its value is '1Fusion
ServiceLocalSubnet02C:\Program Files\Paul Lalonde enrg\Fusion
\Server\Fusion.exe'.
MSI (s) (E4!90) [06:18:59:545]: Creating MSIHANDLE (17) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:545]: Closing MSIHANDLE (17) of type 790531
for thread 6032
MSI (s) (E4!90) [06:18:59:545]: Doing action:
WixExecFirewallExceptionsInstall
Action 6:18:59 : WixExecFirewallExceptionsInstall. Installing Windows
Firewall configuration
Début de l'action 6:18:59 : WixExecFirewallExceptionsInstall.
1: Installing Windows Firewall configuration
Fin de l'action 6:18:59 : WixExecFirewallExceptionsInstall. Valeur
renvoyée : 1.
MSI (s) (E4!90) [06:18:59:545]: Closing MSIHANDLE (10) of type 790541
for thread 6032
MSI (s) (E4!90) [06:18:59:555]: Closing MSIHANDLE (12) of type 790540
for thread 6032
MSI (s) (E4:28) [06:18:59:555]: Closing MSIHANDLE (9) of type 790542
for thread 2476
Fin de l'action 6:18:59 : WixSchedFirewallExceptionsInstall. Valeur
renvoyée : 1.
Next, the deferred part, including a portion of the rollback:
MSI (s) (E4:AC) [06:19:00:757]: Executing op:
ActionStart
(Name=WixRollbackFirewallExceptionsInstall,Description=Rolling back
Windows Firewall configuration,)
Action 6:19:00 : WixRollbackFirewallExceptionsInstall. Rolling back
Windows Firewall configuration
MSI (s) (E4:AC) [06:19:00:757]: Executing op:
CustomActionSchedule
(Action
=
WixRollbackFirewallExceptionsInstall
,ActionType
=
3329
,Source
=BinaryData,Target=ExecFirewallExceptions,CustomActionData=1Fusion
ServiceLocalSubnet02C:\Program Files\Paul Lalonde enrg\Fusion
\Server\Fusion.exe)
MSI (s) (E4:AC) [06:19:00:757]: Executing op:
ActionStart
(Name=WixExecFirewallExceptionsInstall,Description=Installing Windows
Firewall configuration,)
Action 6:19:00 : WixExecFirewallExceptionsInstall. Installing Windows
Firewall configuration
MSI (s) (E4:AC) [06:19:00:757]: Executing op:
CustomActionSchedule
(Action
=
WixExecFirewallExceptionsInstall
,ActionType
=
3073
,Source
=BinaryData,Target=ExecFirewallExceptions,CustomActionData=1Fusion
ServiceLocalSubnet02C:\Program Files\Paul Lalonde enrg\Fusion
\Server\Fusion.exe)
MSI (s) (E4:AC) [06:19:00:767]: Creating MSIHANDLE (18) of type 790536
for thread 2476
MSI (s) (E4:44) [06:19:00:767]: Invoking remote custom action. DLL: C:
\WINDOWS\Installer\MSIE78.tmp, Entrypoint: ExecFirewallExceptions
MSI (s) (E4:24) [06:19:00:777]: Generating random cookie.
MSI (s) (E4:24) [06:19:00:777]: Created Custom Action Server with PID
4456 (0x1168).
MSI (s) (E4:78) [06:19:00:807]: Running as a service.
MSI (s) (E4:78) [06:19:00:807]: Hello, I'm your 32bit Elevated custom
action server.
MSI (s) (E4!D4) [06:19:00:867]: Creating MSIHANDLE (19) of type 790531
for thread 5588
ExecFirewallExceptions: Installing firewall exception Fusion Service
(C:\Program Files\Paul Lalonde enrg\Fusion\Server\Fusion.exe)
MSI (s) (E4!D4) [06:19:00:867]: Closing MSIHANDLE (19) of type 790531
for thread 5588
MSI (s) (E4:44) [06:19:00:877]: Closing MSIHANDLE (18) of type 790536
for thread 2476
Fin de l'action 6:19:00 : InstallFinalize. Valeur renvoyée : 3.
MSI (s) (E4:AC) [06:19:00:877]: User policy value 'DisableRollback' is 0
MSI (s) (E4:AC) [06:19:00:877]: Machine policy value 'DisableRollback'
is 0
MSI (s) (E4:AC) [06:19:00:877]: Executing op:
Header
(Signature
=
1397708873
,Version
=
301
,Timestamp
=
960901728
,LangId
=
1036
,Platform
=
0
,ScriptType
=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (E4:AC) [06:19:00:877]: Executing op:
DialogInfo(Type=0,Argument=1036)
MSI (s) (E4:AC) [06:19:00:877]: Executing op:
DialogInfo(Type=1,Argument=Fusion)
MSI (s) (E4:AC) [06:19:00:887]: Executing op:
RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Annulation
de
l'action
:,RollbackTemplate
=[1],CleanupAction=RollbackCleanup,CleanupDescription=Suppression des
fichiers de sauvegarde,CleanupTemplate=Fichier : [1])
Action 6:19:00 : Rollback. Annulation de l'action :
Rollback: Installing Windows Firewall configuration
MSI (s) (E4:AC) [06:19:00:887]: Executing op:
ActionStart
(Name=WixExecFirewallExceptionsInstall,Description=Installing Windows
Firewall configuration,)
MSI (s) (E4:AC) [06:19:00:887]: Executing op:
ProductInfo(ProductKey={9F046475-8961-11DD-
ABAC
-005056C00008
},ProductName
=
Fusion
,PackageName
=
Fusion
.Installer
.msi
,Language
=
1036
,Version
=
1
,Assignment
=
1
,ObsoleteArg
=
0
,,,PackageCode
=
{E383CED8
-81BB
-4A92
-8414-663AAB312757},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
Rollback: Rolling back Windows Firewall configuration
MSI (s) (E4:AC) [06:19:00:887]: Executing op:
ActionStart
(Name=WixRollbackFirewallExceptionsInstall,Description=Rolling back
Windows Firewall configuration,)
MSI (s) (E4:AC) [06:19:00:887]: Executing op:
CustomActionRollback
(Action
=
WixRollbackFirewallExceptionsInstall
,ActionType
=
3329
,Source
=BinaryData,Target=ExecFirewallExceptions,CustomActionData=1Fusion
ServiceLocalSubnet02C:\Program Files\Paul Lalonde enrg\Fusion
\Server\Fusion.exe)
MSI (s) (E4:AC) [06:19:00:887]: Creating MSIHANDLE (20) of type 790536
for thread 2476
MSI (s) (E4:74) [06:19:00:887]: Invoking remote custom action. DLL: C:
\WINDOWS\Installer\MSIE79.tmp, Entrypoint: ExecFirewallExceptions
MSI (s) (E4!58) [06:19:00:947]: Creating MSIHANDLE (21) of type 790531
for thread 5464
ExecFirewallExceptions: Uninstalling firewall exception Fusion
Service (C:\Program Files\Paul Lalonde enrg\Fusion\Server\Fusion.exe)
MSI (s) (E4!58) [06:19:00:947]: Closing MSIHANDLE (21) of type 790531
for thread 5464
MSI (s) (E4:74) [06:19:00:957]: Closing MSIHANDLE (20) of type 790536
for thread 2476
--
Paul Lalonde paullalonde at mac dot com
"Il n'y a que les banques qui sont libres" -- Jean-Luc Godard
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users