-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Installer parameters CLOSEAPPLICATIONS/FORCECLOSEAPPLICATIONS do not seem to have any impact #5250
Installer parameters CLOSEAPPLICATIONS/FORCECLOSEAPPLICATIONS do not seem to have any impact #5250
Comments
When `/CLOSEAPPLICATIONS` or `/FORCECLOSEAPPLICATIONS` is passed to InnoSetup, it will handle the closing/terminating of in-use apps, and we do not have to do anything manually. This fixes git-for-windows/git#5250 Signed-off-by: Johannes Schindelin <[email protected]>
This error message is produced here. I guess that this code should be skipped if |
This is the URL for the |
Just managed to test it, same command line. It kind of worked but not the way I'd expect it to. First I installed v2.40.1 and opened Git GUI and Git Bash, then ran the test installer. No foreground apps were force-closed (wish.exe, mintty.exe), however the installer proceeded with the installation and when it was finished i could see that git version was now 2.47.0.2. That's the behavior I'd expect from another install parameter - |
Hmm. I cannot really explain this behavior because this is not actually in Git for Windows' code, it is in InnoSetup's. From what I can tell, the applications to close are registered here, and it looks straight-forward. So I have no idea why they are not force-closed. However, I do see that there is plenty of logging going on. Have you tried to log to a file with |
Setup
Details
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Expect the installer to force-close any open git-related apps and proceed with the installation
If I run the above command as an administrative user, I receive a popup
If the installer gets executed via device management software, like SCCM or Intune (that is as SYSTEM account), the exact same message gets written into the log and the installer process is just hanging there indefinitely.
The text was updated successfully, but these errors were encountered: