I no longer understand how to update my packages on WAPT since the latest version.
To summarize:
-I already have an existing package that launches an MSI.
-I want to update this package with a new MSI.
-I modified the install() function for the new package
In my recollection, I also had to implement the update_package function if the package existed for various specific cases, but it no longer works.
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
if is64():
install_msi_if_needed("EditorV10.x64.msi")
run(r'REG IMPORT association.reg')
if is32():
install_msi_if_needed("EditorV10.x86.msi")
run(r'REG IMPORT association.reg')
def update_package():
print("ok")
Thank you for your answers.
