Home > Microsoft .Net Development Tips > ARCHIVE: Tips & Tricks > Generating Distribution Files
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ARCHIVE: TIPS & TRICKS

Generating Distribution Files


Christian Lofredo
08.29.2000
Rating: -4.10- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Generating Distribution Files

This week's tip comes from reader Christian Javier Lofredo, of Buenos Aires, Argentina. While Mr. Lofredo discusses a problem and solution particular to his native Spanish language, it should be a universal tip for those programming in a language different than the target Windows system of the application.

If you use VB Spanish version, you'll probably have problems when you try to install your application in non-Spanish Windows.

This is produced by what I think of as a bug in the VB6 process that generates distribution files for your application. When your application is finished and you want to distribute it, you must generate the distribution files including all the files your application needs. This process also generates a file called 'Setup.Lst' that includes the necessary information to install all the needed files. Setup.lst also includes some useful information about paths, shortcuts and icons, and it is here that the problem appears.
The Setup.Lst file has a Section called IconGroups. In this section, there is a variable called 'PrivateGroup0' which holds only Boolean values (TRUE, FALSE).

But Spanish TRUE and English TRUE are different t

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
ARCHIVE: Tips & Tricks
SearchVB wants your tips
Find out what VS.NET modules are installed
Retrieving icons from an EXE-file
Toggling Boolean values
VS.NET multiple tabbed windows
Set the value of a DataField in code behind
Easy grid design
Open using last Visual Studio.NET layout
Save development time by using inherited forms
Reusing code in VS.NET

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


hings. When you generate the Setup.Lst file, the Spanish VB version sets the PrivateGroup0 variable to VERDADERO ('True' in Spanish) or FALSO ('False' in Spanish). What happens when you try to install the application in the English version of Windows? Setup.EXE expects a Boolean value of TRUE or FALSE but Setup.LST has 'Verdadero' or 'Falso'.

So Setup.Exe cannot recognize the value and generates an error. The solution for Spanish users is to edit the Setup.Lst file and change the value of PrivateGroup0 variable to the English equivalents. If it says 'Verdadero' use True. If it says 'Falso' use False.

Example:
[IconGroups] Group0=ModuloCComp PrivateGroup0=Verdadero
should be changed to
[IconGroups] Group0=ModuloCComp PrivateGroup0=True.


That's it. I hope this information will be useful for those of you who use the Spanish version of VB.

-----------------------------
Christian LoFredo
lofredo_christian@redlink.com.ar

Christian, thanks for the great tip. To show our appreciation for your tip and your interest in our VB community, we're sending you a free denim shirt.

Keep those tips coming, folks.

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts