cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Marcus_Chuang
Level 4

error -6118

Project Type: InstallScript MSI project (InstallShield 2009 Premier)

I need to disable "Modify" and "Repair" when setup is run after installation (in maintenance mode). I found the solution in this post provided by Robert: http://community.installshield.com/showthread.php?t=182710&page=3&highlight=SdWelcomeMaint .

My project supports multi-language. After I modified the SdWelcomeMaint dialog (as Robert suggested) in the dialog editor, I got a build error:

=======================error log Begin=======================
Generating RC file: _ISUser2052.rc
Building dialog 12053
Built 1 dialogs into resource file: _ISUser2052.rc
Building RES file: _ISUser2052.res
Compiling resource DLL: _isuser2052.dll
Resolving strings...
Language Chinese (Simplified) built
Generating RC file: _ISUser1028.rc
Building dialog 12053
Built 1 dialogs into resource file: _ISUser1028.rc
Building RES file: _ISUser1028.res
Compiling resource DLL: _isuser1028.dll
Resolving strings...
Language Chinese (Traditional) built
Generating RC file: _ISUser1031.rc
Building dialog 12053
Built 1 dialogs into resource file: _ISUser1031.rc
Building RES file: _ISUser1031.res
Compiling resource DLL: _isuser1031.dll
Resolving strings...
Language German built
Generating RC file: _ISUser1040.rc
Building dialog 12053
Built 1 dialogs into resource file: _ISUser1040.rc
Building RES file: _ISUser1040.res
Compiling resource DLL: _isuser1040.dll
Resolving strings...
Language Italian built
Generating RC file: _ISUser1041.rc
Building dialog 12053
Built 1 dialogs into resource file: _ISUser1041.rc
Building RES file: _ISUser1041.res
path\productname\_ISUser1041.rc (24): error RC2104 : undefined keyword or key name: <






ISDEV : error -6118: The Resource compiler failed to build the RES file "path\productname\_ISUser1041.res" required to link the DLL.


=======================error log End=======================

It seems this error is occurred by Unicode issue, does it? To solve this issue, I found another post http://community.installshield.com/showthread.php?t=139195&highlight=error+RC2104
However, the solution provided by davidh seems not worked for me.



Does anyone also have this issue? Please give me some hints.
Thanks in advance...
Labels (1)
0 Kudos
(8) Replies
hidenori
Level 17

Do you have the Japanese code page installed on your build machine?
0 Kudos
Marcus_Chuang
Level 4

Yes...I think the Japanese Code Page in my system is installed.

Check my system:
Control Panel -> Regional and Language Options -> Advanced -> Code Page Conversion Table: The options related with Japanese are all selected, they are:
10001 (MAC-Japanese)
20290 (IBM EBCDIC Japanese Katakana Extended)
50220 (ISO-2022 Japanese with no halfwidth Katakana)
50221 (ISO-2022 Japanese with halfwidth Katakana)
50222 (ISO-2022 Japanese JIS X0201-1989)
932 (ANSI/OEM Japanese Shift-JIS)

have any other clue? Thanks...
0 Kudos
hidenori
Level 17

Can you post _ISUser1031.rc and _ISUser1041.rc?
0 Kudos
Marcus_Chuang
Level 4

Hi, hidenori:
Please see the attachment, thanks a lot
0 Kudos
hidenori
Level 17

It looks like that the push button text, 'Cancel' contains an invalid character. Please make sure that the Japanase string is good in your project. Also try building your project on a Japanese system, and see if you still are getting the error.
0 Kudos
Marcus_Chuang
Level 4

I don't have Japanese system on hand, so I go to the control panel -> Regional and Language Options -> Current Language for non-Unicode Programs: select Japanese. Is this procedure correct? Following this assumption, I started to build my project on this system. The build result: Japanese, English, Korean, Italian, German, France are ok, but Traditional Chinese.rc and Simplied Chinese.rc are failed to pass.

Additionally, I found something weird. The following is my step (Doing these in my original system):
1. Create an empty InstallShield MSI project.
2. In Project Properties -> Setup Language, I select Japanese, Chinese (Simplied), Chinese (Traditional)
3. Build it.
4. no error happens...
5. Then I go to SdWelcomeMaint dialog in User Interface -> Dialogs, right click on it and select "edit" option (I just click "edit" option and do nothing afterwards)
6. Build it again and I got the same error as before.
=======================================================
Building RES file: _ISUser1041.res
K:\IS_Testing\Multilingual\_ISUser1041.rc (31): error RC2104 : undefined keyword or key name: <
ISDEV : error -6118: The Resource compiler failed to build the RES file "K:\IS_Testing\Multilingual\_ISUser1041.res" required to link the DLL.
=======================================================

From this simple test, it apparently shows this error -6118 has nothing to do with my original project. So this error is occurred by my system (Chinese, Traditional Taiwan) or InstallShield 2009 Primer?
0 Kudos
Marcus_Chuang
Level 4

Sorry for hidenori...
I made a mistake yesterday because I missed some important steps in my previous post.
Please review my modified post, thanks...
0 Kudos
Marcus_Chuang
Level 4

This problem is solved. The procedures are:
1. In Project Properties -> Setup Languages, uncheck the Japanese then select Japanese again.
2. Go to "User Interface -> Dialogs" to modify SdWelcomeMaint dialog as what you want.
3. Build it and that error goes away.

Maybe a little strange, but it really solves my problem.
Thanks, hidenori
0 Kudos