Connecting to a network drive

Questions about WAPT Server / Requests and help related to the WAPT server
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
JoeyReyston
Messages: 3
Registration: March 22, 2017 - 2:01 PM

March 23, 2017 - 12:55

So I'm still having a problem. I put a .bat file on the Wapt server containing: `

net use *: \\server\install\files /user:user password
XCOPY "*:\AddonsWin7\Applis\WinRELAIS" "c:\WinRELAISinstall\" /H /E /C /V < N.txt` `
net use *: /delete /y` `
cd /dc:\` `
md "%ProgramFiles%\elec-cao"`
`cd /dc:\winrelaisinstall\
` "WinRelais script.exe"

As you can see, the goal is to connect to a network drive, retrieve "winrelais", and launch the local installation. However, the Wapt server is stuck at the connection stage,
and I'm getting this error
: `installing crp-script
TimeoutExpired: Command '('"script.bat" ',)' timed out after 600.0 seconds with output '`
c:\windows\temp\waptiwsupe>net use *: \\server\install\files /user:user password
System error 1312 has occurred.

A specified logon does not exist. It may have already terminated.

Does anyone have any ideas?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 26, 2017 - 3:55 PM

Hello,

for better results, it's better to code the package directly in Python rather than running a .bat file.

Another issue: why do you want to connect a network drive?

It would be better to copy WinRELAIS into your WAPT package and then run the installation.

Simon
JoeyReyston
Messages: 3
Registration: March 22, 2017 - 2:01 PM

March 27, 2017 - 08:34

The problem with this application is that it cannot be installed silently, and I can't find any way to remove the silent mode imposed by WAPT
Locked