Page 1 of 1

creating epsonMP projector package

Published: June 2, 2016 - 1:21 PM
by Stenon
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.

Re: creating epsonMP projector package

Published: June 2, 2016 - 2:10 PM
by sfonteneau

Re: creating epsonMP projector package

Published: June 2, 2016 - 2:26 PM
by Stenon
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.

Re: creating epsonMP projector package

Published: June 3, 2016 - 4:43 PM
by gaelds
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)`

Re: creating epsonMP projector package

Published: June 4, 2016 - 09:15
by Stenon
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!