# Making sure that Mozilla Maintenance Service is not installedįor uninstall in installed_softwares(name="Mozilla Maintenance Service"): Killalltasks(control.impacted_process.split(',')) If not control.architecture in uninstall or 'ESR' in uninstall: Package_version = ('-', 1)īin_name = glob.glob('*%s*.exe' % bin_contains)Īpp_uninstallkey = 'Mozilla Firefox %s (%s %s)' % (package_version, app_arch, locale)įor uninstall in installed_softwares(name='Mozilla Firefox'): Policies_path = makepath(programfiles,'Mozilla Firefox','distribution','policies.json') Silent_args = '/S /PreventRebootRequired=false /TaskbarShortcut=false /DesktopShortcut=false /StartMenuShortcut=true /MaintenanceService=false /RegisterDefaultAgent=false /RemoveDistributionDir=false /OptionalExtensions=false' # Declaring global variables - Warnings: 1) WAPT context is only available in package functions 2) Global variables are not persistent between calls # Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |