J'ai créé un package pour déployer Google Drive File Stream. Il fonctionne bien. Voici le code du paquet :
Code : Tout sélectionner
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = ['{6BBAE539-2232-434A-A4E5-9A33560C6283}']
def install():
print('installing sof-google-drive-file-stream')
install_exe_if_needed("GoogleDriveFSSetup.exe",'--silent',key='',min_version='28.1.35.1747')
#run(r'"GoogleDriveFSSetup.exe" --silent')
def uninstall():
print('uninstalling google-drive-file-stream')
run(r'"%s\Google\Drive File Stream\28.1.35.1747\uninstall.exe" --silent --force_stop' % programfiles)
Code : Tout sélectionner
installing sof-google-drive-file-stream
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3508, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptecdapx\setup.py", line 8, in install
File "C:\Program Files (x86)\wapt\common.py", line 3467, in new_func
return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 3982, in install_exe_if_needed
run(r'"%s" %s' % (exe,silentflags),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1044, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"GoogleDriveFSSetup.exe" --silent' returned non-zero exit status 1.
Output:
CalledProcessErrorOutput: Command '"GoogleDriveFSSetup.exe" --silent' returned non-zero exit status 1.
Output:
Merci