[wpkg-users] Remove Windows Apps

Andrew Smith asmith at mapaction.org
Wed Apr 25 15:03:17 CEST 2018


Hi Ronnie,

>> <install cmd='powershell -noninteractive Get-AppxPackage -allusers
>> *windowsalarms* | Remove-AppxPackage' />

Are you sure that the pipe isn't been interpreted by the underlying
cmd.exe process and is being seen by powershell when called from
within a wpkg package? One alternative might be to put the command in
a powershell script and call that from within your package - eg:

<install cmd='PowerShell.exe -ExecutionPolicy Bypass -File
%software%\remove-windows-alarms.ps1' />

(There might be cleaner ways of achieving this).
I hope that helps,
Andy Smith


On Wed, Apr 25, 2018 at 11:00 AM,  <wpkg-users-request at lists.wpkg.org> wrote:
> Send wpkg-users mailing list submissions to
>         wpkg-users at lists.wpkg.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.wpkg.org/mailman/listinfo/wpkg-users
> or, via email, send a message with subject or body 'help' to
>         wpkg-users-request at lists.wpkg.org
>
> You can reach the person managing the list at
>         wpkg-users-owner at lists.wpkg.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wpkg-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Remove Windows Apps (Mike Burgener)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 25 Apr 2018 06:06:23 +0000
> From: Mike Burgener <mburgener at caritas.ch>
> To: Ronnie Carlos <rocatan74 at hotmail.com>, "wpkg-users at lists.wpkg.org"
>         <wpkg-users at lists.wpkg.org>
> Subject: Re: [wpkg-users] Remove Windows Apps
> Message-ID:
>         <967D35CF3280AF469A5F78C7953D2FA30118685ED9 at HOEX-MBX01.securesite.ch>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Ronnie,
>
> IS UAC active? If so, try to disable UAC and retry.
>
> Kind regards
>
> Mike
>
>> -----Urspr?ngliche Nachricht-----
>> Von: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] Im Auftrag von
>> Ronnie Carlos
>> Gesendet: Donnerstag, 29. M?rz 2018 02:51
>> An: wpkg-users at lists.wpkg.org
>> Betreff: [wpkg-users] Remove Windows Apps
>>
>> Hi,
>>
>> I'm trying do run a package that disable some apps from Windows 10. So I'm
>> tried this command line:
>>
>>  ?<install cmd='powershell -noninteractive Get-AppxPackage -allusers
>> *windowsalarms* | Remove-AppxPackage' />
>>
>> When I run it manually, in the command line with administrative privileges its
>> ok. On Wpkg, it executes with no errors but the Apps are not uninstalled.
>>
>> Any ideas?
>>
>> Regards,
>>
>> Ronnie.
>>
>> ---------------------------------
>> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
>> _______________________________________________
>> wpkg-users mailing list
>> wpkg-users at lists.wpkg.org
>> https://lists.wpkg.org/mailman/listinfo/wpkg-users
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
> ------------------------------
>
> End of wpkg-users Digest, Vol 122, Issue 1
> ******************************************


More information about the wpkg-users mailing list