PDA

View Full Version : Default language



NewsArchive
05-16-2008, 01:22 AM
I have several languages selected in a setup script. Show language
dialog is set to No.

I have Enable Installer Integrity Check set to Yes.

I have the following code as the first few lines of my script

If %CURLNG% Equals "2057" Then
Set Variable %CURLNG% to "1033"
End
Set Active Setup Language to "%CURLNG%"
If %_SB_ERRORCODE% Not Equals "0" Then
Set Variable %CURLNG% to "1033"
End

When the installer starts it displays the integrity check in, I think,
Danish, but my machine is running with UK English.

Is there any chance the integrity check could detect the active language
on the PC like the code above?
--
Simon Craythorn
InterVations, Inc
http://www.intervations.com

NewsArchive
05-16-2008, 01:23 AM
Simon,

Well, this is a very good question. The problem is that the integrity
verification is done before the script engine is started. That means, at
this very early point you do not have control over the application via the
script because it is doing a low-level integrity check.

I'll give this some thoughts...

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-21-2008, 02:26 AM
Simon,

This is automatically handled in SetupBuilder 6.8 now.

Thanks,
Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner