Packages and dependencies

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
jmeyer
Messages: 43
Registration: March 30, 2015 - 3:15 PM

November 12, 2019 - 3:11 PM

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
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

November 13, 2019 - 11:02 AM

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
Jean Baudin
Messages: 3
Registration: Nov 18, 2020 - 10:37

November 18, 2020 - 10:46 AM

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!
Locked