-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
PowerShellIssues related to the WinTuner PowerShell moduleIssues related to the WinTuner PowerShell modulebugSomething isn't workingSomething isn't working
Description
CommandLet
New-WtWingetPackage
Full command
New-WtWingetPackage -PackageId Microsoft.VisualStudioCode -PackageFolder D:\Temp -installercontext User -version latest -PackageScript
Module version
1.3.2
What happened?
When using the parameter "-version latest", the winget install command is missing options in the install.ps1 and uninstall.ps1.
The install command with -version latest is:
$procOutput = & $(Get-WingetCmd) "install" "--id" "Microsoft.VisualStudioCode" "--exact"
The install command without using version is:
$procOutput = & $(Get-WingetCmd) "install" "--id" "Microsoft.VisualStudioCode" "--version" "1.104.2" "--source" "winget" "--silent" "--accept-package-agreements" "--accept-source-agreements" "--scope" "user"
The same applies for the created uninstall scripts.
Command output
PowerShell version
7.5.3
Code of Conduct
- I agree to follow this project's Code of Conduct
- I won't demand an immediate answer
Metadata
Metadata
Assignees
Labels
PowerShellIssues related to the WinTuner PowerShell moduleIssues related to the WinTuner PowerShell modulebugSomething isn't workingSomething isn't working