Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

shortcut & '.' at the end of the folder name


5 replies to this topic

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 02 September 2010 - 09:17

Hello,

I've to add a shortcut to Start Menu->Programs Menu->My Folder.->My Application

The problem is the '.' at the end of the folder name. Windows removes it automaticaly!

The first solution was to add an non breaking (code ascii 255) char after the '.'
It works but not with unicodes languages like Japanese, Chinese, ... with these languages a garbage char is displayed (a little square).

Is there any solution?

Thank you,
Chris







Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 September 2010 - 21:27

Looks like Windows in general doesn't allow folder names ending with a .
There's probably nothing you can do to change this, it's the way Microsoft build Windows.

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 07 September 2010 - 09:24

Stefan,

If I add manualy (ALT-255) to this folder name it works.
The problem is the way InstallShield converts this char when installing in japanse, chinese, ... (any unicode lng).

Thank you

Edited by lavocat, 07 September 2010 - 13:18.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 07 September 2010 - 14:45

ALT-255 is not the normal period sign.
If you manually try to create a folder with a period at the end in Windows Explorer the period is also removed automatically.

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 08 September 2010 - 07:54

This is my concrete example;
-create manualy a folder "ABCD" to "Start->Programs" menu
-rename "ABCD." (+ char 255 by pressing Alt key + 255)
==>"Start->Programs->ABCD." is ok '.' is not removed because followed by char 255

or

-create the folder by adding a shortcut with installshield with a string xyz
(the value of xyz in ISString table is"ABCD."+ char 255)
==>"Start->Programs->ABCD." is ok '.' is not removed because followed by char 255

My question is why InstallShield transforms char 255 when an unicode language is used. This char (non breakink char) exists also in the Unicode char table.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 September 2010 - 14:13

Now I understand, but I don't know why this happens. And I find it quite unusual to have a folder name (seemingly) ending with a period.