build-upload
Published: March 12, 2024 - 09:38
Good morning,
I get an error when I generate a .msi or .exe package template in the wapt console.
I am on version 2.4.0.14143
Explanation:
After manually configuring the setup.py file, I am unable to build the package.
The local installation works fine, but I get an error message when I run the command `run` on WAPT: `-i build-upload`
The goal of this operation is, of course, to deploy this package to the workstations.
Here is my setup:
Here is the error message:
Can you help me, please?
The command seems to work, but I must have forgotten a parameter.
THANKS.
Bruno
I get an error when I generate a .msi or .exe package template in the wapt console.
I am on version 2.4.0.14143
Explanation:
After manually configuring the setup.py file, I am unable to build the package.
The local installation works fine, but I get an error message when I run the command `run` on WAPT: `-i build-upload`
The goal of this operation is, of course, to deploy this package to the workstations.
Here is my setup:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
# Installing the software
print("Installing: setup.exe")
run('.\Setup /Configure .\Conf_OfficePro2019.xml')Here is the error message:
Code: Select all
*** Remote Interpreter Reinitialized ***
Command Line : --use-gui -i build-upload "C:\waptdev\linwapt-office-pro-2019_16.0.11617.33601-11_windows_PROD\WAPT\.."
Using config file: C:\Users\bvincent.pc\AppData\Local\waptconsole\waptconsole.ini
Building packages 1 packages
FATAL ERROR : IndexError: list index out of range
Exit code: 3
>>>The command seems to work, but I must have forgotten a parameter.
THANKS.
Bruno