#123129# Paths in INF files have to be triple quoted
This commit is contained in:
parent
1c0708a317
commit
0e87a2a864
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ sub write_content_into_inf_file
|
||||||
|
|
||||||
my $value = "";
|
my $value = "";
|
||||||
if ( $registryitem->{'Value'} ) { $value = $registryitem->{'Value'}; }
|
if ( $registryitem->{'Value'} ) { $value = $registryitem->{'Value'}; }
|
||||||
if ( $value =~ /\<progpath\>/ ) { $value =~ s/\\\"//g; } # no more usage of "\""
|
if ( $value =~ /\<progpath\>/ ) { $value =~ s/\\\"/\"\"/g; } # Quoting for INF is done by double ""
|
||||||
$value =~ s/\\\"/\"/g; # no more masquerading of '"'
|
$value =~ s/\\\"/\"/g; # no more masquerading of '"'
|
||||||
$value =~ s/\<progpath\>/\%INSTALLLOCATION\%/g;
|
$value =~ s/\<progpath\>/\%INSTALLLOCATION\%/g;
|
||||||
# $value =~ s/\%INSTALLLOCATION\%\\/\%INSTALLLOCATION\%/g; # removing "\" after "%INSTALLLOCATION%"
|
# $value =~ s/\%INSTALLLOCATION\%\\/\%INSTALLLOCATION\%/g; # removing "\" after "%INSTALLLOCATION%"
|
||||||
|
|
Loading…
Reference in a new issue