Opera Uninstaller

Comments

3 comments

  • Colby Bouma

    This is what I use when I test Opera internally.

    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="14.1.0.0" MinimumVersion="10.0">
    <Package>
    <PackageDefinition name="Definition">
    <CopyMode>Default</CopyMode>
    <InventoryScanProfileId value="null" />
    <ScanAfterDeployment value="null" />
    <Timeout value="60" />
    <UseCustomTimeout value="false" />
    <RunAs value="null" />
    <Steps type="list">
    <PowerShellStep>
    <CustomCommandLine></CustomCommandLine>
    <Files></Files>
    <Script>Stop-Process -Force -Name "opera"</Script>
    <SuccessCodes>0</SuccessCodes>
    <RunAs value="null" />
    <Conditions type="list">
    <PackageStepCondition>
    <Architecture>Both</Architecture>
    <Version>All</Version>
    <TypeName>OperatingSystem</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
    <TypeName>LoggedOnUser</TypeName>
    </PackageStepCondition>
    </Conditions>
    <ErrorMode>Continue</ErrorMode>
    <Title>Kill</Title>
    <TypeName>PowerShell</TypeName>
    <IsEnabled value="true" />
    </PowerShellStep>
    <CommandStep>
    <Command>"C:\Program Files\Opera\Launcher.exe" /uninstall /silent</Command>
    <Files></Files>
    <SuccessCodes>0</SuccessCodes>
    <RunAs value="null" />
    <Conditions type="list">
    <PackageStepCondition>
    <Architecture>Bits32</Architecture>
    <Version>All</Version>
    <TypeName>OperatingSystem</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
    <TypeName>LoggedOnUser</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <CompanyName></CompanyName>
    <Description></Description>
    <Directory>C:\Program Files\Opera</Directory>
    <FileConditionMode>Exists</FileConditionMode>
    <Filename>Launcher.exe</Filename>
    <FileVersion></FileVersion>
    <FileVersionCompare>NoMatch</FileVersionCompare>
    <IncludeSubDirectories value="false" />
    <MatchToAlternateVariable value="false" />
    <ProductName></ProductName>
    <ProductVersion></ProductVersion>
    <ProductVersionCompare>NoMatch</ProductVersionCompare>
    <TypeName>File</TypeName>
    </PackageStepCondition>
    </Conditions>
    <ErrorMode>StopDeploymentFail</ErrorMode>
    <Title>32</Title>
    <TypeName>Command</TypeName>
    <IsEnabled value="true" />
    </CommandStep>
    <CommandStep>
    <Command>"C:\Program Files (x86)\Opera\Launcher.exe" /uninstall /silent</Command>
    <Files></Files>
    <SuccessCodes>0</SuccessCodes>
    <RunAs value="null" />
    <Conditions type="list">
    <PackageStepCondition>
    <Architecture>Bits64</Architecture>
    <Version>All</Version>
    <TypeName>OperatingSystem</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
    <TypeName>LoggedOnUser</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <CompanyName></CompanyName>
    <Description></Description>
    <Directory>C:\Program Files (x86)\Opera</Directory>
    <FileConditionMode>Exists</FileConditionMode>
    <Filename>Launcher.exe</Filename>
    <FileVersion></FileVersion>
    <FileVersionCompare>NoMatch</FileVersionCompare>
    <IncludeSubDirectories value="false" />
    <MatchToAlternateVariable value="false" />
    <ProductName></ProductName>
    <ProductVersion></ProductVersion>
    <ProductVersionCompare>NoMatch</ProductVersionCompare>
    <TypeName>File</TypeName>
    </PackageStepCondition>
    </Conditions>
    <ErrorMode>StopDeploymentFail</ErrorMode>
    <Title>64</Title>
    <TypeName>Command</TypeName>
    <IsEnabled value="true" />
    </CommandStep>
    </Steps>
    </PackageDefinition>
    <Description></Description>
    <FolderId value="4" />
    <Name>Uninstall Opera</Name>
    <Path>Package Testing\Uninstall Opera</Path>
    <Version></Version>
    <PackageDisplaySettings name="DisplaySettings">
    <DisplayType>Normal</DisplayType>
    <IconKey>Icon-Package</IconKey>
    <SortOrder value="7" />
    </PackageDisplaySettings>
    </Package>
    </AdminArsenal.Export>
    0
    Comment actions Permalink
  • Craig Keener

    Thank you

    0
    Comment actions Permalink
  • Lars Erik Kolden

    Hi,

    Do you have any suggestions as to uninstalling the user installed Opera GX with PDQ?

    The command line generated by PDQ Deploy is "%USERPROFILE%\AppData\Local\Programs\Opera GX\Launcher.exe" /uninstall

    However, this just gives the user a prompt to uninstall. I want to uninstall with no user intervention. I have not found any /silent parameter or similar (launcher prompts the user if he/she wants to delete browser data). 

    The scenario is that the users do not have admin privileges, but Opera allows them to install in their profile. 

    Do I have to make a script to do this? :-\

    0
    Comment actions Permalink

Please sign in to leave a comment.