Page 1 of 1

[SOLVED] Wapt directory organization

Published: February 4, 2019 - 2:20 PM
by Skudd
Hello,
I'm contacting you to understand the organization of the wapt package.
The source of my test software is a DVD, with many files, MSIs, and folders in the root directory...
To keep things clean, I'd like everything in my wapt package to be contained in a single folder called Toto.
So far, so good.
The problem is that when I create my setup.py file, I can't launch my MSI; I don't see how to specify the new path Toto\titi.msi.

Re: Wapt directory organization

Published: February 4, 2019 - 3:17 PM
by vcardon
The structure of a WAPT package is described at https://www.wapt.fr/fr/doc/wapt-create- ... -structure.

If you don't follow the WAPT package structure, your package won't work correctly.

You can take the files from your DVD, put them in the right places, and it should work.

Alternatively, watch https://youtu.be/Z6wr6emPGCU to retrieve your MSI file from your DVD; it's very simple.

Happy packaging!

Vincent

Re: Wapt directory organization

Published: February 5, 2019 - 9:49 AM
by Skudd
The issue wasn't getting the package to work; it's not a problem if I just put everything in it. It was simply a matter of organization.
In this specific case, downloading the MSI file isn't enough to install the software. I would have preferred to organize everything into a subfolder.
Thank you for answering my question.

Re: [SOLVED] Wapt directory organization

Published: February 5, 2019 - 3:14 PM
by sfonteneau
I'm not sure if I understood correctly, but basically:

Code: Select all

run(r'subfolder\install.msi')
http://sametmax.com/comment-marchent-le ... en-python/

Re: [SOLVED] Wapt directory organization

Published: February 6, 2019 - 4:05 PM
by Skudd
sfonteneau wrote: Feb 5, 2019 - 3:14 PM I'm not sure if I understood correctly, but basically:

Code: Select all

run(r'subfolder\install.msi')
That's exactly what I wanted to know, thank you very much ;)