Page 1 of 1

Error deploying "Synology Cloud Station Drive" package

Published: October 25, 2019 - 09:01
by @cidflash
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,

Re: Error deploying "Synology Cloud Station Drive" package

Published: October 28, 2019 - 2:05 PM
by @cidflash
I'm just bumping this... A lot of people are watching, but there's no solution :(

Re: Error deploying "Synology Cloud Station Drive" package

Published: October 28, 2019 - 4:05 PM
by Yoann
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.

Re: Error deploying "Synology Cloud Station Drive" package

Published: October 28, 2019 - 7:23 PM
by dcardon
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

Re: Error deploying "Synology Cloud Station Drive" package

Published: November 4, 2019 - 4:24 PM
by @cidflash
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,