Page 1 of 1

Creating packages

Published: June 27, 2018 - 12:00
by Metallian
Hello,

I'm just starting to use WAPT for software updates. I created an executable using AutoIt that updates an application on our client machines. It kills a process, unmounts network drives, and launches the file update.
I imported it into WAPT, and it works, except it always returns the status "TO-UPGRADE". I don't understand why, unless I don't have an uninstall key since it's just a file copy.

- WAPT version installed: 1.5
- Server OS: Windows Server 2016
- Administration/package creation machine OS: Windows 7

Here is my setup:

from setuphelpers import *

uninstallkey = []
exename = 'majV1.exe'

def install():
print('installing %s' % control.asrequirement())
run("majV1.exe")
register_windows_uninstall(control)

Can you help me?
Thank you in advance.

Re: Creating packages

Published: June 27, 2018 - 8:54 PM
by sfonteneau
Could it be a dependency/conflict loop?

Re: Creating packages

Published: June 28, 2018 - 08:31
by Metallian
Hello,

indeed, in ERROR UPGRADE I have the message EWaptUnavailablePackage: Missing dependencies. I just have to dig a little deeper to find the problem.

Thank you.