Unable to extract temp file to a Unicode location - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Emmett_Brown
Posts: 4
Joined: Thu Jun 25, 2009 12:45 pm

Unable to extract temp file to a Unicode location

Hi,

I have encountered a problem while trying to install a package (created by AI 7.6) which has a temporary file which destination path contains Unicode characters. In particular the destination is the Windows Temporary directory but the user name contains Unicode characters so the actual path to %temp% directory is C:\Users\사용자\ AppData\Local\Temp

I attached a screen shot from Process Monitor which was running during the installation.

User name is사용자 (Korean language) but in the picture there is “3?” string instead of a real user name.
This problem does not occur in case of installed files (not temporary).

To reproduce it 2 steps must be followed:
1. It is need to either have one of the Unicode language version of the OS (e.g. Korean, Japanese) or set system locale in Control Panel -> Regional and Language Options -> Administrative tab -> Change system locale... to one of the Unicode languages and reboot
2. Create an user account that username contains a Unicode characters
Then if an attempt to install is made, a temporary file is never extracted to %temp% directory.

Thanks for any help.
Regards,

Emmett Brown
Attachments
scr.jpg
scr.jpg (23.67 KiB) Viewed 3895 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to extract temp file to a Unicode location

Hi,

Can you please send us the aip file to support at advancedinstaller dot com so we can further investigate this behavior?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to extract temp file to a Unicode location

Hi,

It seems there is a bug in Advanced Installer, i.e. the paths for temporary files don't support Unicode characters.

A future version will surely include this improvement, until then the solution is for you to place the temp file in a per-machine location, like "Common Application Data" folder for example.

Also, to make sure you identify correctly your file I suggest you give to it a stronger name, for example:

Code: Select all

script-{some GUID}.vbs
Please let us know if you have any other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”