Unknown SQLite db file ? #5396
-
|
I fished this during a debug session winget (doesn't) in normal operation leave it in defaultState directory but deletes instantly running a command - so you wont notice since it lands in paging land normally. file is named "{090B3813-6FFB-4592-BAD3-E2F658C3F4A9}" - appears to be some (random?) uuid. What is this file used for in winget? update: only place I cross-referenced it with is microsoft/winget-cli/src/AppInstallerSharedLib/SQLiteStorageBase.cpp |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
I stand corrected, I found few references in https://github.com/microsoft/winget-cli/src/AppInstallerSharedLib/SQLiteStorageBase.cpp to ImmutableRead Database after gawking at the logs again. Is there any documentation about the AppInstallerSharedLib parts? |
Beta Was this translation helpful? Give feedback.
-
|
If you want to dig deeper, you can run your winget command with Off the top of my head I don't know for sure what that one database is or exactly what it contains, but in general we use SQLite databases to store and query information about installed and available packages. For example, when you update the We also create a (local, transient) database of all applications you have installed on your machine (from reading the ARP data in the registry) and use that to correlate with packages in the sources. So, for example, we create a table with the product codes of everything installed on your machine, and when you ask to install a package we query that table with the product code in the package's manifest to know if the application is installed. I'm guessing this is the db you're looking at. All the tables in that screenshot you shared are for correlating installed apps with winget packages. For example, I don't think there is any real documentation about either |
Beta Was this translation helpful? Give feedback.

Winget is not querying or pushing data to msstore in those log statements. In order to communicate with the Microsoft Store, WinGet has two built in certificates. These are considered the "pinned certificates" to ensure that communications received from the Microsoft Store are authentic. These certificates are always added to the certificate chain WinGet uses regardless of if there is any communication with the store or not. The first two log messages you’re seeing are just the loading of those certificates. The third line is just saying that because you removed the source (and it is a default source), it won’t be loaded.