Error deploying "Synology Cloud Station Drive" package

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
@cidflash
Messages: 5
Registration: Oct 25, 2019 - 08:45

October 25, 2019 - 09:01

Hello everyone,

Happy to be among the users of WAPT 1.7.4.6223 Windows / Windows :mrgreen: .
Currently being tested with the free version in our company, with the option to upgrade to the Enterprise version if we are satisfied!

I have a package to deploy (Synnololy Cloud Station Drive "exe").
It deploys locally, but I get an error message without the PyScripter console:

Code: Select all

>>> 
*** Remote Interpreter Reinitialized  ***
Command Line : install "c:\waptdev\cloud-station-drive-wapt\WAPT\.."
Using config file: C:\wapt\wapt-get.ini
Installing WAPT files c:\waptdev\cloud-station-drive-wapt
installing cloud-station-drive
2019-10-25 08:43:23,125 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"Cloud Station Drive.exe" /S' returned non-zero exit status 1223.
Output::
Traceback (most recent call last):
  File "C:\wapt\common.py", line 3846, in install_wapt
    exitstatus = setup.install()
  File "c:\waptdev\cloud-station-drive-wapt\setup.py", line 8, in install
    install_exe_if_needed("Cloud Station Drive.exe",'/S',key='Synology Cloud Station Drive (remove only)',min_version='4.3.2')
  File "C:\wapt\common.py", line 3802, in new_func
    return func(*args,**kwargs)
  File "C:\wapt\setuphelpers.py", line 4321, in install_exe_if_needed
    run(r'"%s" %s' % (exe,silentflags),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
  File "C:\wapt\setuphelpers.py", line 1068, in run
    raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Cloud Station Drive.exe" /S' returned non-zero exit status 1223.
Output:

FATAL ERROR : CalledProcessErrorOutput: Command '"Cloud Station Drive.exe" /S' returned non-zero exit status 1223.
Output:
Exit code:  3
Here is the content of control:

Code: Select all

package           : cloud-station-drive
version           : 4.3.2
architecture      : all
section           : base
priority          : optional
name              :
categories        :
maintainer        : Srv WAPT
description       : Cloud Station Drive (Synology)
depends           :
conflicts         :
maturity          : PREPROD
locale            :
target_os         :
min_os_version    :
max_os_version    :
min_wapt_version  :
sources           :
installed_size    :
impacted_process  :
description_fr    :
description_pl    :
description_de    :
description_es    :
audit_schedule    :
editor            :
keywords          :
licence           :
homepage          :
package_uuid      :
valid_from        :
valid_until       :
forced_install_on :
signer            :
signer_fingerprint:
signature_date    :
signed_attributes
And here is the content of setup.py:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    print('installing cloud-station-drive')
    install_exe_if_needed("Cloud Station Drive.exe",'/S',key='Synology Cloud Station Drive (remove only)',min_version='4.3.2')
If anyone can help me!

Thank you in advance ;) !

Best regards,
@cidflash
Messages: 5
Registration: Oct 25, 2019 - 08:45

October 28, 2019 - 2:05 PM

I'm just bumping this... A lot of people are watching, but there's no solution :(
Yoann
Messages: 51
Registration: July 24, 2019 - 09:39

October 28, 2019 - 4:05 PM

Hello,

it's possible that the installer is returning error code 1223 instead of 0, even though the program installed successfully.

In a command prompt, you should run the program installation silently and then type "echo %errorlevel%" to check the returned code.
If the installation completes correctly and returns error code 1223, simply specify this using the `accept_returncodes` function `install_exe_if_needed`.

Regards.
WAPT Community 1.8
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 28, 2019 - 7:23 PM

Hello @cidflash,
@cidflash wrote: Oct 28, 2019 - 2:05 PM Just bumping this... People are watching but no solution :(
If the executable file is faulty, you can also try with the MSI file https://archive.synology.com/download/T...2-4450.msi

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
@cidflash
Messages: 5
Registration: Oct 25, 2019 - 08:45

November 4, 2019 - 4:24 PM

Hello gentlemen,

First of all, thank you for your help!
I will implement your advice and will get back to you with the results ;) !

Have a great week. Best ;)

regards,
Locked