Replies: 2 comments
-
|
Not clear what is going awry here. |
Beta Was this translation helpful? Give feedback.
-
|
I found the problem to be with Session.Log() used in a DoAction Custom Action (which is my case) and running in Full UI mode (UILevel = 5). It is documented in: So, I had to create a SessionLog() function in my CA to do the following: I know that creating a session variable (session["zLogging"]) is not elegant but at least I am able to see my CA messages in the log. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I recently converted several VS2022 Wix V3 old installers into Wix V6. Installers work fine, but all session.log(msg) issued in the Custom Actions are not displayed at all in the log. I tried several combinations, even setting Msilogging to "voicewarmupx" and nothing works. I remember that used to work in the past with Wix V3. Please advise how to troubleshoot.
My Custom action is writen in C# .NET 4.7.2
I use msiexec /i installer.msi /l*v logfile.log
At the beginning I thought the problem was in my development VM (Win10) but I tried the same installer in other VMs (Win10, Win11, Win2019) with the same lack of logging results. I want to emphasize, only the session.Log() messages are not displayed, all the rest is.
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions