New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrapper UpdateReplace with perUser InstallScope updates incorrectly #4943
Comments
Please post logs showing an attempted run.
|
I'm wondering if this is related to a bug I fixed in 4.x. If you are able to build Wix from source, take a look at src/burn/engine/EngineForApplication.cpp Specifically the SetUpdate method.
You should be able to just copy the entire method, to do local verification.
|
Jacob, can you verify?
|
Sorry for the late reply. Logs available here: @jchoover - I haven't tried your fix but it seems like it may be on the right track.
|
I can confirm after much fighting with my installed toolset, that the proposed changes do resolve this issue. Next week I'll see what we can get this on the docket for 3.11.
|
|
Hi
When performing an update using a custom bootstrapper I am hitting an odd scenario when the MSI is set to install perUser.
From my understanding of reading the logs when this works planning an UpdateReplace should:
However, it appears to run the old bootstrapper as an Update instead. This gets it really confused - and the old version is not removed from Programs and Features correctly.
I have provided a sample with instructions here:
https://github.com/squirmy/wix-custom-ba-issue
Switching the InstallScope to perMachine will allow the sample to work correctly.
The text was updated successfully, but these errors were encountered: