[RESUELTO] Ruta UNC como argumento msi
Publicado: 30 de mayo de 2023 - 15:04
Buen día,
Estoy intentando instalar un software "DR" que requiere los siguientes argumentos:
- PATHRENSEIGNE='"1"'
- TYPEINSTALL"="PORTÁTIL"
- EXE="C:\EIC\DR\Aplicación"
- DATOS="C:\EIC\DR\Aplicación\DATOS"
- NETWORKDATA="\\miservidor\SRV\DRData"
Entonces creé el archivo setup.py de la siguiente manera:
Lamentablemente, me aparece el siguiente error:
Entonces tengo dos preguntas:
- ¿El hecho de que las barras invertidas se dupliquen supone un problema para la instalación?
- ¿Cómo puedo agregar una opción /L*v "log.log" para obtener los registros de instalación de msi?
Estoy intentando instalar un software "DR" que requiere los siguientes argumentos:
- PATHRENSEIGNE='"1"'
- TYPEINSTALL"="PORTÁTIL"
- EXE="C:\EIC\DR\Aplicación"
- DATOS="C:\EIC\DR\Aplicación\DATOS"
- NETWORKDATA="\\miservidor\SRV\DRData"
Entonces creé el archivo setup.py de la siguiente manera:
Código: Seleccionar todo
# -*- 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
uninstallkey = ["{61D2EDA6-1B60-49A2-9167-159BA73B2897}"]
def install():
# Declaring local variables
install_laptop_properties = {
"PATHRENSEIGNE":'"1"',
"TYPEINSTALL":'"PORTABLE"',
"EXE":"C:\EIC\DR\Application",
"DONNEES":"C:\EIC\DR\Application\DONNEES'",
"DONNEESRESEAU":"\\monserveur\SRV\DRData'",
}
# Installing the software
print("Installation: DR")
install_msi_if_needed('DR.msi', properties = install_laptop_properties)Código: Seleccionar todo
CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "DR.msi" PATHRENSEIGNE="1" TYPEINSTALL="PORTABLE" EXE=C:\\EIC\\DR\\Application\ DONNEES=C:\\EIC\\DR\\Application\\DONNEES DONNEESRESEAU=\\\\fichiers.wizzyoo.info\\WZY\\DRData' returned non-zero exit status 1603.- ¿El hecho de que las barras invertidas se dupliquen supone un problema para la instalación?
- ¿Cómo puedo agregar una opción /L*v "log.log" para obtener los registros de instalación de msi?