creating epsonMP projector 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
Stenon
Messages: 36
Registration: June 2, 2016 - 8:04 AM

June 2, 2016 - 1:21 PM

Hello,

after wasting a lot of time trying to create this package, I'm turning to you for help.

By default, I have this, but it doesn't work:
`def install():
print('installing soft-epson')
run(r'"epson376900eu.exe" /VERYSILENT')`.

The common timeout error occurs after 10 minutes... it's taking forever. :(

I've tried many tests, but they all come back to this error.
Here's the program I wanted to rename: https://www.epson.eu/epson-projector-software.

If you have some time to spare, ;)

thank you anyway.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 2, 2016 - 2:10 PM

Stenon
Messages: 36
Registration: June 2, 2016 - 8:04 AM

June 2, 2016 - 2:26 PM

Yes, thank you. I watched that tutorial,

but now I'm stuck on the argument passing for the `run` command:

`CalledProcessError: Command '('"setup.exe" -s -f1 setup.iss',)' returned non-zero exit status -5001`.

And here's the definition of `install`:
`def install():
print('installing soft-epson-2.80')
run(r'"setup.exe" -s -f1 setup.iss')`.

I'm trying to figure out where it's coming from...
it's probably obvious that I'm a beginner with Wapt. ;)

Sincerely, and
a big thank you.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

June 3, 2016 - 4:43 PM

I might be talking nonsense, but could the `install_exe_if_needed` instruction make this return code -5001 acceptable?

`install_exe_if_needed("setup.exe -s -f1 setup.iss", silentflags='', key=None, min_version=None, killbefore=[], accept_returncodes=[0, -5001], timeout=300)`
Stenon
Messages: 36
Registration: June 2, 2016 - 8:04 AM

June 4, 2016 - 09:15

Hi,

thanks for your idea, although just so you know it didn't work and the error was "cannot find setup.exe in the package".

Anyway, a big thank you to both of you because your suggestions allowed me to persevere and

finally understand my mistake. After two days, I resorted to an installation via GPO and that's when I realized my files were corrupted... After succeeding via GPO, I went back to wapt and now the following command works perfectly:

`def install():
print('installing soft-epson-2.80')
run(r'"setup.exe" -s "setup.iss"')

` Thank you so much!
Locked