Page 1 sur 1

WAPT exit status

Publié : 14 juin 2019 - 11:55
par Cristina313
Hello,
I am contacting you on behalf of Ariane, a company involved in the hospitality industry.
We are using WAPT software (version: 1.7.4.6077 community) to automatically install our application on the kiosk PC-s for our clients.
Is there a way to directly pass an error exit code from installation process into WAPT?
For example we would expect to see a 5555 error exit code:
msiException.PNG
msiException.PNG (16.07 Kio) Consulté 1529 fois
But we see this using WAPT console install:
waptException.PNG
waptException.PNG (18.78 Kio) Consulté 1529 fois
How can we pass the error to WAPT console?

Thank you & best regards,
Cristina

Re: WAPT exit status

Publié : 21 juin 2019 - 12:50
par dcardon
Hi Cristina313,
Cristina313 a écrit : 14 juin 2019 - 11:55 I am contacting you on behalf of Ariane, a company involved in the hospitality industry.
We are using WAPT software (version: 1.7.4.6077 community) to automatically install our application on the kiosk PC-s for our clients.
Is there a way to directly pass an error exit code from installation process into WAPT?
For example we would expect to see a 5555 error exit code:

But we see this using WAPT console install:


How can we pass the error to WAPT console?
In the run() function or the install_msi_if_needed() function, you can add a parameter accept_returncodes to accept non standard return values (default value is [0,3010]). So in your case, if you want to ignore le 5555 return code, you'll have to add the accept_returncodes=[0,3010,5555] at you method call.

Camille has recently open a subreddit for English speaking WAPT users (https://www.reddit.com/r/wapt). There isn't much there for now, but in the future it is better to write English post there.

Cheers,

Denis