Page 1 of 1

Packages and dependencies

Published: November 12, 2019 - 3:11 PM
by jmeyer
Good morning,

I am experiencing problems deploying two packages: Sketchup-Make and PDFCreator.
Both of these packages have .net 4.0 as a dependency, but this one already has a more recent version installed on the operating systems I deploy.
Therefore, I get the following error:
installing moisand-dotnetfx4.0(=4.0.30319.1-15)Actual installed .NET Framework 4 version is 4.7.02556Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3818, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptdl6nsr\setup.py", line 38, in install
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 4564, in error
raise EWaptSetupException(u'Fatal error: %s' % reason)
EWaptSetupException: Fatal error: A newer version of .NET Framework is already installed. The 4.5+ versions are cumulative, so the latest is good enough. If you need a specific version, please note that you will need to uninstall the newer version.
EWaptSetupException: Fatal error: A newer version of .NET Framework is already installed. The 4.5+ versions are cumulative, so the latest is good enough. If you need a specific version, please note that you will need to uninstall the newer version.
What solution do you propose?
Is it possible to have a dependency on the installation of a package among certain ones (in my case, one of the .net versions)?
Do I need to modify the package to update the dependency?

Thanks in advance.

Julian

WAPT version: 1.7.4
Server OS: Debian 4.9
Operating system of the administration/package creation machine: Windows 10 1709

Re: Packages and dependencies

Published: November 13, 2019 - 11:02 AM
by jpele
Hello,

If your system is exclusively running Windows 10, you can remove the dependency from your two packages. Otherwise, I recommend changing the dependency to "tis-dotnetfx" and downloading this dependency accordingly from our store.

The problem stems from the fact that ".NET Framework 4.0" cannot be installed alongside ".NET Framework 4+".

This change has not yet been implemented for these older packages.

Sincerely,
Jimmy

Re: Packages and dependencies

Published: November 18, 2020 - 10:46 AM
by Jean Baudin
jmeyer wrote: Nov 12, 2019 - 3:11 p.m. Good morning,

I am experiencing problems deploying two packages: Sketchup-Make and PDFCreator.
Both of these packages have .net 4.0 as a dependency, but this one already has a more recent version installed on the operating systems I deploy.
Therefore, I get the following error:
installing moisand-dotnetfx4.0(=4.0.30319.1-15)Actual installed .NET Framework 4 version is 4.7.02556Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3818, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptdl6nsr\setup.py", line 38, in install
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 4564, in error
raise EWaptSetupException(u'Fatal error: %s' % reason)
EWaptSetupException: Fatal error: A newer version of .NET Framework is already installed. The 4.5+ versions are cumulative, so the latest is good enough. If you need a specific version, please note that you will need to uninstall the newer version.
EWaptSetupException: Fatal error: A newer version of .NET Framework is already installed. The 4.5+ versions are cumulative, so the latest is good enough. If you need a specific version, please note that you will need to uninstall the newer version.
What solution do you propose?
Is it possible to have a dependency on the installation of a package among certain ones (in my case, one of the .net versions)?
Do I need to modify the package to update the dependency?

Thanks in advance.

Julian

WAPT version: 1.7.4
Server OS: Debian 4.9
Operating system of the administration/package creation machine: Windows 10 1709
Hi Julien, did you solve your problem because I have exactly the same one right now!