Run function with an argument containing quotation marks
Published: February 3, 2021 - 7:56 AM
Hello everyone,
I'm trying to create a package for the automatic installation of Mindview 8 with user authentication based on Educonnect recognition (student authentication in the French National Education system).
The software publisher provides the arguments to pass:
setup.x64.msi /qn TRANSFORMS:=1036 SHOWKEEPSIGNIN=0 VLEID="gar.XXXXX"
To install it, I'm trying to use the run(r'..... function, but the quotation marks are causing me a problem; they are both a function of run and should be placed in the VLEID variable:
run('r"setup.x64.msi" /qn TRANSFORMS:=1036 SHOWKEEPSIGNIN=0 VLEID="gar.XXXXX" ')
Is this the correct method? Is there a specific syntax for passing quotation marks as arguments?
I tried the "\gar.XXXX\" method, but that also returns an error.
Thank you
. Have a good day.
I'm trying to create a package for the automatic installation of Mindview 8 with user authentication based on Educonnect recognition (student authentication in the French National Education system).
The software publisher provides the arguments to pass:
setup.x64.msi /qn TRANSFORMS:=1036 SHOWKEEPSIGNIN=0 VLEID="gar.XXXXX"
To install it, I'm trying to use the run(r'..... function, but the quotation marks are causing me a problem; they are both a function of run and should be placed in the VLEID variable:
run('r"setup.x64.msi" /qn TRANSFORMS:=1036 SHOWKEEPSIGNIN=0 VLEID="gar.XXXXX" ')
Is this the correct method? Is there a specific syntax for passing quotation marks as arguments?
I tried the "\gar.XXXX\" method, but that also returns an error.
Thank you
. Have a good day.