<div dir="ltr">It seems that you need to set:<div><br>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><font color="#000000"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">$ProgressPreference</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"> </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures">=</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"> </span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures">'SilentlyContinue'</span></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><font color="#000000"><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">to prevent the progress bar from showing.</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">HTH,</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">Dafydd</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(47,231,26)"><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)"><br></span></p></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 4 Feb 2026 at 17:45, Marco Gaiarin <<a href="mailto:gaio@lilliput.linux.it">gaio@lilliput.linux.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Mandi! Andreas Habel<br>
  In chel di` si favelave...<br>
<br>
> There are different approaches to solve this - the easiest would be this PowerShell command:<br>
>       Get-Package -Name "<application name>" | Uninstall-Package<br>
<br>
Exactly what i've found.<br>
<br>
<br>
> However, the command shows a progress bar when run in a command line window, something that WPKG does not like, and I was not able to find a way to suppress the output.<br>
<br>
True that even with an '| Out-Null' at the end the progress bar get<br>
displayed, but i've not trouble with this... seems to work, at least with<br>
MSI, as expected...<br>
<br>
<br>
> What I am doing now for all MSI packages is the following:<br>
> - In my WPKG package xml file, I call a PowerShell script:<br>
>       '%COMSPEC% /C powershell.exe %WINDIR%\uis\temp\uis-uninstall.ps1 -appname "&apos;%PROGNAME%&apos;"'<br>
<br>
Normally i run powershell without the '%COMSPEC% /C', eg without running<br>
them on a CMD shell jail...<br>
<br>
> - In the PowerShell script, I run:<br>
>       $uninstallData=Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | Get-ItemProperty | Where-Object { $_.DisplayName -match "$appname" } | Select-Object -Property UninstallString<br>
>       with $appname being the option -appname you called the script with<br>
> - $uninstallData has the property UninstallString that contains whatever is in the registry under UninstallString<br>
> - Since the UninstallString value in the registry often contains an install string (MsiExec /I instead of MsiExec /X), you will need to extract the GUID<br>
> - In the next step, you can uninstall like this:<br>
>       $Arguments = @(<br>
>         "/X"<br>
>         "$guid"<br>
>         "/qn"<br>
>       )<br>
>       $MSIExec = (Start-Process -FilePath "C:\Windows\System32\msiexec.exe" -ArgumentList $Arguments -Wait -Passthru).ExitCode<br>
<br>
Seems complicated... anyway, thanks.<br>
<br>
-- <br>
<br>
---------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" rel="noreferrer" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/wpkg-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</blockquote></div>