Page 1 of 1

[SOLVED] solidworks 2018 package

Published: April 21, 2019 - 6:06 PM
by CARRE-FRED
Hello,
I'm trying to install SolidWorks 2018 SP5 using WAPT.
I created an administrative image of SolidWorks.
In my administrative image, I have an executable file (wininstall.exe). If I run it (on a standalone machine), a message appears saying that the automatic installation will start in 5 minutes, which is indeed the case.

So I use this file to create my package in WAPT (generate a package template).
I also copy the various directories and files from the administrative image to c:\program files\waptdev\solidworks.
I launch the installation from PyScripter (install and run). I still get the message "the automatic installation will start in 5 minutes." It works, everything installs.

So I create my package.

I then copy my newly created file, solidworks.wapt, to my server using WinSCP, change the permissions, and run wapt-scanpackages.

From the console, I choose a (virtual) machine on which to deploy SolidWorks.
The solidworks.wapt file is copied to the machine, the installation begins (still the same message).
The dependencies are installed (apparently all of them: Bonjour, Visual Basic, etc.).
In the c:\program directory, a "solidworks corps" folder appears, starts to fill up, and then suddenly disappears.
I don't understand what's happening at all.

Debian 9 server
, Wapt 1.7.3.

Regards,
F. Carré

Re: SolidWorks 2018 package

Published: April 23, 2019 - 3:18 PM
by htouvet
Did you set a sufficiently long timeout parameter in the command that launches the SolidWorks installation?
After how long does the process stop?

Re: SolidWorks 2018 package

Published: April 25, 2019 - 3:34 PM
by CARRE-FRED
Hello,

I added a `timeout=10000` parameter to the command line


: `def install():
print('installing ader-solidworks-startswinstall')
install_exe_if_needed("startswinstall.exe",'/VERYSILENT',key='',min_version='26.5.0.0066',timeout=10000)`.


Without the timeout, the installation gave me an error.

Now with the timeout, I no longer get an error, but the installation doesn't complete.
I think the installation stops after about half an hour. As I mentioned before, the dependencies are installed automatically.
In C:\Program Files, a `solidworks corps` directory is created, starts to fill up, then suddenly disappears and nothing happens.

Thank you.

F. CARRE

Re: SolidWorks 2018 package

Published: April 29, 2019 - 6:14 PM
by CARRE-FRED
Hello,
I'm back with my SolidWorks problem.
I've set up a new WAPT server, still running Debian 9.8.
I recreated my SolidWorks package using the console (I launched it by clicking "install" and then "execute" in the PyScrypter: it worked).

However, when I try to install it through the console, it doesn't work.

In the console I have the following error messages:

Installing solidworks2018-sp05(=26.5.0.66-1)
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1490, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 550, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1005, in _run
self.result.get('errors',[])))
Exception: Error installing [u'solidworks2018-sp05(=26.5.0.66-1)']: errors in packages [[(u'https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt', '404 Client Error: Not Found for url: https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt'), None], [PackageRequest(package=u'solidworks2018-sp05',version=(Version('26.5.0.66'), 1),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'solidworks2018-sp05',u'26.5.0.66-1' architecture=u'x64',maturity=u'PROD'), u'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4649, in install\n raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ader-solidworks2018-sp05_26.5.0.66-1_x64_PROD.wapt not downloaded properly.\n']]

Exception: Error installing [u'solidworks2018-sp05(=26.5.0.66-1)']: errors in packages [[(u'https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt', '404 Client Error: Not Found for url: https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt'), None], [PackageRequest(package=u'solidworks2018-sp05',version=(Version('26.5.0.66'), 1),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'solidworks2018-sp05',u'26.5.0.66-1' architecture=u'x64',maturity=u'PROD'), u'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4649, in install\n raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ader-solidworks2018-sp05_26.5.0.66-1_x64_PROD.wapt not downloaded properly.\n']]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1490, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 550, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1005, in _run
self.result.get('errors',[])))
Exception: Error installing [u'solidworks2018-sp05(=26.5.0.66-1)']: errors in packages [[(u'https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt', '404 Client Error: Not Found for url: https://srvwapt.lyceeader.eu/wapt/ader- ... _PROD.wapt'), None], [PackageRequest(package=u'solidworks2018-sp05',version=(Version('26.5.0.66'), 1),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'solidworks2018-sp05',u'26.5.0.66-1' architecture=u'x64',maturity=u'PROD'), u'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4649, in install\n raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ader-solidworks2018-sp05_26.5.0.66-1_x64_PROD.wapt not downloaded properly.\n']]

Kind regards

F CARRE

Re: SolidWorks 2018 package

Published: April 29, 2019 - 6:49 PM
by CARRE-FRED
I forgot to mention.
Wapt version: 1.7.3 on Debian 9.8
. The console is on Windows 7 Pro.
All installations were also performed on Windows 7 Pro.

Regards,

F. Carré

Re: SolidWorks 2018 package

Published: May 24, 2019 - 1:06 PM
by sfonteneau
There appears to be a problem downloading:

EWaptDownloadError: Package file ader-solidworks2018-sp05_26.5.0.66-1_x64_PROD.wapt not downloaded properly.

You should try downloading it manually to see if that works.

Re: SolidWorks 2018 package

Published: June 5, 2019 - 4:41 PM
by CARRE-FRED
Hello,

sorry for the delay.
I solved my problem by working around it.
I created an MSI package from my executable and everything installed perfectly.

Thank you.

Best regards

F. Carré