Page 1 of 1

[SOLVED] options and msi_if_needed

Published: April 21, 2020 - 11:01 AM
by florentR2
Good morning,
When I create an msi package template from the console, it correctly detects the uninstallation key, I add my installation options (example DISABLE_UPDATE=0 /qb) and I generate my package.
So far so good, it's very convenient.
I'm testing the install, the remove, everything works fine.
However, I don't know where to find the options I set when creating the package + the uninstall key.
I only have

Code: Select all

 install_msi_if_needed('monfichiet.msi') 
And

Code: Select all

uninstallkey = []

I figure that later I might need to review which options I had set and also check the uninstallation key.

Re: options and msi_if_needed

Published: April 21, 2020 - 5:44 PM
by sfonteneau
The `install_msi_if_needed` function automatically learns the uninstall key within the `install_msi_if_needed` function; the uninstall key is retrieved directly from the MSI file.

However, the properties must be configured as follows:

https://www.wapt.fr/fr/doc/wapt-create- ... -arguments

Re: options and msi_if_needed

Published: April 22, 2020 - 10:51 AM
by florentR2
Okay, so it's normal that it didn't retrieve the one I put in when creating the model; I mustn't forget to add them back to the code.

Thanks.