At design time, when I add files to $TARGETDIR$ or into other folders it's easy to add the same file unintentionally to the files already in the target dir. So the file is added more than once into the setup.
Is there a way to avoid this?
I think that:
- If a file is coming from a different path then it must be added even if the same file name is in the setup.
But:
- if the same file path and file name is already in the $TARGETDIR$ it must be discarded.
How to avoid unwanted duplicate files
How to avoid unwanted duplicate files
Maurix
www.radiotaormina.com
www.radiotaormina.com
-
Alex_Ronquillo
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
This is something that is provided by IA, but is left to the user to specify whether to discard or not a file if another copy is present. See attached image for example.
File Attached:
file install.JPG
File Attached:
file install.JPG
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Sorry, but what I need is avoiding duplicate files in the listview of the Setup Architecture > Files section in the IA IDE.
If a file (same path + same name) is already in the listview, why IA allows me to add it again to the listview?
When a file is twice times in the listview I notice that it is included in the setup too twice.
I attached a screenshot so maybe you could understand what I mean.
File Attached:
example.jpg
If a file (same path + same name) is already in the listview, why IA allows me to add it again to the listview?
When a file is twice times in the listview I notice that it is included in the setup too twice.
I attached a screenshot so maybe you could understand what I mean.
File Attached:
example.jpg
Maurix
www.radiotaormina.com
www.radiotaormina.com

