Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Opera Uninstaller

Just curious if anyone has any ideas on creating a Opera uninstaller.  It refuses to be uninstalled off Windows 10 for me on about 200 computers.   

0

Comments

3 comments
Date Votes
  • 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
  • Thank you

    0
  • 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