Programación General > Visual Basic 6.0 e inferiores

 Inno Setup (crear instaladores)

<< < (4/4)

ImRicoh:
El mismo IS tiene unos ejemplos de multilenguaje aca te dejo el codigo

Con el Notepad crea estos archivos:

MyProg.exe
MyProg.chm
Readme.txt
Readme-Spanish.txt



--- Código: Text ---; -- Languages.iss --; Demonstrates a multilingual installation. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES! [Setup]AppName={cm:MyAppName}AppId=My ProgramAppVerName={cm:MyAppVerName,1.5}DefaultDirName={pf}{cm:MyAppName}DefaultGroupName={cm:MyAppName}UninstallDisplayIcon={app}MyProg.exeVersionInfoDescription=My Program SetupOutputDir=D:Kanashirodemo; Uncomment the following line to disable the "Select Setup Language"; dialog and have it rely solely on auto-detection.;ShowLanguageDialog=no; If you want all languages to be listed in the "Select Setup Language"; dialog, even those that can't be displayed in the active code page,; uncomment the following line.;ShowUndisplayableLanguages=yes [Languages]Name: en; MessagesFile: "compiler:Default.isl"Name: sp; MessagesFile: "compiler:LanguagesSpanish.isl" [Messages]en.BeveledLabel=Englishsp.BeveledLabel=Spanish [CustomMessages]en.MyDescription=My descriptionen.MyAppName=My Programen.MyAppVerName=My Program %1sp.MyDescription=Mi descripcionsp.MyAppName=Mi programasp.MyAppVerName=Mi programa %1 [Files]Source: "MyProg.exe"; DestDir: "{app}"Source: "MyProg.chm"; DestDir: "{app}"; Languages: enSource: "Readme.txt"; DestDir: "{app}"; Languages: en; Flags: isreadmeSource: "Readme-Spanish.txt"; DestName: "Leeme.txt"; DestDir: "{app}"; Languages: sp; Flags: isreadme [Icons]Name: "{group}{cm:MyAppName}"; Filename: "{app}MyProg.exe"Name: "{group}{cm:UninstallProgram,{cm:MyAppName}}"; Filename: "{uninstallexe}" [Tasks]; The following task doesn't do anything and is only meant to show [CustomMessages] usageName: mytask; Description: "{cm:MyDescription}" 

Navegación

[0] Índice de Mensajes

[*] Página Anterior

Ir a la versión completa