Subject: | Trouble creating a directory with spaces in its name |
When attempting to create a directory, it doesn't seem to be possible
to specify a target name with a space character in it. For example,
the following code results in an error message:
$msi->addDirectory(
-Directory=>'IconFolder',
-Directory_Parent=>'ProgramMenuFolder',
-DefaultDir=>'HOMEIN~1|Home Installers Inc:Temp');
Resulting error:
Directory information not available. at C:/Perl/site/lib/Win32/MSI/
HighLevel.pm line 4674.
The regular expression on line 4670 of HighLevel.pm seems to insist
that the target directory be free of whitespace characters. Is this
intentional? If so, how should target directories with space
characters be created?
This bug was found in Win32-MSI-HighLevel-1.0004 running on Windows XP.
perl -v returns the following:
This is perl, v5.8.8 built for MSWin32-x86-multi-thread