The 'onlyifdoesntexist ' flag

Started by Randem, May 15, 2007, 10:18:15 AM

Previous topic - Next topic

Randem

No, if it is not to be distrubuted you should not distribute it PERIOD. Place the file in the unsafe file list and do not distribute it.
 
If you handle it the way you are proposing if the file on the machine is an old version will your app still work?
 
There may be licensing issues with that component.

vb_rookie

This file is in the inclusions for the innoscript generation BUT it is not to be distributed to machines that have Office products already installed on it. SO, if it needs the file, install it. If its not there, dont. See what i mean?

Randem

If it should not be distributed... Why would you distribute it????

vb_rookie

If I have a file such as msacc.olb that shouldnt be redistributed if the file exists on the host computer, should this line deal with it properly?
(done in the Files section)
 
Source: c:windowssystem32msacc.olb; DestDir: {sys}; Flags: onlyifdoesntexist sharedfile regtypelib;