Page 1 of 1

Software that installs manually but not on WAPT

Published: March 29, 2017 - 5:02 PM
by PapaFranku
Hello,
I'd like to create a package for the Unity Ethernet software.
I've created a batch script that silently installs the .msi file.
However, when I run the script manually, the software installs correctly, but if I publish the package with the batch script and the .msi file inside to WAPT and deploy it to a machine, it doesn't install and WAPT doesn't report any errors.

Re: Software that installs manually but not on WAPT

Published: March 29, 2017 - 7:42 PM
by sfonteneau
PapaFranku wrote:Hello,
I would like to create a package for the Unity Ethernet software.
I created a batch script that silently installs the .msi file.
It's better to run the installation directly from setup.py without using a .bat file
In your case, especially for an MSI file, you need to use install_msi_if_needed
PapaFranku wrote: However, when I run the script manually, the software installs correctly, but if I publish the package with the batch script and the .msi file inside on wapt and deploy it on a machine, it does not install and does not indicate any error on wapt.
This is precisely why you shouldn't run the installation from a .bat file, because the error message is incorrect