PDA

View Full Version : Was file installed?



oclassen
06-15-2006, 09:59 AM
I need to add an install file that goes with a piece of equipment my program controls, and then run the program if it is a new installation. I will only add the file if it is newer that one currently installed. Is there a way to tell if in fact the file was actually installed or if it was skipped because it was not a new file?

Thanks,
Frank

linder
06-15-2006, 10:23 AM
Frank,

This is a *very* good question. If a file is skipped then the installer does not set the %ERRORCODE% variable. And it also does not set the %ERRORCODE% variable if a file is installed or overwritten.

This is on the drawing board now. Very good point!

Thanks,

oclassen
06-15-2006, 11:00 AM
Thanks Friedrich. It never fails, no matter how much you put into a program, the users will find a totally different way of looking at things.

Frank

linder
06-15-2006, 11:11 AM
Frank,

Absolutely :)

I think this functionality will be available in the next build (SetupBuilder 5.5).