Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

components including files with same name


1 reply to this topic

shinecn

shinecn
  • Full Members
  • 1 posts

Posted 13 April 2011 - 03:53

Hello,
We are using:
Install Shield Premier Edition 2008
Basic msi project

we meet a problem when install components to the same target location according to user select condition during install UI process.

Our project has a large of files and these files are placed in different folder. But files in different folders may have the same name. And these files's version, create date and modify date either same or different.
Dynamic linking is used to these folder.

For example:
we have two components:
componentA, this is component should be installed as default.
componentB, this is component will be installed according to user selection during UI install process.

componentA linked dynamically includs two file named 1.txt,2.txt
componentB linked dynamically includes two file named 1.txt,3.txt

Both 1.txt could either have the same conent or different.

The workflow is:
if user actives checkbox1, the componentB will be installed otherwise only componentA installed as default.

We find if 1.txt of componentA is newer, it will always installed to target. But what we want is if checkbox1 actives, 1.txt of componentB will be installed.

I am rather a hurry to get answer and any help would be very much appreciated.

Regards
Shine












Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 April 2011 - 19:57

Re-organize your files. Don't install conflicting files. Instead, add a component for 1.txt (version A) and install it only if component B is not selected for installation.