cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dmetzler
Level 6

Japanese installer issues

Using InstallShield 2009 Premiere Edition, I have created a Japanese installer. The string table has been translated, and imported into a Japanese string table.

However, there are a couple of components that still have English text:

1) A Start Menu shortcut.

2) A registry key to display a desktop item.

Can both of these items reference strings in the string table so their text is translated? If so, how can this be done?

Thanks,
Don Metzler
Labels (1)
0 Kudos
(4) Replies
sandeep_madhu14
Level 6

Check The Following Code If it is helpful to you ...

As Per Your requirement the following steps are to be done...
1) First u have to check whether there is internetConection are not..on End User Machine..

For that Following Code will chk Internet Connection availability:

//defining function prototype

prototype Wininet.InternetGetConnectedState(POINTER, NUMBER);

NUMBER nResult,bInternet,dwState;//defining variables required

nResult = UseDLL (WINSYSDIR ^ "Wininet.dll");
if((bInternet = (InternetGetConnectedState(&dwState, 0) = 0)) = TRUE)then
MessageBox("Internet Connection Available",INFORMATION);
else
MessageBox("Internet Connection UnAvailable",INFORMATION);
abort;
endif;
UnUseDLL ("Wininet.dll");

2)You have to check which type of browser the end user is using like ..INTERNETEXPLORER,FIREFOX..etc

I am working on this ..if i get solution i will report to you..

3)Dynamically downloading the url which you are giving during installation fro m the web..

For that u chk following code:

prototype void FILEDOWNLOAD();//defining function prototype

//Implementing function

function void FILEDOWNLOAD()
STRING szInstallPATH;
begin
//here u give the url which i want to download at runtime
//Forexampple i have given www.google.com

szInstallPATH = WINDISK ^ "Program Files\\Internet Explorer\\IEXPLORE.EXE www.google.com";


if (LaunchAppAndWait("",szInstallPATH , LAAW_OPTION_WAIT) < 0) then
MessageBox("Error while downloading", WARNING);

else
MessageBox("Downloaded Successfully",INFORMATION);
endif;
end;

4)Call this function where u required in the installscript...
0 Kudos
sandeep_madhu14
Level 6

dmetzler wrote:
Using InstallShield 2009 Premiere Edition, I have created a Japanese installer. The string table has been translated, and imported into a Japanese string table.

However, there are a couple of components that still have English text:

1) A Start Menu shortcut.

2) A registry key to display a desktop item.

Can both of these items reference strings in the string table so their text is translated? If so, how can this be done?

Thanks,
Don Metzler





Check The Following Code If it is helpful to you ...

As Per Your requirement the following steps are to be done...
1) First u have to check whether there is internetConection are not..on End User Machine..

For that Following Code will chk Internet Connection availability:

//defining function prototype

prototype Wininet.InternetGetConnectedState(POINTER, NUMBER);

NUMBER nResult,bInternet,dwState;//defining variables required

nResult = UseDLL (WINSYSDIR ^ "Wininet.dll");
if((bInternet = (InternetGetConnectedState(&dwState, 0) = 0)) = TRUE)then
MessageBox("Internet Connection Available",INFORMATION);
else
MessageBox("Internet Connection UnAvailable",INFORMATION);
abort;
endif;
UnUseDLL ("Wininet.dll");

2)You have to check which type of browser the end user is using like ..INTERNETEXPLORER,FIREFOX..etc

I am working on this ..if i get solution i will report to you..

3)Dynamically downloading the url which you are giving during installation fro m the web..

For that u chk following code:

prototype void FILEDOWNLOAD();//defining function prototype

//Implementing function

function void FILEDOWNLOAD()
STRING szInstallPATH;
begin
//here u give the url which i want to download at runtime
//Forexampple i have given www.google.com

szInstallPATH = WINDISK ^ "Program Files\\Internet Explorer\\IEXPLORE.EXE www.google.com";


if (LaunchAppAndWait("",szInstallPATH , LAAW_OPTION_WAIT) < 0) then
MessageBox("Error while downloading", WARNING);

else
MessageBox("Downloaded Successfully",INFORMATION);
endif;
end;

4)Call this function where u required in the installscript...
0 Kudos
dmetzler
Level 6

The original post was asking about how to localize a shortcut item and registry key entries into Japanese. The above replies do not address this issue at all.
0 Kudos
LaserVision
Level 4

you are right, sanddeep answered to another thread. Don't know if he has seen his error.

According your question have a look at http://community.installshield.com/showthread.php?t=187563, similar problem, maybe same solution. Used "my solution" also for shortcuts...
0 Kudos