Replies: 1 comment
-
The difference in the log file seems to suggest that in one case, your BA calls Plan() after Detect(). In the case that does not work, Plan() is not called. You'll need to review your code to see what might cause the difference. Note: this Discussion forum (just like the WiX mailing lists and issue tracker) is manned by volunteers. If you want someone to actually respond "URGENT"ly to your issues, then consider commercial support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WiX 3.11.2.4516
Visual Studio 2017 (I want to use VS2022 but, sadly, there is no .NET 6 version of the bootstrapper.. :-(
WiX Toolset VS 2017 Extension, v1.0.0.18
.NET 4.8
There are two nodes at issue here: My development machine works perfectly, but when tested on a Windows 11 VM, none of the Engine events are fired.
Dev box: Windows 11 Pro 21H2 build 22000.856
VM: Windows 11 Pro build 22000.376
Run the installer on my dev box for success and any other box for complete failure. This is HUGELY disappointing as I have been working on a custom BA so I can collect user registration information. As I said, this works perfectly in development, but not at all in production. I need to get this fixed URGENTLY!!
I have placed logger calls all over the place to identify what is going on. I don't see any calls being made for the OnXXX events in production. I have attached the log files from both runs. Other than the time wasted on adding more and more log messages, I don't know how else to troubleshoot this.
As I have said, the installer works fine on my dev box, but not on my VM (which is meant to test how the installer will respond in the real world...)
Here is the log from the VM where no events are executed:
I apologize in advance for the long log file... Here is the log file from my development box. Notice it goes all the way through the end...
I am using the OnDetectPackageComplete event to get the registration wizard panel initialized, so I know the events are firing as they should in my development setup. You can also see in the above log, that I have Engine.Log calls in each of the OnXXX events to show they are being execute.
So, why would one installer work and the very same installer on another machine not work...
I have to get this done pronto, so I'd appreciate a response and I thank you in advance for your help!!
Steve Miller
Beta Was this translation helpful? Give feedback.
All reactions