[SOLVED] UNC path as msi argument
Published: May 30, 2023 - 3:04 PM
Good morning,
I am trying to install a "DR" software which requires the following arguments:
- PATHRENSEIGNE='"1"'
- TYPEINSTALL"="PORTABLE"
- EXE="C:\EIC\DR\Application"
- DATA="C:\EIC\DR\Application\DATA"
- NETWORKDATA="\\myserver\SRV\DRData"
So I created the setup.py file as follows:
Unfortunately, I get the following error:
So I have two questions:
- Does the fact that the backslashes are doubled pose a problem for the installation?
- How can I add a /L*v "log.log" option to get the msi installation logs?
I am trying to install a "DR" software which requires the following arguments:
- PATHRENSEIGNE='"1"'
- TYPEINSTALL"="PORTABLE"
- EXE="C:\EIC\DR\Application"
- DATA="C:\EIC\DR\Application\DATA"
- NETWORKDATA="\\myserver\SRV\DRData"
So I created the setup.py file as follows:
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
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)Code: Select all
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.- Does the fact that the backslashes are doubled pose a problem for the installation?
- How can I add a /L*v "log.log" option to get the msi installation logs?