Hello Vili,

Thursday, April 30, 2009, 22:42:38, you wrote:

>>If a user upgrades TB or Voyager, TB replaces the
>>thebat.lng/voyager.lng file. Should not or it should ask if the user
>>wants it. The reason is that we have our own English/Hungarian lng
>>file (600 kB) and it is always overwritten by the huge lng file that
>>comes with TB, so users lose their language settings in TB.

According to Windows Installer File Versioning Rules 
http://msdn.microsoft.com/en-us/library/aa368599(VS.85).aspx Versioned Files 
Win — A versioned file gets installed over a nonversioned file.

thebat.lng which comes in the MSI have booth a file version and a digital 
signature. You can click right mouse button in Windows Explorer on this file to 
see the file version.

To add a version to thebat.lng file, just create a resource-only dll file and 
append the lng file to this dll: 

copy /b your_version.dll + source\thebat.lng destination\thebat.lng

I have attached the sample resource dll and rc file to illustrate the point.



-- 
Best regards,
Maxim Masiutin                     
Ritlabs SRL
http://www.ritlabs.com/

Attachment: VersionInfo.rar
Description: Binary data

________________________________________________________
 Current beta is 4.1.11.19 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to