@@ -236,13 +236,21 @@ src-tauri/target/release-fast/openbitfun-installer.exe
236236
237237### Installation, updates and recovery
238238
239- The default is a current-user installation. Select “Install for all users” for
240- a new machine-wide installation; Windows then asks for administrator approval.
241- An existing installation keeps its directory and scope. Updates to protected
239+ New installations use the current-user scope. The installer does not offer a
240+ scope switch or change a selected directory when editing shortcut preferences.
241+ An existing installation keeps its directory and scope, including legacy
242+ machine-wide installations. Updates to protected
242243directories request elevation automatically. Canceling authorization leaves the
243244existing application in place. Model and theme preferences remain with the
244245original user, including when a different administrator approves maintenance.
245246
247+ Multiple installation directories can coexist. New directories have separate
248+ Windows uninstall entries and shortcuts labeled with their location and a stable
249+ directory identifier. Updating or uninstalling one directory preserves the
250+ others. Legacy uninstall entries and shortcuts remain supported. Model settings
251+ and sessions continue to use the existing user data directory; installing another
252+ copy does not create an isolated user profile.
253+
246254Installations record their managed files in ` .openbitfun-installed.json ` .
247255Updates and uninstallations preserve other files and user data. A running or
248256locked file produces an error and restores earlier changes. Close OpenBitFun
@@ -260,6 +268,21 @@ exits after the maintenance worker is ready. Installation failures after exit
260268are reported by a native dialog and retained for the next application launch.
261269The restarted application runs under the original user's account.
262270
271+ Native maintenance also accepts legacy NSIS arguments: ` /D= ` selects an install
272+ directory, ` /S ` requests silent execution, ` /P ` requests passive execution, and
273+ ` _?= ` selects the uninstall directory. Uninstall entrypoints retain their operation
274+ when ` /UPDATE ` is present. ` /R /ARGS ... ` restarts with the original application
275+ arguments and user token. Native ` --quiet ` keeps its ` 0 ` /` 1 ` /` 2 ` outcome contract;
276+ legacy NSIS uninstall callers receive ` 0 ` after successful removal with deferred
277+ cleanup, with the committed journal retained for a later cleanup retry.
278+
279+ The application and installer share Windows scope detection, including legacy
280+ HKLM records without a new inventory. Same-directory HKCU/HKLM duplicates are
281+ both backed up and removed on uninstall; records for other directories remain.
282+ Protected installation or maintenance-lock locations request elevation before
283+ publication. Cleanup removes the transaction journal last, so cleanup failures
284+ remain retryable.
285+
263286Uninstall can be entered through Windows Settings, the registered uninstall
264287command, or ` uninstall.exe ` in the installation directory. ` --quiet ` selects
265288non-interactive removal. Uninstall progress reflects native operations and the
0 commit comments