How to change a message Box for Disc change ? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

QfG
Posts: 10
Joined: Wed Jun 08, 2011 6:45 am

How to change a message Box for Disc change ?

Hello,

i have two little cosmetic problems. Problem 1: I make a installer of one from our programs. this program sized 13GB. I will split it in one DVD9 and one DVD5. I create *cab files with a size of 750MB this works fine for me. Now the cosmetic Problem, if the installer reached up to CAB number 11 (the first cab on the second DVD) there comes a message like this:
Image.
I will change this "Error Message" in a message like this, for example:
Image

My Example is only a simple VBS Script, i will change only the Text in the Installer. I can't find a Option in the installer, to change or create own messages. can i do this with installer ?

Cosmetic Problem 2: If i use a multilingual package, and working on the installer theme, any changes are only on my choosen theme: For example, I see the German Dialogs from the german language theme in the tab "Dialogs". in the options from the "ProgressDLG" there is a option called Logo. if i change this (Standart is : Advanced Installer) in a other text, this change are only on my german theme. If i change by the install routine the language to english, there stand on this point ; Advanced Installer, not my own Logo. How can i change this Logo Text for ALL languages, or how can i change the language theme in the Advanced installer, that i change this on every language. this is no problem for me, when i must change this extra for every language.


i say thanks for every help.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to change a message Box for Disc change ?

Hello,
Problem 1:
To display a message for each language you can localize the error's string. Its localization ID in your case is :

Code: Select all

Error.1311
Here is a tutorial to help you out.

I am not sure what you are describing for the second problem. Please attach some screenshots of what you mean. What theme are you using?( Azure, Graphite, Classic, Spring, Modern, Air )

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
QfG
Posts: 10
Joined: Wed Jun 08, 2011 6:45 am

Re: How to change a message Box for Disc change ?

Thanks for your help with problem 1. I test it now, good that i know that this can changed, i will find it anyway :D

ok i give you a few screenshots and tell you what i do.

1. I start the Advanced Installer and choose the wizard Enterprise and choose German Language.
Image

2. Now i go to the tab "Translations" and choose Italian for second language.
Image

3. I go to the "Dialogs" Tab and change the Logo (i use the classic theme). All Dialogs i see are ONLY in German, i don't see where i can edit the italian dialogs.
Image

4. i use the follow Otions on Bootstrapper.
Image

5. Now i compile the script and start the Installer with Italian Language and here is the cosmetic glitch
ImageImage

Here is it. All changes that i do are uses by all Languages. My Pics or other Text Changes but not the Logo. The Logo changes only on the language, if i have edited. This is my problem.

Thanks for your help, maybe i'm stupid i don't know :mrgreen:


Ok now Problem 1. Thanks i don't see this function, but this is the answer for my problem2. :D , but i don't find the error strings...
I have expand all Strings to the *.AIL File, but i can't see any error string on this file. I see only this here:
Image
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to change a message Box for Disc change ?

Hello,

If you click on the Localization button from its Display -> Text property on the Dialogs page you can see the localization string( under "Using specified localization identifier:" ) of that static text( Logo ) and localize it in the same way as described in the tutorial from my last post. This button is on the right side of the input field with a dark/light blue flag.

http://www.advancedinstaller.com/user-g ... ialog.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
QfG
Posts: 10
Joined: Wed Jun 08, 2011 6:45 am

Re: How to change a message Box for Disc change ?

Thank you mihai.petcu, this works perfect. Problem number 2 is finished :mrgreen:
Have i used this here \o-o/ i find the answer myself...

Only this Error Message Problem, i can't find this String in the Dialogs and i have expand ALL dialogs, too, i see nothing :evil:

Greetings, Tim
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to change a message Box for Disc change ?

Hi Tim,

You can manually add the entry in your generated dictionary. Something like:

Code: Select all

<ENTRY id="Error.1311">
    <STRING lang="en" value="Source file not found{{(cabinet)}}: [2].  Verify that the file exists and that you can access it."/>
    <STRING lang="de" value=""/>
    <STRING lang="it" value=""/>
</ENTRY>
Then by editing the value attribute you can have any desired value for each language.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
QfG
Posts: 10
Joined: Wed Jun 08, 2011 6:45 am

Re: How to change a message Box for Disc change ?

Ok i have it, thank for your help. i have created a UTF-8 File called DVDchange.ail and this works fine.

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage" >
  <ENTRY id="Error.1311">
    <STRING lang="de" value="Bitte Disc 2 einlegen"/>
    <STRING lang="it" value="Si prega di inserire il disco 2"/>
    <STRING lang="en" value="Please insert Disc 2"/>
    <STRING lang="es" value="Por favor inserte el disco 2"/>
    <STRING lang="fr" value="S'il vous plaît insérez le disque 2"/>
  </ENTRY>
</DICTIONARY>
Very good and fast support from you :D

EDIT

I found a second way, too. You can directly edit the *.ail files in the Advanced Installer program dir\dictionaries. So this changes take effect at every new project. This is for me the better way.


Greetings, Tim

Return to “Common Problems”