fix(setup): change only what starts a program setup installed; Server only inside Program Files
Services, sign-in entries and shortcuts are matched against the full paths of the files the install log or the payload lists, never against everything under the install folder: an install into a shared folder such as D:\Apps or /DIR="C:\Program Files" no longer stops, starts or deletes other vendors' services or removes their Run values. The elevated step now takes the names the unelevated setup found (/SERVICES=... /NAMES=...) and reads each service again, acting only when it still starts a program of the folder's log or of its own payload (or, for Prune, a program of the folder that is gone). Programs are asked to close before any service is touched. On uninstall the services are deleted only once the programs have closed, just before the files go; a failed install or uninstall starts again the services it stopped, and after an upgrade setup starts exactly the services it stopped, whatever their start type. The Server component installs only for all users in a folder inside Program Files. In the window a custom folder outside it is invalid while the Server is selected, with a tooltip saying why; silent mode refuses it. An upgrade of an installation elsewhere cannot add the Server, and one it carried is dropped with its service. Sign-in entries use StartupCommand (the same file as on fix/shell-notify) and are removed by SetupRegistry.DeleteStartupEntries only when the client's or the Uploader's value starts a program the install log lists; an upgrade that drops a program removes its entry too. StartupEntries is gone. A shortcut that starts another product's existing copy is still left alone but now logged; uninstalling the product it starts hands it to another product of the same scope that lists it and has the same program, so the Uploader that stays keeps its shortcuts. Another registered Titano installation whose folder or log cannot be read now counts as using every program's data, so "Remove my data" never offers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
22 files changed
+834
-282
No files matched your search
@@ -577,6 +577,7 @@
|
||||
<data name="Tooltips.Setup.Desktop" xml:space="preserve"><value>Aggiungi collegamenti al desktop</value></data>
|
||||
<data name="Tooltips.Setup.Folder" xml:space="preserve"><value>Dove vengono installati i programmi · i tuoi dati restano nella loro cartella</value></data>
|
||||
<data name="Tooltips.Setup.FolderInvalid" xml:space="preserve"><value>Inserisci il percorso completo di una cartella che non sia la radice di un'unità o una cartella di sistema</value></data>
|
||||
<data name="Tooltips.Setup.FolderProgramFiles" xml:space="preserve"><value>{0} è un servizio di Windows, quindi scegli una cartella dentro Programmi</value></data>
|
||||
<data name="Tooltips.Setup.Install" xml:space="preserve"><value>Copia i programmi selezionati e registrali in Windows</value></data>
|
||||
<data name="Tooltips.Setup.Installed" xml:space="preserve"><value>Cartella dei programmi installati</value></data>
|
||||
<data name="Tooltips.Setup.JustMe" xml:space="preserve"><value>Installa nella tua cartella utente · non servono diritti di amministratore</value></data>
|
||||
@@ -586,6 +587,7 @@
|
||||
<data name="Tooltips.Setup.LaunchNow" xml:space="preserve"><value>Apri il programma installato</value></data>
|
||||
<data name="Tooltips.Setup.Locked" xml:space="preserve"><value>Già installato qui · disinstallalo prima per cambiare cartella o ambito</value></data>
|
||||
<data name="Tooltips.Setup.NeedsAllUsers" xml:space="preserve"><value>È un servizio di Windows, quindi si installa solo per tutti gli utenti · questa copia è installata solo per te; disinstallala prima per aggiungerlo</value></data>
|
||||
<data name="Tooltips.Setup.NeedsProgramFiles" xml:space="preserve"><value>È un servizio di Windows, quindi si installa solo dentro Programmi · questa copia è installata altrove; disinstallala prima per aggiungerlo</value></data>
|
||||
<data name="Tooltips.Setup.NoComponent" xml:space="preserve"><value>Seleziona almeno un programma da installare</value></data>
|
||||
<data name="Tooltips.Setup.RemoveData" xml:space="preserve"><value>Elimina anche %LOCALAPPDATA%\Titano: database, backup, cache, impostazioni, log, coda e accesso dell'uploader · le foto negli archivi restano</value></data>
|
||||
<data name="Tooltips.Setup.RemoveDataTitano" xml:space="preserve"><value>Elimina anche database, backup, cache, impostazioni e log di Titano in %LOCALAPPDATA%\Titano · i file dell'uploader e le foto negli archivi restano</value></data>
|
||||
|
||||
Reference in new issue
Block a user