Disable Unicode Characters in APPDIR - Advanced Installer Community
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Disable Unicode Characters in APPDIR

My product does not work with Unicode paths in the filepath. I have having problems with my Korean installer for our product because it seems that

My Application Directory is configured in the Advanced Installer project as:
[WindowsVolume]\[Manufacturer]\[ProductName]
When we run our Korean installer, we're seeing some issues. If we have Korean set as our system language AND as the language for non-Unicode Programs, the slashs are replaced with the Won symbol (₩) and we get this as our AppDir:
APPDIR using Won symbol instead of slash
APPDIR using Won symbol instead of slash
KRNon-UnicodeAPPDIR.jpg (45.77 KiB) Viewed 6344 times
While Advanced Installer will function correctly, this breaks our client. Is there any way to restrict the characters that can be used for our APPDIR?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Unicode Characters in APPDIR

Hello,

I'm afraid this is the default Windows Installer behavior on target machine having a non-ansi language set as current system locale.
While Advanced Installer will function correctly, this breaks our client.
Can you please give us more details about this (maybe exemplify)
Is there any way to restrict the characters that can be used for our APPDIR?
Unfortunately, we don't have predefined support for this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Disable Unicode Characters in APPDIR

Our product does not work if the install path has Unicode characters in it. That bug doesn't have anything to do with Advanced Installer, it is a bug on our end that we are working to fix. In the meantime, though, I'd like to update the installer for the Korean region but I need to ensure that there are no Unicode characters in the APPDIR.

If I can't restrict characters in the Install path, is there a way to:
  • Change APPDIR before FolderDlg to not have the unicode characters that Windows Installer has inserted?
  • Have verification after FolderDlg and display a prompt if Unicode characters are found?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Unicode Characters in APPDIR

Hello,
Change APPDIR before FolderDlg to not have the unicode characters that Windows Installer has inserted?
Have verification after FolderDlg and display a prompt if Unicode characters are found?

I'm not sure if this requirements can help you. Can you please give us more details about your scenario? Also, can you tell us why this display format of the installation path (APPDIR) affects your installed application (maybe exemplify)? Maybe we'll be able to suggest a proper workaround for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Disable Unicode Characters in APPDIR

I've been gone for a week, so sorry for the late reply. Our application will not run if there are Unicode characters in the path to the application folder. It is a known bug with our app, and I'm working with some devs on this issue. In the meantime, I'm trying to see if Advanced Installer could restrict the use of Unicode characters in the install directory as a workaround.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Unicode Characters in APPDIR

Hello,

I'm afraid we don't have support for this. As a workaround you can try to develop your own custom action which will parse and edit the APPDIR property value.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”