tis-chrome package: Fatal error

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

May 10, 2017 - 09:41

Hello and a big THANK YOU for this fantastic tool, WAPT!

After copying the tis-chrome 58.0.3029.96 package to my private repository and running an update, I'm getting the following error on all machines: `

installing tis-chrome
EWaptSetupException: Fatal error:
MSI googlechromestandaloneenterprise64-fr.msi has been installed
and the uninstall key {A4690197-328E-3732-A460-124D6900D9C5} found
but version is not good`.


Do you have a solution to resolve this error?

Thank you in advance for your replies. ;)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 10, 2017 - 1:59 PM

The Chrome installer is a bit unusual.

Its version number is something like 66.30.49251.
At the end of the installation, the version will indeed be 66.30.49251.

But during the first Chrome startup, the uninstallkey changes version again and uses the actual Chrome version: 58.0.3029.96. In short, comparing versions becomes a bit of a headache. Furthermore, Chrome can update itself.

We would need to completely rewrite the package without using the install_msi_if_needed function.

On my end, I created a package without the MSI, which extracts the executable from within the MSI to revert to an installation similar to Chromium.

The package is here:
https://wapt.lesfourmisduweb.org/tous-l ... gle-chrome.

So I need to take the time to rewrite the Chrome package differently. Either with the MSI file or, like on my repository, with the EXE file. I don't know yet,

Simon.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 10, 2017 - 5:58 PM

I just rebuilt the chrome package from tis.

The package still uses install_msi_if_needed but now uses the get_version argument.

More information:
https://www.wapt.fr/fr/doc/Frequent-pro ... -if-needed

To see the package's setup.py file:
https://wapt.tranquil.it/package_detail ... 2_all.wapt


The update_package() function is not used during installation.

It is only used if you press CTRL-F9 in PyScript while editing.
This allows you to update the Wapt Chrome package with one click!

The need_install and install_msi_if_needed functions were added solely to make the package compatible even with older versions of Wapt prior to 1.3.12.13.
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

May 11, 2017 - 10:36

Thank you very much, Simon!
Daniel Traversa
Messages: 16
Registration: February 21, 2017 - 2:26 PM

July 4, 2017 - 12:52

The same problem is present again.
Daniel Traversa
Messages: 16
Registration: February 21, 2017 - 2:26 PM

July 4, 2017 - 12:58

This might not be the same problem; the manifest.sha1 file is incorrect. Looking at the archive, it's a manifest.sha256 file
Daniel Traversa
Messages: 16
Registration: February 21, 2017 - 2:26 PM

July 4, 2017 - 1:14 PM

I just tested with wapt-starter, same problem.
Daniel Traversa
Messages: 16
Registration: February 21, 2017 - 2:26 PM

July 4, 2017 - 1:42 PM

To add to that, on wapt-starter, it does that on all packages...
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

July 4, 2017 - 5:18 PM

You'll be seeing more and more manifest.sha256 files.
This is related to the upcoming version of wapt, which is in development; we're switching from sha1 to sha256.
Hence the presence of a manifest.sha256 file. But this isn't a problem for your version.

Could you please provide the exact error returned by the wapt package?

Could you also provide the version of the file located in "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" on the problematic machine?

Simon
Locked