Page 1 of 1

Error 32

Published: July 26, 2019 - 11:10 AM
by filou07
Good morning,

I created a LibreOffice installation package, but the installation returns error 32: The process cannot access the file because it is being used by another process: 'c:\\windows\\temp\\wapt8lne2m'

Deleting all the waptxxxx folders in c:\windows\temp and restarting the PC did not change anything

In the end, the software is still installed... but not always

My script is very simple:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    print('Installation pack-libreoffice-V6 avec sauvegarde de l-ancien profil et suppression ancienne version')
    install_exe_if_needed("LibreOffice_setup.exe",'/VERYSILENT /profil=1',key='',min_version='6.1.6',timeout='3000')
    print(u"Oubli du paquet de l-ancien libreoffice \n")
    WAPT.forget_packages(pack-libreoffice')
Any ideas?

Thanks in advance

Re: Error 32

Published: August 6, 2019 - 11:05 AM
by jpele
Hello,

I would recommend using the MSI version of LibreOffice. You can also take inspiration from our WAPT package:
https://store.wapt.fr/store/details-tis ... 4_all.wapt

Sincerely,
Jimmy

Re: Error 32

Published: August 8, 2019 - 7:54 AM
by filou07
Hello,

thank you, but since it's the MIMO version of LibreOffice, I only have the executable file.

Re: Error 32

Published: August 8, 2019 - 9:00 AM
by sfonteneau
filou07 wrote: Jul 26, 2019 - 11:10 install_exe_if_needed("LibreOffice_setup.exe",'/VERYSILENT /profil=1',key='',min_version='6.1.6',timeout='3000')
You have not specified the uninstallkey in the install_exe_if_needed function

Therefore, Wapt cannot verify at the end of the installation that the software has been installed correctly