[wix-users] WiX Installer hangs intermittently while executing custom action

Russell Haley russ.haley at gmail.com
Wed Feb 14 23:22:38 PST 2018


On Wed, Feb 14, 2018 at 11:06 PM, Rishabh Verma <rishabhv at live.com> wrote:
> Hey Russell,
>
>
>
> Thanks for your response. We have tried with the logging enabled and it
> happens only once in while. The log file contains log till the custom action
> is triggered and post that there is no error, just a hang issue. We are
> doing dacPac deployment in the custom action and there are 4 dacpacs that we
> deploy. Invariably it fails in the first or second deployment only and if it
> passes that sate, it completes the deployment without any issue.
>
>
>
> I did Debugger.Launch() in the custom action and didn’t find any issues.
> Infact I added extra logging as well and even that didn’t indicate any issue
> either. If the code review would be helpful, I can share the custom action
> code.

I don't have any knowledge about installing dacpacs, but sharing the
code is always a good way to get others interested. :)

Night,
Russ
>
>
> Thanks,
>
> Rishabh
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: Russell Haley
> Sent: Thursday, February 15, 2018 10:42 AM
> To: WiX Toolset Users Mailing List
> Cc: Rishabh Verma
> Subject: Re: [wix-users] WiX Installer hangs intermittently while executing
> custom action
>
>
>
> Sorry, hit the wrong button. Have you tried it with logging turned on?
>
> msiexec /i "my-installer.msi" /L*V "my-installer.log"
>
> This might give you some reference, or might not be helpful at all.
> Perhaps some indication in your email about what the custom action is
> doing would be helpful to suggest debugging? A couple thoughts come to
> mind: A resource is in use and can't be removed, a UI element has been
> created to ask for information from the user and no UI is available.
>
> Has the CustomAction been independently debugged?
>
> Russ
>
> On Wed, Feb 14, 2018 at 9:06 PM, Russell Haley <russ.haley at gmail.com> wrote:
>> Hi,
>>
>> Have you tried running the installer with logging on?
>>
>>
>> On Wed, Feb 14, 2018 at 7:21 PM, Rishabh Verma via wix-users
>> <wix-users at lists.wixtoolset.org> wrote:
>>> Folks,
>>>
>>>
>>> It has been observed that running a WiX installer with a custom action is
>>> getting stuck once in a while executing custom action. Based on the
>>> analysis, the machines in which this issue occurred had not been restarted
>>> for 8-9 days. We analyzed the wait chain and found that msiexec was waiting
>>> for rundll32.exe. On killing rundll32.exe, the setup rolled back. Any
>>> pointers to get around this issue would be great as we are about to release
>>> this to customer
>>> Thanks,
>>> Rishabh
>>>
>>>
>>>
>>> ____________________________________________________________________
>>> WiX Toolset Users Mailing List provided by FireGiant
>>> http://www.firegiant.com/
>
>


More information about the wix-users mailing list