[New-bugs-announce] [issue45073] windows installer quiet installation targetdir escapes "quote"-symbol
DMI-1407
report at bugs.python.org
Wed Sep 1 00:39:04 EDT 2021
New submission from DMI-1407 <dmi-1407 at live.de>:
If the windows installer (Python 3.8.9 64bit exe) is run in quiet mode and the TargetDir option is used, then the last quote (") symbol gets escaped if the path ends with an backslash (\).
Example: /quiet TargetDir="D:\pyt hon\" AssociateFiles=0
Result: TargetDir=hon\" AssociateFiles=0
this raises the error that the path contains a invalid character... (the quote ofc)
Example: /quiet TargetDir="D:\pyt hon" AssociateFiles=0
Result: installs correctly
so in general "D:\pyt hon" indicates a file thats named "pyt hon" where "D:\pyt hon\" indicates a folder.
whatever "D:\pyt hon\" should be valid and i dont understand why the first backslash does not escape the p and leads to "D:pyt hon" ...
its really annoying, pls do at least write a notice into the docs that the installer behaves like this. :/
----------
components: Installation
messages: 400809
nosy: DMI-1407
priority: normal
severity: normal
status: open
title: windows installer quiet installation targetdir escapes "quote"-symbol
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45073>
_______________________________________
More information about the New-bugs-announce
mailing list