[SOLVED] Creating packages with an .exe

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
elelay
Messages: 27
Registration: Oct 20, 2020 - 12:39

October 20, 2020 - 1:08 PM

Good morning,

Having very specific software to deploy within my company, I am forced to create the packages manually.
So I followed the documentation meticulously - however I still encounter a problem.
Everything works correctly with .msi packages.
But with .exe files, from what I've seen, we absolutely have to use the setup.py file to make changes (like the uninstallation key). The developer side isn't a problem, and the documentation is quite extensive on that. However, contrary to what I've seen, I'm missing some methods in the setup.py file:
  • remove
  • upgrade
  • -i build-upload
  • svn update
For those that are present, they are simply fueled by comments.
Is this normal? How can I fix the problem?

For your information, I tried with PyScripter and Visual Studio Code. The development directory was on a network drive; I tried it locally, but there was no change.

WAPT Server version: 1.8.2 Community
Console installed on a 64-bit Windows 10 system
Debian 10 Buster Server

Sincerely,

elelay
WAPT Server version: 2.0 Enterprise
Console installed on a Windows Server 2019
Debian 10 Buster server
elelay
Messages: 27
Registration: Oct 20, 2020 - 12:39

October 29, 2020 - 2:41 PM

Having received no response, I continued searching.
I don't know why, but when PyScripter opens, the project file isn't opened automatically; it has to be opened manually each time.
This explains why I was missing the various method calls...
WAPT Server version: 2.0 Enterprise
Console installed on a Windows Server 2019
Debian 10 Buster server
Locked