MSI Package hangs-up when calculating disk space
-
28-09-2019 - |
문제
In my team we prepared an msi installer package for our application. Package is made in WIX contains custom UI, call custom actions from C# library and almost everything works fine except one thing: calculating required disk space. On this stage whole installer hangs up from time to time, especially when client testing it :( We have the same problems on developing machine, but restarting installer helps, so this error is quite random. I was googling a little bit and found two workarounds, all based on command line parameters:
msiexec /i filename.msi (change state messages handling)
and
msiexec /package /qr (starting package with limited UI)
unfortunately its not a solution for me, because installer has to working without passing extra parameters to it when user want to install application :(
I'll be appreciate for any clue in my investigation :)
해결책
You'll want to read this blog post:
The exact cause is unknown but the workaround is to opt out of WiX's WaitForCostingDlg dialog.