Page 1 of 2
[SOLVED] Creating Google Workplace Sync Package
Published: July 20, 2021 - 2:49 PM
by MorganeDeveho
Good morning,
I created the google work place sync package using the msi file that is on their website.
Here is the generated code:
Code: Select all
def install():
# declaring local variables
package_version = control.get_software_version()
# installing the package
install_msi_if_needed('enterprise_gsync.msi',
min_version=package_version,
)
The installation works in "debug" mode on the wapt console but does not work on the test environment.
WAPT self service asks me to force the installation but it doesn't change anything.
I would like to know if there are any logs I could consult in order to solve my problem.
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 3:00 PM
by MorganeDeveho
The package still manages to install on some machines.
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 3:44 PM
by Gaetan
Hello,
does the package also work via pyscripter?
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 3:55 PM
by MorganeDeveho
I use Visual Studio Code.
The script runs through this software
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 4:26 PM
by Gaetan
The package is showing an error on the console when setting the dependency?
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 4:41 PM
by MorganeDeveho
When I test the package using Visual Studio Code, it works.
However, the installation returns an error on some machines.
Are there any logs I could check/look at?
Re: Creating a Google Workplace Sync Package
Published: July 20, 2021 - 4:47 PM
by Gaetan
When you click on the error package in the status column, what is displayed?
Re: Creating a Google Workplace Sync Package
Published: July 21, 2021 - 4:10 PM
by MorganeDeveho
Exception: Error installing ['dvo-google-workspace-sync(=4.3.49.0-3)']: errors in packages [[PackageRequest(package='dvo-google-workspace-sync',version=(Version('4.3.49.0'), 3),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'windows'],min_os_version=Version('10.0.19043'),max_os_version=Version('10.0.19043')), PackageEntry('dvo-google-workspace-sync','4.3.49.0-3' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\wapt\common.py", line 5011, in install\n result = self.install_wapt(full_fname(p.filename),\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4010, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3923, in install_wapt\n exitstatus = setup.install()\n File "C:\\Windows\\TEMP\\waptqitjceb_\\setup.py", line 12, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3877, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1279, in install_msi_if_needed\n run(r\'msiexec /norestart /q /i "%s" %s\' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 4029, in run\n raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'msiexec /norestart /q /i "enterprise_gsync.msi" \' returned non-zero exit status 1603.\nOutput:\n']]
Re: Creating a Google Workplace Sync Package
Published: July 21, 2021 - 5:57 PM
by vcardon
Re: Creating a Google Workplace Sync Package
Published: July 23, 2021 - 11:49 AM
by MorganeDeveho
Thank you for your help.
The problem actually stemmed from the Office versions.
The package installed correctly on PCs with 64-bit Office but not on 86-bit ones.