MattFW
Posts: 18
Joined: Fri Jul 06, 2007 4:54 am

Runtime Error building EN/JA installer.

I'm getting a Runtime Error in AI when I try to build one of my installers. The information in the error is pretty basic:

Runtime Error!

Program: <path to advinst.exe>

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.


Having looked through the forums I suspect this may relate to the fact that I have Japanese characters in file names, but I'm not quite sure how to solve it. The error occurs directly after both languages have gone through 'Creating MSI Database', the progress dialog reports: 'Building Package (all)' with the path to the Japanese .msi, just before the crash. Okaying the error dialog closes AI.

The installer is trying to install a set of folders and files with a mixture of latin characters and Japanese characters in their names. English and Japanese are set in the Languages tab. The Project Language is set to English (not sure how to change that now). I am using the bootstrapper to create an executable for installation, but I tried switching that off to produce only MSI and it didn't work.

Is there any way I can get this working or do I have to rebuild the installer with Japanese as the project language, remove the English entirely, or another option?

Thanks!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Runtime Error building EN/JA installer.

Hi,

I'm afraid we cannot reproduce this behavior so we will need you to help us.

Can you please create a structure of folders (folders, subfolders and files) in which you use those characters and create a dummy .aip file that replicates the behavior?
When you can accomplish this create an archive with the entire structure of folders and send it to us along with the aip file so we can analyze the problem.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MattFW
Posts: 18
Joined: Fri Jul 06, 2007 4:54 am

Re: Runtime Error building EN/JA installer.

I have uploaded a cut down version of the installer and files that still causes the problem here:

http://www2.ambientdesign.com/files/en- ... r_test.zip

This version has Japanese files only but English an folder name. One thing that just occurred to me is that the OS (Win XP, latest SP) is set to English not Japanese. I'm not sure if that has any bearing on it but I do remember something about codepage problems in the past trying to do similar.

Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Runtime Error building EN/JA installer.

Hello,

I have tested this on an XP machine and on a Vista machine. They both worked and the package was built. Please try on a clean machine and let us know how it went.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
MattFW
Posts: 18
Joined: Fri Jul 06, 2007 4:54 am

Re: Runtime Error building EN/JA installer.

I have just managed to get a clean machine to test on and I am getting the same problem. This was on a fresh install of Windows XP, latest service pack and nothing else installed. I will try changing the code page on my local machine to see if that helps, I think I remember something about having to do that for Japanese previously.

Return to “Common Problems”