ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

Creating installer with all files contained in merge modules

Hi,

We have a number of applications (exes) and modules (dlls) that can be installed in various combinations so to make everything work smoothly all of our installation logic is separated into merge modules for each component. However a number of problems have arisen that we can't seem to work around:
  • Installer built purely from merge modules with no files in installer always fails to install during file copy stage with error of the form "The file 'x' cannot be installed because the file cannot be found in cabinet file 'y.cab'. This could indicate a network error, an error reading from the CD_ROM, or a problem with this package." However if we include any arbitrary file in the main installer 'Files and Folders' section the generated installer runs fine.
  • Unable to create features inside merge modules and can't create features in main installer without files. Therefore users cannot customise installation.
Not sure if the way we want to do this is possible but if there is an obvious error in the logic or simple solution we would love to hear about it.

Many thanks,
Ewan
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Installer built purely from merge modules with no files in installer always fails to install during file copy stage with error of the form "The file 'x' cannot be installed because the file cannot be found in cabinet file 'y.cab'. This could indicate a network error, an error reading from the CD_ROM, or a problem with this package." However if we include any arbitrary file in the main installer 'Files and Folders' section the generated installer runs fine.
This is due to a bug in Advanced Installer. The fix will be available in 4.1 version which will be released about 2 weaks now. A simple workaround is to add a dummy file.
Unable to create features inside merge modules and can't create features in main installer without files. Therefore users cannot customise installation.
In merge modules you can't create features but in main installer you can. In the "Merge Module" page select a merge module and choose "Configure". In this way you can associate a merge module with a feature.

Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

ok thanks, will go with the dummy file for now and look forward to the fix in next release.

Cheers,
Ewan

Return to “Common Problems”