[Request]: Save and restore windows OS version actions
Author: philipzaeCreated Sep 18, 2026Updated Sep 18, 2026
LabelsFeature request
Tell us the problem or your need
Various yml files (example) have the 'set_windows' action two times in the installation sequence which changes the bottle's windows OS version, but what happens when the 2nd action is setting windows to a version that wasn't what the bottle originally had before the installation.
Describe the solution you'd like
Create new actions called 'save_windows' and 'restore_windows' which would save the current bottle's windows version or restore the saved windows version back to the bottle. This would also require modify the installer yml files to something like this.
- action: save_windows
- action: set_windows
version: winxp
- action: install_exe
- action: restore_windows
Other solutions?
No response
Additional context and references
No response
Source: bottlesdevs/Bottles