sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.98k stars 1.56k forks source link

Inno Setup cannot InstallDelete files when being run in a sandbox #1567

Open NewKidOnTheBlock opened 2 years ago

NewKidOnTheBlock commented 2 years ago

I'm always running Brave Portable in a sandbox. https://github.com/portapps/brave-portable/releases/download/1.34.80-80/brave-portable-win64-1.34.80-80-setup.exe This also goes for installing Brave Portable updates. I'd always run the installer in Sandboxie as well and then drag the new files out of the sandbox afterwards.

Since Sandboxie Classic 5.55.7 and 5.55.8, the upgrade installation fails with the following error report: braveportable

Somehow the installer isn't able to write if a file already exists when run in Sandboxie. This prevents me from upgrading my sandboxed Brave Portable.

System specs: Windows 10 64bit 21H1 Sandboxie Classic x64 5.55.8 brave-portable-win64-1.34.80-80-setup.exe

Config:

[GlobalSettings]

Template=VirtualDesktopManager
Template=RpcPortBindings
Template=7zipShellEx
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing
FileRootPath=D:\Sandbox\%SANDBOX%
TemplateReject=AdobeAcrobatReader
NetworkEnableWFP=y

[UserSettings_0C980217]

SbieCtrl_UserName=XXX
SbieCtrl_NextUpdateCheck=-1
SbieCtrl_EnableLogonStart=n
SbieCtrl_EnableAutoStart=y
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=y
SbieCtrl_AddSendToMenu=n
SbieCtrl_HideWindowNotify=n
SbieCtrl_WindowCoords=255,224,1237,677
SbieCtrl_ActiveView=40021
SbieCtrl_ProcessViewColumnWidths=250,70,300
SbieCtrl_ReloadConfNotify=n
SbieCtrl_ExplorerWarn=n
SbieCtrl_ShouldDeleteNotify=n
SbieCtrl_TerminateWarn=n
SbieCtrl_UpdateCheckNotify=y
SbieCtrl_AutoApplySettings=y
SbieCtrl_SettingChangeNotify=n
BoxDisplayOrder=Default
SbieCtrl_ShortcutNotify=n
SbieCtrl_EditConfNotify=n
SbieCtrl_AutoRunSoftCompat=n

[Default]

Enabled=y
ConfigLevel=9
BlockNetworkFiles=y
Template=OpenSmartCard
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
RecoverFolder=%Desktop%
RecoverFolder=%Personal%
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
BorderColor=#00FFFF,ttl,6
CopyLimitKb=1046544
Chaython commented 2 years ago

Portable apps, in general can't be run in the sandbox, because the sandbox virtualizes files, but the portable app wrapper also does the same hooks.

NewKidOnTheBlock commented 2 years ago

Chrome Portable and Brave Portable work just fine in Sandboxie. I've been using them for years that way. Since 5.55.7 I just can't update them anymore.

isaak654 commented 2 years ago
Chaython commented 2 years ago

Chrome and Brave Portable work just fine in Sandboxie. I've been using them for years that way. Since 5.55.7 I just can't update them anymore. Both portapps brave portable and a photoshop portable[using spoon] give errors, when running hardened. Installing brave to the sandbox, or running, brave unwrapped [.\app\brave.exe] however works fine. The photoshop wrapped doesn't work as it's a Virtual Machine itself.

NewKidOnTheBlock commented 2 years ago

I did revert all the way back to 5.53.3. It also occurred there. I've only got Windows Defender running.

The only big change I made was encrypting the drive with bitlocker. Maybe a logfile helps? Error 183 seems to be coming from Windows itself.

mpheath commented 2 years ago
install.log snipped of some file install entries: ``` 2022-01-25 21:15:03.615 Log opened. (Time zone: UTC+10:00) 2022-01-25 21:15:03.615 Setup version: Inno Setup version 6.0.3 (u) 2022-01-25 21:15:03.615 Original Setup EXE: C:\Users\Michael\Desktop\brave-portable-win64-1.34.80-80-setup.exe 2022-01-25 21:15:03.615 Setup command line: /SL5="$17022C,101206293,1127424,C:\Users\Michael\Desktop\brave-portable-win64-1.34.80-80-setup.exe" /log="C:\Users\Michael\Desktop\install.log" 2022-01-25 21:15:03.615 Windows version: 6.1.7601 SP1 (NT platform: Yes) 2022-01-25 21:15:03.615 64-bit Windows: Yes 2022-01-25 21:15:03.615 Processor architecture: x64 2022-01-25 21:15:03.615 User privileges: None 2022-01-25 21:15:03.631 Administrative install mode: No 2022-01-25 21:15:03.631 Install mode root key: HKEY_CURRENT_USER 2022-01-25 21:15:03.631 64-bit install mode: No 2022-01-25 21:15:03.631 Created temporary directory: C:\Users\Michael\AppData\Local\Temp\is-EEP54.tmp 2022-01-25 21:15:11.396 Message box (Yes/No): The folder: C:\portapps\brave-portable already exists. Would you like to install to that folder anyway? 2022-01-25 21:15:16.927 User chose Yes. 2022-01-25 21:15:19.146 Calling RestartManager's RmGetList. 2022-01-25 21:15:19.146 RmGetList finished successfully. 2022-01-25 21:15:19.146 RestartManager found an application using one of our files: Ȉ햐Ȃ怰Ȃ纀ȁ徨ȂȈ횀Ȃ훸Ȃ悸Ȃ窀ȁ흰Ȃ慀ȂЀȁ 2022-01-25 21:15:19.146 RestartManager found an application using one of our files: 2022-01-25 21:15:19.146 RestartManager found an application using one of our files: 2022-01-25 21:15:19.146 RestartManager found an application using one of our files: 2022-01-25 21:15:19.146 RestartManager found an application using one of our files: 2022-01-25 21:15:19.146 Can use RestartManager to avoid reboot? No (1984050589: Permission Denied+Critical Process+Critical Service+Detected Self+Unknown Reason(s) 1984050560) 2022-01-25 21:15:19.146 Starting the installation process. ... 2022-01-25 21:15:19.396 -- File entry -- 2022-01-25 21:15:19.396 Dest filename: C:\portapps\brave-portable\app\brave.exe 2022-01-25 21:15:19.396 Time stamp of our file: 2022-01-06 10:32:48.000 2022-01-25 21:15:19.396 Installing the file. 2022-01-25 21:15:19.396 Creating directory: C:\portapps\brave-portable\app 2022-01-25 21:15:19.396 Message box (Abort/Retry/Ignore): C:\portapps\brave-portable\app\brave.exe An error occurred while trying to create a file in the destination directory: Setup was unable to create the directory "C:\portapps\brave-portable\app". Error 183: Cannot create a file when that file already exists. ... ```

It looks suspicious with Ȉ햐Ȃ怰Ȃ纀ȁ徨ȂȈ횀Ȃ훸Ȃ悸Ȃ窀ȁ흰Ȃ and then RestartManager complaining about a critical process in the install.log. Same version as OP, Sandboxie Classic x64 5.55.8.

Sandboxie did complain about a copy limit during install so it was increased to CopyLimitKb=170276 as chrome.dll is 166MB in size. Though no mention of chrome.dll in the log and it does not exist in the sandbox.

Tried a 2nd install with similar results though got y햐s怰s纀r徨sy횀s훸s悸s窀r흰s慀sЀr and again with critical process complaints from RestartManager. I cannot confirm if bad behaviour from the installer itself.

Since I am not using bitlocker, that cannot be the cause of the issue.

NewKidOnTheBlock commented 2 years ago

I've sent the file to VirusTotal: https://www.virustotal.com/gui/file-analysis/ZDA5NWY0NWE3ZjI1M2UwMDQ1OWJkNGRjOTBjZTZhOGY6MTY0MzE4MjA4MQ==

I've also created a log with Sandboxie's Resource Access Monitor: (Drive) \Device\HarddiskVolume10; PID: 10776 (Drive) \Device\HarddiskVolume10; PID: 11052 (Drive) \Device\HarddiskVolume10; PID: 5412 (Drive) \Device\HarddiskVolume10; PID: 7164 (Drive) \Device\HarddiskVolume10; PID: 7896 (Drive) \Device\HarddiskVolume4; PID: 10776 (Drive) \Device\HarddiskVolume4; PID: 11052 (Drive) \Device\HarddiskVolume4; PID: 5412 (Drive) \Device\HarddiskVolume4; PID: 7164 (Drive) \Device\HarddiskVolume4; PID: 7896 (Drive) \Device\HarddiskVolume6; PID: 10776 (Drive) \Device\HarddiskVolume6; PID: 11052 (Drive) \Device\HarddiskVolume6; PID: 5412 (Drive) \Device\HarddiskVolume6; PID: 7164 (Drive) \Device\HarddiskVolume6; PID: 7896 (Drive) \Device\HarddiskVolume8; PID: 10776 (Drive) \Device\HarddiskVolume8; PID: 11052 (Drive) \Device\HarddiskVolume8; PID: 5412 (Drive) \Device\HarddiskVolume8; PID: 7164 (Drive) \Device\HarddiskVolume8; PID: 7896 Clsid ------------------------------- Clsid X {C2F03A33-21F5-47FA-B4BB-156362A2F239} Immersive Shell; PID: 5412 File ------------------------------- Image ------------------------------- Ipc ------------------------------- Ipc \BaseNamedObjects\__ComCatalogCache__; PID: 10776 Ipc \BaseNamedObjects\__ComCatalogCache__; PID: 11052 Ipc \BaseNamedObjects\__ComCatalogCache__; PID: 5412 Ipc \BaseNamedObjects\__ComCatalogCache__; PID: 7896 Ipc \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db; PID: 5412 Ipc \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db; PID: 5412 Ipc \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*cversions.2.ro; PID: 5412 Ipc \BaseNamedObjects\SC_AutoStartComplete; PID: 11052 Ipc \BaseNamedObjects\windows_shell_global_counters; PID: 10776 Ipc \BaseNamedObjects\windows_shell_global_counters; PID: 5412 Ipc \RPC Control\actkernel; PID: 11052 Ipc \RPC Control\actkernel; PID: 7896 Ipc \RPC Control\epmapper; PID: 10776 Ipc \RPC Control\epmapper; PID: 11052 Ipc \RPC Control\epmapper; PID: 5412 Ipc \RPC Control\epmapper; PID: 7164 Ipc \RPC Control\epmapper; PID: 7896 Ipc \RPC Control\OLE26B887D9A4F42FBF2CBBA0ED1C8A; PID: 5412 Ipc \RPC Control\OLE44F8E7252DDCA410D025D4DECF7C; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\__ComCatalogCache__; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\__ComCatalogCache__; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\__ComCatalogCache__; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\__ComCatalogCache__; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\{A3BD3259-3E4F-428a-84C8-F0463A9D3EB5}; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\{A64C7F33-DA35-459b-96CA-63B51FB0CDB9}; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*cversions.2.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*Users*******AppData*Local*Microsoft*Windows*Caches*{3DA71D5A-20CC-432F-A115-DFE92379E91F}.3.ver0x0000000000000480.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*Users*******AppData*Local*Microsoft*Windows*Caches*{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x000000000000014d.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*Users*******AppData*Local*Microsoft*Windows*Caches*cversions.1.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\C:*Users*******AppData*Local*Microsoft*Windows*Caches*cversions.3.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\ComPlusCOMRegTable; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Global\__ComCatalogCache__; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Global\{A3BD3259-3E4F-428a-84C8-F0463A9D3EB5}; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Global\{A64C7F33-DA35-459b-96CA-63B51FB0CDB9}; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Global\C:*ProgramData*Microsoft*Windows*Caches*{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Global\C:*ProgramData*Microsoft*Windows*Caches*{DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Global\C:*ProgramData*Microsoft*Windows*Caches*cversions.2.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Global\ComPlusCOMRegTable; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Global\RotHintTable; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Global\SC_AutoStartComplete; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Global\SyncRootManager; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Global\SyncRootManager; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\C:*Users*******AppData*Local*Microsoft*Windows*Caches*{3DA71D5A-20CC-432F-A115-DFE92379E91F}.3.ver0x0000000000000480.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\C:*Users*******AppData*Local*Microsoft*Windows*Caches*{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x000000000000014d.db; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\C:*Users*******AppData*Local*Microsoft*Windows*Caches*cversions.1.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\C:*Users*******AppData*Local*Microsoft*Windows*Caches*cversions.3.ro; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\RstrMgr3887CAB8-533F-4C85-B0DC-3E5639F8D511; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\RstrMgr-3887CAB8-533F-4C85-B0DC-3E5639F8D511-Session0000; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:10776:168:WilStaging_02; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:10776:168:WilStaging_02_p0; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:10776:64:WilError_03; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:10776:64:WilError_03_p0; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:120:WilError_03; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:120:WilError_03_p0; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:120:WilError_03_p0h; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:304:WilStaging_02; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:304:WilStaging_02_p0; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:11052:304:WilStaging_02_p0h; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:120:WilError_03; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:120:WilError_03_p0; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:120:WilError_03_p0h; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:304:WilStaging_02; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:304:WilStaging_02_p0; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:5412:304:WilStaging_02_p0h; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7164:168:WilStaging_02; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7164:168:WilStaging_02_p0; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7164:64:WilError_03; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7164:64:WilError_03_p0; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:120:WilError_03; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:120:WilError_03_p0; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:120:WilError_03_p0h; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:304:WilStaging_02; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:304:WilStaging_02_p0; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\Local\SM0:7896:304:WilStaging_02_p0h; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\RotHintTable; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\RstrMgr3887CAB8-533F-4C85-B0DC-3E5639F8D511; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\RstrMgr-3887CAB8-533F-4C85-B0DC-3E5639F8D511-Session0000; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_10776; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_11052; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_5412; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_7164; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_7896; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_RPCSS_SXS_READY; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_RPCSS_SXS_READY; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_Mutex1; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcEptMapper; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SboxSession; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SboxSession; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SboxSession; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SboxSession; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SboxSession; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SC_AutoStartComplete; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\ScmCreatedEvent; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:10776:168:WilStaging_02; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SM0:10776:168:WilStaging_02_p0; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SM0:10776:64:WilError_03; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SM0:10776:64:WilError_03_p0; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:120:WilError_03; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:120:WilError_03_p0; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:120:WilError_03_p0h; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:304:WilStaging_02; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:304:WilStaging_02_p0; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:11052:304:WilStaging_02_p0h; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:120:WilError_03; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:120:WilError_03_p0; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:120:WilError_03_p0h; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:304:WilStaging_02; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:304:WilStaging_02_p0; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:5412:304:WilStaging_02_p0h; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\SM0:7164:168:WilStaging_02; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SM0:7164:168:WilStaging_02_p0; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SM0:7164:64:WilError_03; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SM0:7164:64:WilError_03_p0; PID: 7164 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:120:WilError_03; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:120:WilError_03_p0; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:120:WilError_03_p0h; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:304:WilStaging_02; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:304:WilStaging_02_p0; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SM0:7896:304:WilStaging_02_p0h; PID: 7896 Ipc \Sessions\1\BaseNamedObjects\SyncRootManager; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\SyncRootManager; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\windows_shell_global_counters; PID: 10776 Ipc \Sessions\1\BaseNamedObjects\windows_shell_global_counters; PID: 11052 Ipc \Sessions\1\BaseNamedObjects\windows_shell_global_counters; PID: 5412 Ipc \Sessions\1\BaseNamedObjects\windows_shell_global_counters; PID: 7164 Ipc O \BaseNamedObjects\[CoreUI]-PID(10776)-TID(3148) 6d830fc6-2364-44f0-8a21-eac6aa473c10; PID: 10776 Ipc O \BaseNamedObjects\[CoreUI]-PID(3836)-TID(4032) 20cb4fa4-8743-410b-932c-52606f20cf2a; PID: 10776 Ipc O \BaseNamedObjects\CoreMessagingRegistrar; PID: 10776 Ipc O \BaseNamedObjects\msctf.serverDefault1; PID: 10776 Ipc O \KernelObjects\MaximumCommitCondition; PID: 10776 Ipc O \KernelObjects\MaximumCommitCondition; PID: 11052 Ipc O \KernelObjects\MaximumCommitCondition; PID: 5412 Ipc O \KernelObjects\MaximumCommitCondition; PID: 7896 Ipc O \KnownDlls\advapi32.dll; PID: 11052 Ipc O \KnownDlls\advapi32.dll; PID: 5412 Ipc O \KnownDlls\advapi32.dll; PID: 7896 Ipc O \KnownDlls\bcrypt.dll; PID: 11052 Ipc O \KnownDlls\bcrypt.dll; PID: 5412 Ipc O \KnownDlls\bcrypt.dll; PID: 7896 Ipc O \KnownDlls\bcryptPrimitives.dll; PID: 11052 Ipc O \KnownDlls\bcryptPrimitives.dll; PID: 5412 Ipc O \KnownDlls\bcryptPrimitives.dll; PID: 7896 Ipc O \KnownDlls\cfgmgr32.dll; PID: 5412 Ipc O \KnownDlls\clbcatq.dll; PID: 11052 Ipc O \KnownDlls\clbcatq.dll; PID: 5412 Ipc O \KnownDlls\clbcatq.dll; PID: 7896 Ipc O \KnownDlls\combase.dll; PID: 11052 Ipc O \KnownDlls\combase.dll; PID: 5412 Ipc O \KnownDlls\combase.dll; PID: 7896 Ipc O \KnownDlls\COMDLG32.dll; PID: 5412 Ipc O \KnownDlls\gdi32.dll; PID: 11052 Ipc O \KnownDlls\gdi32.dll; PID: 5412 Ipc O \KnownDlls\gdi32.dll; PID: 7896 Ipc O \KnownDlls\gdi32full.dll; PID: 11052 Ipc O \KnownDlls\gdi32full.dll; PID: 5412 Ipc O \KnownDlls\gdi32full.dll; PID: 7896 Ipc O \KnownDlls\IMM32.dll; PID: 11052 Ipc O \KnownDlls\IMM32.dll; PID: 5412 Ipc O \KnownDlls\IMM32.dll; PID: 7896 Ipc O \KnownDlls\kernel32.dll; PID: 10776 Ipc O \KnownDlls\kernel32.dll; PID: 11052 Ipc O \KnownDlls\kernel32.dll; PID: 5412 Ipc O \KnownDlls\kernel32.dll; PID: 7164 Ipc O \KnownDlls\kernel32.dll; PID: 7896 Ipc O \KnownDlls\kernelbase.dll; PID: 11052 Ipc O \KnownDlls\kernelbase.dll; PID: 5412 Ipc O \KnownDlls\kernelbase.dll; PID: 7896 Ipc O \KnownDlls\MSCTF.dll; PID: 11052 Ipc O \KnownDlls\msvcp_win.dll; PID: 11052 Ipc O \KnownDlls\msvcp_win.dll; PID: 5412 Ipc O \KnownDlls\msvcp_win.dll; PID: 7896 Ipc O \KnownDlls\MSVCRT.dll; PID: 11052 Ipc O \KnownDlls\MSVCRT.dll; PID: 5412 Ipc O \KnownDlls\MSVCRT.dll; PID: 7896 Ipc O \KnownDlls\ole32.dll; PID: 11052 Ipc O \KnownDlls\ole32.dll; PID: 5412 Ipc O \KnownDlls\OLEAUT32.dll; PID: 11052 Ipc O \KnownDlls\OLEAUT32.dll; PID: 5412 Ipc O \KnownDlls\OLEAUT32.dll; PID: 7896 Ipc O \KnownDlls\PSAPI.DLL; PID: 11052 Ipc O \KnownDlls\PSAPI.DLL; PID: 5412 Ipc O \KnownDlls\PSAPI.DLL; PID: 7896 Ipc O \KnownDlls\rpcrt4.dll; PID: 11052 Ipc O \KnownDlls\rpcrt4.dll; PID: 5412 Ipc O \KnownDlls\rpcrt4.dll; PID: 7896 Ipc O \KnownDlls\sechost.dll; PID: 11052 Ipc O \KnownDlls\sechost.dll; PID: 5412 Ipc O \KnownDlls\sechost.dll; PID: 7896 Ipc O \KnownDlls\SHCORE.dll; PID: 11052 Ipc O \KnownDlls\SHCORE.dll; PID: 5412 Ipc O \KnownDlls\SHELL32.dll; PID: 11052 Ipc O \KnownDlls\SHELL32.dll; PID: 5412 Ipc O \KnownDlls\SHLWAPI.dll; PID: 11052 Ipc O \KnownDlls\SHLWAPI.dll; PID: 5412 Ipc O \KnownDlls\ucrtbase.dll; PID: 11052 Ipc O \KnownDlls\ucrtbase.dll; PID: 5412 Ipc O \KnownDlls\ucrtbase.dll; PID: 7896 Ipc O \KnownDlls\user32.dll; PID: 10776 Ipc O \KnownDlls\user32.dll; PID: 11052 Ipc O \KnownDlls\user32.dll; PID: 5412 Ipc O \KnownDlls\user32.dll; PID: 7164 Ipc O \KnownDlls\user32.dll; PID: 7896 Ipc O \KnownDlls\win32u.dll; PID: 11052 Ipc O \KnownDlls\win32u.dll; PID: 5412 Ipc O \KnownDlls\win32u.dll; PID: 7896 Ipc O \KnownDlls\wow64.dll; PID: 10776 Ipc O \KnownDlls\wow64.dll; PID: 7164 Ipc O \KnownDlls\wow64cpu.dll; PID: 10776 Ipc O \KnownDlls\wow64cpu.dll; PID: 7164 Ipc O \KnownDlls\wow64win.dll; PID: 10776 Ipc O \KnownDlls\wow64win.dll; PID: 7164 Ipc O \KnownDlls\WS2_32.dll; PID: 11052 Ipc O \KnownDlls32\advapi32.dll; PID: 10776 Ipc O \KnownDlls32\advapi32.dll; PID: 7164 Ipc O \KnownDlls32\bcrypt.dll; PID: 10776 Ipc O \KnownDlls32\bcryptPrimitives.dll; PID: 10776 Ipc O \KnownDlls32\cfgmgr32.dll; PID: 10776 Ipc O \KnownDlls32\clbcatq.dll; PID: 10776 Ipc O \KnownDlls32\combase.dll; PID: 10776 Ipc O \KnownDlls32\combase.dll; PID: 7164 Ipc O \KnownDlls32\COMDLG32.dll; PID: 10776 Ipc O \KnownDlls32\gdi32.dll; PID: 10776 Ipc O \KnownDlls32\gdi32.dll; PID: 7164 Ipc O \KnownDlls32\gdi32full.dll; PID: 10776 Ipc O \KnownDlls32\gdi32full.dll; PID: 7164 Ipc O \KnownDlls32\IMM32.dll; PID: 10776 Ipc O \KnownDlls32\IMM32.dll; PID: 7164 Ipc O \KnownDlls32\kernel32.dll; PID: 10776 Ipc O \KnownDlls32\kernel32.dll; PID: 7164 Ipc O \KnownDlls32\kernelbase.dll; PID: 10776 Ipc O \KnownDlls32\kernelbase.dll; PID: 7164 Ipc O \KnownDlls32\MSCTF.dll; PID: 10776 Ipc O \KnownDlls32\MSCTF.dll; PID: 7164 Ipc O \KnownDlls32\msvcp_win.dll; PID: 10776 Ipc O \KnownDlls32\msvcp_win.dll; PID: 7164 Ipc O \KnownDlls32\MSVCRT.dll; PID: 10776 Ipc O \KnownDlls32\MSVCRT.dll; PID: 7164 Ipc O \KnownDlls32\ole32.dll; PID: 10776 Ipc O \KnownDlls32\ole32.dll; PID: 7164 Ipc O \KnownDlls32\OLEAUT32.dll; PID: 10776 Ipc O \KnownDlls32\OLEAUT32.dll; PID: 7164 Ipc O \KnownDlls32\PSAPI.DLL; PID: 10776 Ipc O \KnownDlls32\PSAPI.DLL; PID: 7164 Ipc O \KnownDlls32\rpcrt4.dll; PID: 10776 Ipc O \KnownDlls32\rpcrt4.dll; PID: 7164 Ipc O \KnownDlls32\sechost.dll; PID: 10776 Ipc O \KnownDlls32\sechost.dll; PID: 7164 Ipc O \KnownDlls32\SHCORE.dll; PID: 10776 Ipc O \KnownDlls32\SHCORE.dll; PID: 7164 Ipc O \KnownDlls32\SHELL32.dll; PID: 10776 Ipc O \KnownDlls32\SHELL32.dll; PID: 7164 Ipc O \KnownDlls32\SHLWAPI.dll; PID: 10776 Ipc O \KnownDlls32\SHLWAPI.dll; PID: 7164 Ipc O \KnownDlls32\ucrtbase.dll; PID: 10776 Ipc O \KnownDlls32\ucrtbase.dll; PID: 7164 Ipc O \KnownDlls32\user32.dll; PID: 10776 Ipc O \KnownDlls32\user32.dll; PID: 7164 Ipc O \KnownDlls32\win32u.dll; PID: 10776 Ipc O \KnownDlls32\win32u.dll; PID: 7164 Ipc O \KnownDlls32\WS2_32.dll; PID: 10776 Ipc O \RPC Control\lsapolicylookup; PID: 10776 Ipc O \RPC Control\lsapolicylookup; PID: 11052 Ipc O \RPC Control\lsapolicylookup; PID: 5412 Ipc O \RPC Control\lsapolicylookup; PID: 7896 Ipc O \RPC Control\lsasspirpc; PID: 10776 Ipc O \RPC Control\lsasspirpc; PID: 11052 Ipc O \RPC Control\lsasspirpc; PID: 5412 Ipc O \RPC Control\lsasspirpc; PID: 7896 Ipc O \RPC Control\SbieSvcPort; PID: 10776 Ipc O \RPC Control\SbieSvcPort; PID: 11052 Ipc O \RPC Control\SbieSvcPort; PID: 5412 Ipc O \RPC Control\SbieSvcPort; PID: 7164 Ipc O \RPC Control\SbieSvcPort; PID: 7896 Ipc O \Security\LSA_AUTHENTICATION_INITIALIZED; PID: 10776 Ipc O \Security\LSA_AUTHENTICATION_INITIALIZED; PID: 11052 Ipc O \Security\LSA_AUTHENTICATION_INITIALIZED; PID: 5412 Ipc O \Security\LSA_AUTHENTICATION_INITIALIZED; PID: 7896 Ipc O \Sessions\1\BaseNamedObjects\CicLoadWinStaWinSta0; PID: 10776 Ipc O \Sessions\1\BaseNamedObjects\CTF.AsmListCache.FMPDefault1; PID: 10776 Ipc O \Sessions\1\BaseNamedObjects\MSCTF.Asm.MutexDefault1; PID: 10776 Ipc O \Sessions\1\BaseNamedObjects\MSCTF.CtfMonitorInstMutexDefault1; PID: 10776 Ipc O \Sessions\1\Windows\ApiPort; PID: 10776 Ipc O \Sessions\1\Windows\ApiPort; PID: 11052 Ipc O \Sessions\1\Windows\ApiPort; PID: 5412 Ipc O \Sessions\1\Windows\ApiPort; PID: 7164 Ipc O \Sessions\1\Windows\ApiPort; PID: 7896 Ipc O \Sessions\1\Windows\DwmApiPort; PID: 10776 Ipc O \Sessions\1\Windows\SharedSection; PID: 10776 Ipc O \Sessions\1\Windows\SharedSection; PID: 11052 Ipc O \Sessions\1\Windows\SharedSection; PID: 5412 Ipc O \Sessions\1\Windows\SharedSection; PID: 7164 Ipc O \Sessions\1\Windows\SharedSection; PID: 7896 Ipc O \Sessions\1\Windows\Theme3631401777; PID: 10776 Ipc O \Sessions\1\Windows\Theme3631401777; PID: 11052 Ipc O \Sessions\1\Windows\Theme3631401777; PID: 7164 Ipc O \Sessions\1\Windows\ThemeSection; PID: 10776 Ipc O \Sessions\1\Windows\ThemeSection; PID: 11052 Ipc O \Sessions\1\Windows\ThemeSection; PID: 7164 Ipc O \ThemeApiPort; PID: 10776 Ipc O \ThemeApiPort; PID: 11052 Ipc O \ThemeApiPort; PID: 5412 Ipc O \ThemeApiPort; PID: 7164 Ipc O \Windows\Theme3277313056; PID: 10776 Ipc O \Windows\Theme3277313056; PID: 11052 Ipc O \Windows\Theme3277313056; PID: 7164 Key ------------------------------- Other CreateProcess: [noName] ("D:\Sandbox\Default\user\current\AppData\Local\Temp\is-3N4IR.tmp\brave-portable-win64-1.34.80-80-setup.tmp" /SL5="$4F079E,101206293,1127424,C:\brave-portable-win64-1.34.80-80-setup.exe" ); err=0; PID: 7164 Other CreateProcess: C:\Software\Sandboxie\SandboxieDcomLaunch.exe ("C:\Software\Sandboxie\SandboxieDcomLaunch.exe"); err=0; PID: 11052 Other CreateProcess: C:\brave-portable-win64-1.34.80-80-setup.exe ("C:\brave-portable-win64-1.34.80-80-setup.exe" ); err=0; PID: 5412 Other Windows.Foundation.PropertyValue; PID: 5412 Other Windows.Globalization.Language; PID: 10776 Other Windows.Internal.StateRepository.FileTypeAssociation; PID: 10776 Other Windows.Internal.StateRepository.FileTypeAssociation; PID: 5412 Other Windows.UI.Core.CoreWindow; PID: 10776 Pipe ------------------------------- Pipe \Device\CNG; PID: 10776 Pipe \Device\CNG; PID: 11052 Pipe \Device\CNG; PID: 5412 Pipe \Device\CNG; PID: 7896 Pipe \Device\DeviceApi; PID: 10776 Pipe \Device\DeviceApi; PID: 5412 Pipe \Device\HarddiskVolume1; PID: 10776 Pipe \Device\HarddiskVolume1; PID: 5412 Pipe \Device\HarddiskVolume10; PID: 10776 Pipe \Device\HarddiskVolume10; PID: 5412 Pipe \Device\HarddiskVolume2; PID: 10776 Pipe \Device\HarddiskVolume2; PID: 5412 Pipe \Device\HarddiskVolume4; PID: 10776 Pipe \Device\HarddiskVolume4; PID: 5412 Pipe \Device\HarddiskVolume6; PID: 10776 Pipe \Device\HarddiskVolume6; PID: 5412 Pipe \Device\HarddiskVolume8; PID: 10776 Pipe \Device\HarddiskVolume8; PID: 5412 Pipe \Device\KsecDD; PID: 10776 Pipe \Device\KsecDD; PID: 11052 Pipe \Device\KsecDD; PID: 5412 Pipe \Device\KsecDD; PID: 7896 Pipe \Device\MountPointManager; PID: 10776 Pipe \Device\MountPointManager; PID: 5412 Pipe \Device\Ndis; PID: 11052 Pipe \Device\NDMP1; PID: 11052 Pipe \Device\NDMP2; PID: 11052 Pipe \Device\NDMP3; PID: 11052 Pipe \Device\NDMP4; PID: 11052 Pipe \Device\NDMP5; PID: 11052 Pipe \Device\NDMP6; PID: 11052 Pipe \Device\NDMP7; PID: 11052 Pipe \Device\NDMP8; PID: 11052 Pipe \Device\NDMP9; PID: 11052 WinCls ------------------------------- WinCls Address Band Root; PID: 10776 WinCls Auto-Suggest Dropdown; PID: 10776 WinCls BaseBar; PID: 10776 WinCls Breadcrumb Parent; PID: 10776 WinCls CabinetWClass; PID: 10776 WinCls CtrlNotifySink; PID: 10776 WinCls DirectUIHWND; PID: 10776 WinCls DropDown; PID: 10776 WinCls ListviewPopup; PID: 10776 WinCls MenuSite; PID: 10776 WinCls NamespaceTreeControl; PID: 10776 WinCls OCHost; PID: 10776 WinCls RICHEDIT50W; PID: 10776 WinCls Sandboxie_DDE_ProxyClass1; PID: 11052 WinCls Search Box; PID: 10776 WinCls Search Control; PID: 10776 WinCls SearchEditBoxWrapperClass; PID: 10776 WinCls SeparatorBand; PID: 10776 WinCls SHBrowseForFolder ShellNameSpace Control; PID: 10776 WinCls ShellTabWindowClass; PID: 10776 WinCls TApplication; PID: 10776 WinCls TEdit; PID: 10776 WinCls TheaterBand; PID: 10776 WinCls TMainForm; PID: 10776 WinCls TNewButton; PID: 10776 WinCls TNewCheckListBox; PID: 10776 WinCls TNewComboBox; PID: 10776 WinCls TNewMemo; PID: 10776 WinCls TNewNotebook; PID: 10776 WinCls TNewNotebookPage; PID: 10776 WinCls TNewProgressBar; PID: 10776 WinCls TNewStaticText; PID: 10776 WinCls TPanel; PID: 10776 WinCls TPUtilWindow; PID: 10776 WinCls TRadioButton; PID: 10776 WinCls TravelBand; PID: 10776 WinCls TreeviewToolTipClass; PID: 10776 WinCls TreeviewToolTipClass; PID: 7164 WinCls TRichEditViewer; PID: 10776 WinCls TWizardForm; PID: 10776 WinCls UniversalSearchBand; PID: 10776 WinCls UpBand; PID: 10776 WinCls UserAdapterWindowClass; PID: 10776 WinCls O Shell_TrayWnd; PID: 10776 WinCls O Shell_TrayWnd; PID: 11052 WinCls O Shell_TrayWnd; PID: 7164
mpheath commented 2 years ago

It is the InstallDelete section of the setup that causes the error.

If these entries are commented, then the install will finish normally. I tried with check parameters using msgboxes, select Yes each time and setup fails. Select No each time and setup succeeds.

Inno Setup is possibly finding the external files and dirs after removal and then throws an error.

Nothing very special happening with this install so would expect any Inno Setup install to fail with an InstallDelete section.