Powertoys: [setup] Required changes to allow Chocolatey to use .exe installer

Created on 7 Aug 2020  路  5Comments  路  Source: microsoft/PowerToys

@mkevenaar
since we introduced the .exe installer we would like to figure out what would be needed to switch the Chocolatey package to use it instead of the .msi.
The .exe first checks if the requires .NET Core Desktop Runtime is present and if not it will install it. Then it runs the standard .msi.

If you use the .msi directly, it first installs PowerToys and then it checks if .NET Core is installed and in case it downloads and installs it.

The .exe is the more robust approach and we would like to remove the post install action in the .msi.
That will require Chocolatey to use the .exe or to require the .NET Core components as a pre-requisite.

Area-SetuInstall Resolution-Fix-Committed

Most helpful comment

This should be resolved in our 0.21.1 release of PowerToys. https://github.com/microsoft/PowerToys/releases/tag/v0.21.1 to download it.

All 5 comments

@enricogior I would like to suggest to setup a call using Teams / whatever to discuss.
Feel free to reach out to me on twitter on @mkevenaar to send me a DM or reach out to me on my blog (see my profile for a link).

@mkevenaar
as per our call, we will provide a flag to run the .exe in full silent mode, and a flag to skip the .NET Core Runtime check since we will add it as a dependency on the PowerToys package.

Any update to share on this issue?

@sildani next PowerToys installer release will have --silent and --skip_dotnet_install flags, as well as others.

This should be resolved in our 0.21.1 release of PowerToys. https://github.com/microsoft/PowerToys/releases/tag/v0.21.1 to download it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amorenew picture amorenew  路  3Comments

21cpDev picture 21cpDev  路  3Comments

Martin-Hausleitner picture Martin-Hausleitner  路  3Comments

smz picture smz  路  3Comments

enricogior picture enricogior  路  3Comments