Page 1 of 1

Updating a package from an exe or msi file

Published: April 17, 2024 - 10:32 AM
by Tchoko
Hello,
the documentation covers updating packages imported from the WAPT repository. But how do I update a package imported from an EXE or MSI file?

Re: Updating a package from an exe or msi file

Published: April 18, 2024 - 3:05 PM
by t.heroult
Hello.
If it's a custom-built package, then each case is different. You need to find a way in update-package.py to check the source code for a new version, retrieve it, integrate it, update the 'control' with the version number, etc.
It's development work...

Re: Updating a package from an exe or msi file

Published: April 18, 2024 - 4:05 PM
by dcardon
Hi Tchoko,

for the manual update of a package, it's similar to the initial package creation: you put the new binary in the directory, update the control file, and test the new package.

For the automated part, as Thomas says, the method of writing the update_package.py file with the def update_package() function is rather empirical. There are fairly standard cases with clean projects with releases on GitHub, and others that are much more complicated.

The best way is to look at existing packages for inspiration.

Regards,

Denis

Re: Updating a package from an exe or msi file

Published: April 21, 2024 - 12:37 AM
by Tchoko
My questions are below:

We put the new binary in the directory => which directory?
We update the control file => how do we do that?