access documentation from autorun

Need help authoring your installer? Ask the community for tips and advice.

access documentation from autorun

Postby mhubel » Thu Jul 12, 2012 5:41 pm

If an installer is called by a autorun.ini file on a CD, is there a way to generate a option so the user can view some supplied documentation before doing the installation?
mhubel
 
Posts: 13
Joined: Fri Jul 20, 2007 2:01 pm

Re: access documentation from autorun

Postby mihai.petcu » Fri Jul 13, 2012 11:45 am

Hello,

This is usually done by adding the ReadmeDlg from the Dialogs page.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: access documentation from autorun

Postby mhubel » Fri Jul 13, 2012 7:16 pm

Mihai,
In concept, this is what I would like to do. I was trying to get something to show before the "welcome dialog" but this is better than nothing. I did try to put in a readme dialog and got the following message:

Creating MSI database (en)... done.
Writing Summary Information... done.
Creating MSI database (fr)... error.
Failed to read RTF file "E:\usr4.0\install\Control.Text.ReadmeDlg#ReadmeText_2". Make sure you localized correctly the path for "Control.Text.ReadmeDlg#ReadmeText_2".


the actual path shown for the file is E:\usr4.0\install\readme.rtf

I was able to make this error go away by right clicking on the file name in the "readme" diaglog and changing the selection from "using specified localization identifier" to "using default localization identifier".

Now while it does build a installer without error, there does not seem to be any way to make the readme.rtf language dependent. If it was looking for additional files for other languages, I would have expected error messages. What is the rule? Looking in the dictionary, it looks like it expects something like "readme_fi.rtf". Does it allow that missing files default to English? Must the file be called readmexxx.rtf?
mhubel
 
Posts: 13
Joined: Fri Jul 20, 2007 2:01 pm

Re: access documentation from autorun

Postby mihai.petcu » Mon Jul 16, 2012 9:32 am

Hello,
I was trying to get something to show before the "welcome dialog" but this is better than nothing.

If you have any prerequisites in your package and don't mind using an .EXE package, you could also look into the "Display Information dialog" from Bootstrapper UI functionality. When setting prerequisites as pre-install, the bootstrapper dialogs will be shown before the main installer dialogs.

here does not seem to be any way to make the readme.rtf language dependent

If you're looking to show the readme text depending on the target machine language, you can follow "How do I localize the EULA and ReadMe text?" article for guidance.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am


Return to Building Installers

Who is online

Users browsing this forum: bmt22033, Dan and 1 guest