Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: vb_rookie on May 15, 2007, 10:18:15 AM

Title: The 'onlyifdoesntexist ' flag
Post by: vb_rookie on May 15, 2007, 10:18:15 AM
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;
Title: The 'onlyifdoesntexist ' flag
Post by: Randem on May 15, 2007, 03:03:38 PM
If it should not be distributed... Why would you distribute it????
Title: The 'onlyifdoesntexist ' flag
Post by: vb_rookie on May 15, 2007, 03:12:04 PM
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?
Title: The 'onlyifdoesntexist ' flag
Post by: Randem on May 15, 2007, 06:32:45 PM
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.