mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00

Detect visual studio installation using the VSSetup module and Get-VSSetupInstance method. It works even in systems with the Constrained language mode of PowerShell.
136 lines
6.4 KiB
Text
136 lines
6.4 KiB
Text
{
|
|
"InstanceId": "621862c0",
|
|
"InstallationName": "VisualStudio/17.8.3+34330.188",
|
|
"InstallationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise",
|
|
"InstallationVersion": {
|
|
"Major": 17,
|
|
"Minor": 8,
|
|
"Build": 34330,
|
|
"Revision": 188,
|
|
"MajorRevision": 0,
|
|
"MinorRevision": 188
|
|
},
|
|
"InstallDate": "\/Date(1703254955000)\/",
|
|
"State": 4294967295,
|
|
"DisplayName": "Visual Studio Enterprise 2022",
|
|
"Description": "Scalable, end-to-end solution for teams of any size",
|
|
"ProductPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\IDE\\devenv.exe",
|
|
"Product": {
|
|
"Id": "Microsoft.VisualStudio.Product.Enterprise",
|
|
"Version": {
|
|
"Major": 17,
|
|
"Minor": 8,
|
|
"Build": 34330,
|
|
"Revision": 188,
|
|
"MajorRevision": 0,
|
|
"MinorRevision": 188
|
|
},
|
|
"Chip": "x64",
|
|
"Branch": null,
|
|
"Type": "Product",
|
|
"IsExtension": false,
|
|
"UniqueId": "Microsoft.VisualStudio.Product.Enterprise,version=17.8.34330.188,chip=x64"
|
|
},
|
|
"Packages": [
|
|
{
|
|
"Id": "Microsoft.VisualStudio.Product.Enterprise",
|
|
"Version": "17.8.34330.188",
|
|
"Chip": "x64",
|
|
"Branch": null,
|
|
"Type": "Product",
|
|
"IsExtension": false,
|
|
"UniqueId": "Microsoft.VisualStudio.Product.Enterprise,version=17.8.34330.188,chip=x64"
|
|
},
|
|
{
|
|
"Id": "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
|
|
"Version": "17.8.34129.139",
|
|
"Chip": null,
|
|
"Branch": null,
|
|
"Type": "Component",
|
|
"IsExtension": false,
|
|
"UniqueId": "Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=17.8.34129.139"
|
|
},
|
|
{
|
|
"Id": "Microsoft.VisualStudio.Component.Windows11SDK.22000",
|
|
"Version": "17.8.34129.139",
|
|
"Chip": null,
|
|
"Branch": null,
|
|
"Type": "Component",
|
|
"IsExtension": false,
|
|
"UniqueId": "Microsoft.VisualStudio.Component.Windows11SDK.22000,version=17.8.34129.139"
|
|
},
|
|
{
|
|
"Id": "Win11SDK_10.0.22000",
|
|
"Version": "10.0.22000.4",
|
|
"Chip": null,
|
|
"Branch": null,
|
|
"Type": "Exe",
|
|
"IsExtension": false,
|
|
"UniqueId": "Win11SDK_10.0.22000,version=10.0.22000.4"
|
|
},
|
|
{
|
|
"Id": "Microsoft.VisualStudio.Component.Windows10SDK.20348",
|
|
"Version": "17.8.34129.139",
|
|
"Chip": null,
|
|
"Branch": null,
|
|
"Type": "Component",
|
|
"IsExtension": false,
|
|
"UniqueId": "Microsoft.VisualStudio.Component.Windows10SDK.20348,version=17.8.34129.139"
|
|
},
|
|
{
|
|
"Id": "Win10SDK_10.0.20348",
|
|
"Version": "10.0.20348.3",
|
|
"Chip": null,
|
|
"Branch": null,
|
|
"Type": "Exe",
|
|
"IsExtension": false,
|
|
"UniqueId": "Win10SDK_10.0.20348,version=10.0.20348.3"
|
|
}
|
|
],
|
|
"Properties": [
|
|
{
|
|
"Key": "CampaignId",
|
|
"Value": ""
|
|
},
|
|
{
|
|
"Key": "SetupEngineFilePath",
|
|
"Value": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
|
|
},
|
|
{
|
|
"Key": "Nickname",
|
|
"Value": ""
|
|
},
|
|
{
|
|
"Key": "ChannelManifestId",
|
|
"Value": "VisualStudio.17.Release/17.8.3+34330.188"
|
|
}
|
|
],
|
|
"Errors": null,
|
|
"EnginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
|
|
"IsComplete": true,
|
|
"IsLaunchable": true,
|
|
"CatalogInfo": [
|
|
{
|
|
"Key": "Id",
|
|
"Value": "VisualStudio/17.8.3+34330.188"
|
|
},
|
|
{
|
|
"Key": "BuildBranch",
|
|
"Value": "d17.8"
|
|
},
|
|
{
|
|
"Key": "BuildVersion",
|
|
"Value": "17.8.34330.188"
|
|
}
|
|
],
|
|
"IsPrerelease": false,
|
|
"PSPath": "Microsoft.PowerShell.Core\\FileSystem::C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise",
|
|
"UpdateDate": "2023-12-22T14:22:35.1818213Z",
|
|
"ResolvedInstallationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise",
|
|
"ChannelId": "VisualStudio.17.Release",
|
|
"InstalledChannelId": "VisualStudio.17.Release",
|
|
"ChannelUri": "https://aka.ms/vs/17/release/channel",
|
|
"InstalledChannelUri": "https://aka.ms/vs/17/release/channel",
|
|
"ReleaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.8#17.8.3",
|
|
"ThirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288"
|
|
}
|