user302935
user302935

Reputation: 417

Installshield Targetdir

I'am trying to make a small installer. Basic MSI.

The installdir should be \ProgramFiles\some & some\

But when I execute the installer, the "&" can't be seen. But it seems to choose the right folder. It is installed ok, to the right folder. How can I make the "&" visible in the path?

Upvotes: 0

Views: 1044

Answers (1)

Christopher Painter
Christopher Painter

Reputation: 55581

Interesting, I've never come across this problem before. The short answer is this is a side effect of using a Text control on the Custom Setup Dialog. If you press the browse button you'll see it is correct it's just getting formatted wierd. The work around would be to replace the text control with an edit control. Just be sure to give it the same subscription of SelectionPath : Text so that it displays data. Consider also setting enabled to false and sunken to false. Also be sure to not mess up the tab order.

BTW, I'd reccomend against installing to '&' anyways. It's a special character in DOS and makes navigating to the directory from a command line a pain.

Upvotes: 2

Related Questions