Hello,
I'm going in circles trying to install a very simple MSI (DaVinci Resolve, video editing software).
When I install it manually, there are no problems, but via Wapt, I always get errors.
Here is the package script (very simple)
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing tc-montagedavinci')
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')
Here is a log on a client machine:
installing tc-montagedavinci
2017-09-26 08:48:38,664 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00':
Traceback (most recent call last):
File "c:\wapt\common.py", line 3557, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptg0rjuq\setup.py", line 8, in install
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')
File "c:\wapt\setuphelpers.py", line 3763, in install_msi_if_needed
run(r'msiexec /norestart /q /i "%s" %s' % (msi,props),accept_returncodes=accept_returncodes,timeout=timeout)
File "c:\wapt\setuphelpers.py", line 1146, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,u''.join(output))
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:39,085 CRITICAL Package tc-montagedavinci not installed due to errors: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:39,178 CRITICAL Exception: Error during install of tc6213-13.iut-tc.univ (=21): errors in packages [[u'tc-montagedavinci', PackageEntry('tc-montagedavinci','14.0.78-1')]]
installing tc-montagedavinci
2017-09-26 08:48:56,039 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00':
Traceback (most recent call last):
File "c:\wapt\common.py", line 3557, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptrrfe4g\setup.py", line 8, in install
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')
File "c:\wapt\setuphelpers.py", line 3763, in install_msi_if_needed
run(r'msiexec /norestart /q /i "%s" %s' % (msi,props),accept_returncodes=accept_returncodes,timeout=timeout)
File "c:\wapt\setuphelpers.py", line 1146, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,u''.join(output))
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:56,131 CRITICAL Package tc-montagedavinci (=14.0.78-1) not installed due to errors: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:56,131 CRITICAL Exception: Error during install of tc-montagedavinci (=14.0.78-1): errors in packages [[u'tc-montagedavinci (=14.0.78-1)', PackageEntry('tc-montagedavinci','14.0.78-1')]]
I see error 1612, which corresponds to unavailable installation sources, but the package is indeed present in the wapt cache folder. Or should I create a session_setup package? (Isn't that strange for an MSI?) If anyone can point me in the right direction, thank you in advance.
MSI installation error
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Apparently you're not the only one:
http://forum.blackmagicdesign.com/viewt ... =3&t=28800
I think that by default, it tries to install itself in the user profile??.
Perhaps a property like ALLUSERS=1 could be added
http://forum.blackmagicdesign.com/viewt ... =3&t=28800
I think that by default, it tries to install itself in the user profile??.
Perhaps a property like ALLUSERS=1 could be added
Code: Select all
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe',properties={'ALLUSERS':'1'})Tranquil IT
Hello,
I unfortunately tried it without success.
Since several versions of the software had been installed since May, I reformatted the computers and then the MSI installed without any problems.
Thank you anyway for your reply and congratulations again on your product which greatly simplifies my work.
Sincerely,
Stéphane
I unfortunately tried it without success.
Since several versions of the software had been installed since May, I reformatted the computers and then the MSI installed without any problems.
Thank you anyway for your reply and congratulations again on your product which greatly simplifies my work.
Sincerely,
Stéphane
