We just upgraded our WiX version to 3.0.5217.0 (RC2) and our MSI stopped
working.
Same exact WXS compiled under 3.0.4805.0 works fine, but under 3.0.5217.0
throws an error when attempting to setup registry keys, using PermissionEx.
Has anyone encountered a similar problem? Is this a bug in the latest release?
WXS component:
<Component Id="RegistryComponent" Guid="1B162CA4-5811-4ad8-BC9A-55ABF3B4508F"
DiskId="1" Location="either">
<RegistryKey Id="RegKey.EventLog" Action="create" Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Eventlog">
<util:PermissionEx ChangePermission="no" User="NetworkService" GenericAll="yes"
/>
</RegistryKey>
<RegistryKey Id="RegKey.Application" Action="create" Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Eventlog\Application">
<util:PermissionEx ChangePermission="no" User="NetworkService" GenericAll="yes"
/>
</RegistryKey>
<RegistryKey Id="RegKey.APIExec" Action="createAndRemoveOnUninstall"
Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Eventlog\Application\[APPNAME]">
<util:PermissionEx ChangePermission="no" User="NetworkService" GenericAll="yes"
/>
</RegistryKey>
<CreateFolder />
</Component>
Error from MSI log:
MSI (s) (D8:54) [17:11:56:836]: Executing op:
ActionStart(Name=WriteRegistryValues,Description=Writing system registry
values,Template=Key: [1], Name: [2], Value: [3])
MSI (s) (D8:54) [17:11:56:836]: Executing op:
ProgressTotal(Total=3,Type=1,ByteEquivalent=13200)
MSI (s) (D8:54) [17:11:56:836]: Executing op:
RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\Eventlog,,BinaryType=0)
MSI (s) (D8:54) [17:11:56:836]: Executing op: RegCreateKey()
MSI (s) (D8:54) [17:11:56:836]: Executing op:
RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\Eventlog\Application,,BinaryType=0)
MSI (s) (D8:54) [17:11:56:836]: Executing op: RegCreateKey()
MSI (s) (D8:54) [17:11:56:836]: Executing op:
RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\Eventlog\Application\,,BinaryType=0)
MSI (s) (D8:54) [17:11:56:836]: Executing op: RegCreateKey()
MSI (s) (D8:54) [17:11:56:836]: Executing op:
ActionStart(Name=ExecSecureObjects,,)
MSI (s) (D8:54) [17:11:56:836]: Executing op:
CustomActionSchedule(Action=ExecSecureObjects,ActionType=3073,Source=BinaryData,Target=ExecSecureObjects,CustomActionData=MACHINE\SYSTEM\CurrentControlSet\Services\EventlogRegistryNetworkService268435456MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\ApplicationRegistryNetworkService268435456MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\RegistryNetworkService268435456)
MSI (s) (D8:34) [17:11:56:852]: Invoking remote custom action. DLL:
C:\WINNT\Installer\MSI1DC.tmp, Entrypoint: ExecSecureObjects
MSI (s) (D8:34) [17:11:56:852]: Leaked MSIHANDLE (6128) of type 790531 for
thread 2356
MSI (s) (D8:34) [17:11:56:852]: Note: 1: 2769 2: ExecSecureObjects 3: 1
DEBUG: Error 2769: Custom Action ExecSecureObjects did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This
may indicate a problem with this package. The error code is 2769. The arguments
are: ExecSecureObjects, 1,
MSI (s) (D8:54) [17:11:56:852]: User policy value 'DisableRollback' is 0
MSI (s) (D8:54) [17:11:56:852]: Machine policy value 'DisableRollback' is 0
Action ended 17:11:56: InstallFinalize. Return value 3.
Any feedback would be greatly appreciated, thanks in advance,
Andres.
_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_more_042009
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users