Launching an executable file over the network.

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
sdelpech
Messages: 4
Registration: Oct 04, 2017 - 08:31

October 9, 2017 - 4:53 PM

Hello,

I'm trying to create a package for the administrative installation of SolidWorks. I've placed the entire installation in a publicly shared directory. When I run the command `run(r'"\\10.XXX\Partage\solid\startswinstall.exe"/install /now')`,

I get an access denied error.

If anyone has already installed this software via WAPT, I would appreciate any information. :D
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

October 9, 2017 - 5:43 PM

Hello,

The WAPT service runs on a local system account (NT_Authority\System) and may not have access to the network share specified in your WAPT package.

The solution would be to integrate the contents of the installation ISO into your WAPT package, making the installation less network-dependent since it would be local to each workstation, and to use the silent installation provided by SolidWorks via the MSI installer provided by Dassault Systèmes: http://help.solidworks.com/2016/French/ ... d_line.htm

Your package will certainly be larger to deploy, but it will be complete and network-independent.

If you wish to maintain your remote network path method, modify the access rights of the share in question.

I would also like to inform you that the SolidWorks installation time exceeds the maximum time allowed by the WAPT agent; increase the timeout to at least 1500: https://www.wapt.fr/fr/doc/Frequent-pro ... stallation

Sincerely,

Alexandre
sdelpech
Messages: 4
Registration: Oct 04, 2017 - 08:31

October 10, 2017 - 8:05 AM

For my tests, I ended up creating two packages. The first copies the installation files, and the second launches the installation. This already saves me from waiting an hour each time I run the build package.

I'll try using the msiexec commands.
Thanks for your help.
sdelpech
Messages: 4
Registration: Oct 04, 2017 - 08:31

October 10, 2017 - 5:26 PM

My problem stems from the fact that the installation is trying to contact a SolidWorks server via the web. Consequently, behind a proxy server with authentication, the installation is blocked.
Locked