I have the same problem for our installer as well. I have now seen a custom
action reporting success in out own logging and then the see in the MSI log
that the CA fails. 

A part of the log where it fails:

MSI (s) (A8:38) [13:37:49:868]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI3620.tmp, Entrypoint: ProcessRawDwordRegistryValue
SFXCA: Extracting custom action to temporary directory:
C:\Windows\Installer\MSI3620.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action
CyberTech.Wix.CA!CyberTech.Wix.CA.CustomActions.ProcessRawDwordRegistryValue
MSI (s) (A8!0C) [13:37:49:978]: PROPERTY CHANGE: Modifying PROCESSED_DWORD
property. Its current value is '0'. Its new value: '14'.
CustomAction ProcessRegistryValueLogtime returned actual error code 1603
(note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:37:49: ProcessRegistryValueLogtime. Return value 3.


The custom action is used multiple times. It fails the third time. The log
of the three custom actions:

MSI (s) (A8:7C) [13:37:49:634]: Doing action: ProcessEnableRealtimePlay
Action 13:37:49: ProcessEnableRealtimePlay. 
Action start 13:37:49: ProcessEnableRealtimePlay.
MSI (s) (A8:5C) [13:37:49:634]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI3535.tmp, Entrypoint: ProcessRawDwordRegistryValue
MSI (s) (A8:28) [13:37:49:650]: Generating random cookie.
MSI (s) (A8:28) [13:37:49:650]: Created Custom Action Server with PID 3140
(0xC44).
MSI (s) (A8:08) [13:37:49:666]: Running as a service.
MSI (s) (A8:08) [13:37:49:666]: Hello, I'm your 32bit Impersonated custom
action server.
SFXCA: Extracting custom action to temporary directory:
C:\Windows\Installer\MSI3535.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action
CyberTech.Wix.CA!CyberTech.Wix.CA.CustomActions.ProcessRawDwordRegistryValue
MSI (s) (A8!70) [13:37:49:853]: PROPERTY CHANGE: Modifying PROCESSED_DWORD
property. Its current value is '1'. Its new value: '0'.
Action ended 13:37:49: ProcessEnableRealtimePlay. Return value 1.
MSI (s) (A8:7C) [13:37:49:853]: Doing action:
ProcessEnableRealtimePlay.GetValue
Action 13:37:49: ProcessEnableRealtimePlay.GetValue. 
Action start 13:37:49: ProcessEnableRealtimePlay.GetValue.
MSI (s) (A8:7C) [13:37:49:853]: PROPERTY CHANGE: Modifying
ENABLEREALTIMEPLAY property. Its current value is '#0'. Its new value: '0'.
Action ended 13:37:49: ProcessEnableRealtimePlay.GetValue. Return value 1.
MSI (s) (A8:7C) [13:37:49:853]: Doing action:
ProcessRegistryValueLogtime.SetValue
Action 13:37:49: ProcessRegistryValueLogtime.SetValue. 
Action start 13:37:49: ProcessRegistryValueLogtime.SetValue.
MSI (s) (A8:7C) [13:37:49:868]: PROPERTY CHANGE: Modifying RAW_DWORD
property. Its current value is '#0'. Its new value: '#14'.
Action ended 13:37:49: ProcessRegistryValueLogtime.SetValue. Return value 1.
MSI (s) (A8:7C) [13:37:49:868]: Doing action: ProcessRegistryValueLogtime
Action 13:37:49: ProcessRegistryValueLogtime. 
Action start 13:37:49: ProcessRegistryValueLogtime.
MSI (s) (A8:38) [13:37:49:868]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI3620.tmp, Entrypoint: ProcessRawDwordRegistryValue
SFXCA: Extracting custom action to temporary directory:
C:\Windows\Installer\MSI3620.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action
CyberTech.Wix.CA!CyberTech.Wix.CA.CustomActions.ProcessRawDwordRegistryValue
MSI (s) (A8!0C) [13:37:49:978]: PROPERTY CHANGE: Modifying PROCESSED_DWORD
property. Its current value is '0'. Its new value: '14'.
CustomAction ProcessRegistryValueLogtime returned actual error code 1603
(note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:37:49: ProcessRegistryValueLogtime. Return value 3.
Action ended 13:37:49: INSTALL. Return value 3.


I ran this installer 2 times, then it failed. I ran it a third time, that
was successful. The logging is only different from the line "CustomAction
ProcessRegistryValueLogtime returned actual error code 1603"

I'm using a virtual machine, win2k8. It has 4gb of memory. During install
the machine was idle. 

What can I do to trace and fix this issue?

Kind regards,
Hans de Groot


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-Custom-Action-fails-intermittently-on-some-machines-tp4659699p7368559.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to