Silent Install | Uninstall
-
Hi folks,
I can't silent install and then silent uninstall.
I install silently but silent uninstall won't work.
I install for all users using the regular installer, then the silent uninstall works.Silent Install parameters:
C:\Users\Administrator\Downloads\Vivaldi.2.9.1705.31.x64.exe --vivaldi --vivaldi-silent --do-not-launch-chrome --vivaldi-update --system-level
Then Silent Uninstall Parameters:
c:\Program Files\Vivaldi\Application\2.9.1705.31\Installer\setup.exe --uninstall --vivaldi --force-uninstall
Depending upon the incantation of silent install parameters, sometimes the uninstall returns 0 but does nothing, others get an error like:
This command cannot be run due to the error: The system cannot find the file specified.At C:\\Windows\\TEMP\\ansible-tmp-1572628261.67-48323291646256\\Uninstall_Vivaldi.ps1:3 char:3 + $(Start-Process -FilePath $path -ArgumentList $args -Wait)+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommandScriptStackTrace:at <ScriptBlock>, C:\\Windows\\TEMP\\ansible-tmp-1572628261.67-48323291646256\\Uninstall_Vivaldi.ps1: line 3at <ScriptBlock>, <No file>: line 1 System.InvalidOperationException: This command cannot be run due to the error: The system cannot find the file specified. at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
Please note though I am running this from Ansible, the outcome is the same when run in powershell albeit the error is presented slightly differently:
Uninstall_Vivaldi.ps1 Code
$args = "--uninstall --vivaldi --force-uninstall" $path = "c:\Program Files\Vivaldi\Application\2.9.1705.31\Installer\setup.exe" $(Start-Process -FilePath $path -ArgumentList $args -Wait)
Error
Start-Process : This command cannot be run due to the error: The system cannot find the file specified. At line:3 char:3 + $(Start-Process -FilePath $path -ArgumentList $args -Wait) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Please don't think I'm ignoring you... I am not able to respond over the weekend.
Thank you.
-
A quick nudge to remind anyone. Any thoughts or suggestions would be gratefully received.
Thank you.
-
Hi @Gwen-Dragon
P.s. I have submitted this as a bug also. Thank you.
-
@Gwen-Dragon said in Silent Install | Uninstall:
Thank you for reaching and sorry for the trouble.
May be this issue is a bug.
Please read
carefully and report the bug to Vivaldi bugtracker.
Again thank you for using Vivaldi.
I filed this bug back in July: https://forum.vivaldi.net/post/305414
-
Ppafflick moved this topic from Vivaldi for Windows on