microsoft / microsoft/winget-pkgs

[Package Issue]: DelineaConnectionManager

Open
#264,021 3 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
PR merge metrics
PR metrics pending

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.

### Category of the issue

Installation issue.

### Brief description of your issue

DelineaConnectionManager installer breaks existing installation, by marking two files for deletion on next reboot.

Issue detected on at least 3 computers, running Windows 11 23H2/24H2. We are running advanced antivirus with all file/registry operations logging, and can prove the above facts with exact timing.

### Steps to reproduce

* Run CM v2.6.0 all the time without closing.
* Winget detects newer version and updates to v2.6.1:

`06:00:18 - Updating Delinea Connection Manager from 2.6.0.21 to 2.6.1.6...
06:00:18 - ########## WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Delinea.DelineaConnectionManager' ##########
06:00:18 - -> Running: Winget upgrade --id Delinea.DelineaConnectionManager --accept-package-agreements --accept-source-agreements -h
Found Delinea Connection Manager [Delinea.DelineaConnectionManager] Version 2.6.1.6
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://downloads.cm.thycotic.com/Delinea.ConnectionManager.WindowsInstaller.msi
Successfully verified installer hash
Starting package install...
Restart your PC to finish installation.
06:01:04 - ########## WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'Delinea.DelineaConnectionManager' ##########
06:01:04 - Delinea Connection Manager updated to 2.6.1.6 !`

Also the installer adds these two files to "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations":
v8_context_snapshot.bin
icudtl.dat

* close CM and run it again, the new v2.6.1 runs fine without issues for a few weeks.
* restart Windows, the "PendingFileRenameOperations" mechanism deletes the two files, CM no longer works.

### Actual behavior

Files v8_context_snapshot.bin and icudtl.dat in folder "C:\Program Files\Delinea\Delinea Connection Manager" are deleted on reboot.

### Expected behavior

Files v8_context_snapshot.bin and icudtl.dat should not be deleted. If they are locked at the time of upgrade, they should be marked for renaming.

### Environment

```raw
Windows Package Manager v1.10.390
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.4061
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
```

### Screenshots and Logs

_No response_

Contributor guide

Open the contributing guide

Research direction

No repository file or test is identified. Start by reproducing the Delinea Connection Manager upgrade on the stated Windows and winget versions, then inspect the installer behavior involving PendingFileRenameOperations. Done means v8_context_snapshot.bin and icudtl.dat remain available after reboot.

Written by the indexing model from the issue text.

Assessment

Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.