Page 1 of 1

[SOLVED] Problem generating package - Synchronie-6 software

Published: June 26, 2019 - 09:18
by Mr. Desveaux
Hello everyone,

I'm not at all an expert in WAPT; I'm just starting out.

Currently, the packages are created by my colleague, and I haven't been involved in them at all.

After encountering a problem with a package generation that wasn't working, I looked at your forum and found videos explaining how to do it locally with PyScripter.

So I installed PyScripter to test generating this installation package.

So I started creating the package, and during the installation test (by right-clicking and selecting "run" on the project's install folder), the installation returned the following errors:

Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3804, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\p-enfa-synchronie-6-wapt\setup.py", line 8, in install
install_exe_if_needed("install.exe",'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='',min_version='0.0.0.0')
File "C:\Program Files (x86)\wapt\common.py", line 3760, in new_func
return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 4206, in install_exe_if_needed
run(r'"%s" %s' % (exe,silentflags),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1061, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"install.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART' returned non-zero exit status 1.
Output:

FATAL ERROR: CalledProcessErrorOutput: Command '"install.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART' returned non-zero exit status 1.
Output:
Exit code: 3.

Could you please help me?

Note that when I run the executable file from the package folder, the installation runs correctly.
There are many 'next' commands, then a license number entry in the format syn-929-254-826 (which I entered in the license field of the control file).

Thank you in advance for any help you can provide.

Re: Problem generating package - Synchronie-6 software

Published: June 26, 2019 - 11:58
by sfonteneau
Hello,

what is your software's procedure for a silent installation?

Wapt defaults to: /VERYSILENT /SUPPRESSMSGBOXES /NORESTART as silent arguments for the install.exe file.

But I doubt that these are the arguments expected by the file.

Re: Problem generating package - Synchronie-6 software

Published: June 26, 2019 - 12:26
by Mr. Desveaux
Hello,

where can I find the arguments for the answers?

Does this mean that this installation might not be automated?

Re: Problem generating package - Synchronie-6 software

Published: June 26, 2019 - 12:45
by sfonteneau
m.desveaux wrote: June 26, 2019 - 12:26 Where can I find the arguments for the answers?
With a search engine like Google :D a search for the style silent install softwarename

You can also, if possible, contact the software publisher directly to gain access to the information if it is not already in the documentation
m.desveaux wrote: June 26, 2019 - 12:26 Does this mean that this installation might not be automated?
Not in a simple and clean way, in any case; if it's truly impossible, your software will fall into the category of podowareIncreasingly rare these days, but some can still be found...