Replies: 1 comment 1 reply
-
What are you using to host the service? Does it spawn a child process? Does telling the host to stop the service end the child process? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening,
I'm using wix 5.0.2 to create an MSI of a python pyinstaller build of a python windows service. REINSTALLMODE is currently amus.
If the app is in use during an update install MSI fails to remove the previous file:
But for some reason installing the new (changed) file works:
At the end after restarting the file base_library.zip is deleted and ends up missing.
My theory is that stopping the service (using
<ServiceControl Stop="both" Remove="uninstall" Wait="yes" />
) does not really unlock end the service completely so that the file is still in use when MSI uninstalls the previous version but not any more when the new files are installed.To me this seems to be an MSI issue - does anyone have an idea how to solve this?
Thank you very much
Moritz
Beta Was this translation helpful? Give feedback.
All reactions