cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kriz_82
Level 5

Ampersand in path

Hi,

I have noticed that if my INSTALLDIR contains ampersand (&), it is not displayed and the next character is underlined on the DestinationFolder dialog but the files are installed in the correct path.
[INSTALLDIR] value: [ProgramFilesFolder]Mom&Dad\Foo
DestinationFolder dialog shows: C:\Programs Files\MomDad\Foo (D is underlined)
Files get installed to: C:\Programs Files\Mom&Dad\Foo

When I use two ampersands, one ampersand is displayed on the DestinationFodler dialog but files are installed under path with two ampersands
[INSTALLDIR] value: [ProgramFilesFolder]Mom&&Dad\Foo
DestinationFolder dialog shows: C:\Programs Files\Mom&Dad\Foo
Files get installed to: C:\Programs Files\Mom&&Dad\Foo

Is there a way to show correct path (with ampresands) on the DestinationFolder screen?

Regards!
Labels (1)
0 Kudos
(1) Reply
kriz_82
Level 5

Maybe I will rephrase my question.
How to escape ampersand that creates accelerator key on the DestatinationFolder screen (&&) and got the files installed in the path containing single ampersand (&) at the same time?

Regards!
0 Kudos