PDA

View Full Version : Generate an error when link to nonexistent file



sbouras1
12-15-2014, 03:38 PM
I recently migrate an old InstallShield project to work with IS2014. A difference I noticed is that the InstallShield does not generate an error when there is a file missing in the SetupDesign->Feature->Components. The IS2014 IDE will generate a warning instead and will continue with the setup compilation.

Of course I can create a script that will look for missing files and delete the executable created by Installshield but I would like to know if there is a setting in the IDE to change this warning to an actual error to avoid the executable generation.

Warning in report:
ISDEV : warning -5000: Component '' contains a link to a nonexistent file.

SW used: IS2014 Professional

GrantK
12-19-2014, 03:39 PM
Hi,

I was unable to locate a method of turn warnings to actual show stopping errors.

However, I have seen error 7119. This one tells about a missing key file and produces an actual error.

You could set the file as a key file and this would produce an actual error instead of warning.

Build Errors and Warnings
http://helpnet.flexerasoftware.com/installshield21helplib/installshield21helplib.htm#StartTopic=helplibrary/IHelpBuildErrors.htm

Grant