Repository navigation
Replies: 2 comments 6 replies
|
And what about a double check?
We can keep your mod implementation in case of specific action. But we probably need a generic action. I encounter this use case too with DotPaint.net |
In this example the need for extra checks comes from:
This is done because we don't want to end up with a multitude of different versions of Microsoft SQL Server Management Studio and in that process of uninstalling everything in beforehand it could end up as not installed alltogether (net drops etc...) So, as a fallback we trigger the SCCM agent to run a software update cycle so if it's not installed the agent will install the version from SCCM |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
If something fails and we are left with an uninstalled application despite all the possibilities via already existing mods (in a SCCM environment)...
In
Update-App.ps1just beforeWrite-ToLog "########## WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID '$($App.Id)' ##########" "Gray"we could have:In that way one could for example, in this case, in a
Microsoft.SQLServerManagementStudio-notinstalled.ps1delete a detection method and trigger SCCM to install the application anew:All reactions