microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.5k stars 4.39k forks source link

[Package Request]: Microsoft.SQLServer.Compact (4.0_SP1) #163711

Open amber-m-mvd opened 1 month ago

amber-m-mvd commented 1 month ago

How can we help?

I would like help so I can submit the manifest.

Please read and ensure the following

Please provide the following information

Download Page Url: https://www.microsoft.com/en-au/download/details.aspx?id=30709 Publisher: Microsoft Corporation Package Name: Microsoft® SQL Server® Compact 4.0 SP1 Description: Microsoft SQL Server Compact 4.0 is a free, embedded database that software developers can use for building ASP.NET websites and Windows desktop applications. SQL Server Compact 4.0 has a small footprint and supports private deployment of its binaries within the application folder, easy application development in Visual Studio and WebMatrix, and seamless migration of schema and data to SQL Server. Package Version: 4.0_SP1 Installer URL: https://download.microsoft.com/download/F/F/D/FFDF76E3-9E55-41DA-A750-1798B971936C/ENU/SSCERuntime_x64-ENU.exe

Resolves dependency issue in pull request https://github.com/microsoft/winget-pkgs/pull/163651 & https://github.com/microsoft/winget-pkgs/pull/163640 Related issues: #163567 & #163568

amber-m-mvd commented 1 month ago

Hi @stephengillie ,

Didn't know it but after checking, it is indeed a nested installer. image

Is it possible to treat an EXE as a ZIP in winget?

stephengillie commented 1 month ago

Hi @amber-m-mvd,

Yes, I believe it's possible to use the InstallerType of zip for an InstallerUrl ending in .exe. To accompany this, our manifest schema has details for specifying NestedInstallerType, and under NestedInstallerFiles, both the RelativeFilePath to the nested installer (from the root of the extracted files) and optional PortableCommandAlias.

amber-m-mvd commented 1 month ago

Hi @amber-m-mvd,

Yes, I believe it's possible to use the InstallerType of zip for an InstallerUrl ending in .exe. To accompany this, our manifest schema has details for specifying NestedInstallerType, and under NestedInstallerFiles, both the RelativeFilePath to the nested installer (from the root of the extracted files) and optional PortableCommandAlias.

That's great!

Dragon1573 commented 1 month ago

[!NOTE]

Should be closed as "not planned", see https://github.com/microsoft/winget-pkgs/pull/163798#issuecomment-2250333202.

Yes, I believe it's possible to use the InstallerType of zip for an InstallerUrl ending in .exe.

Already tested, winget.exe unable to extract archives from the *.exe file. 😞