How to add the files in install shield from source to destination through script or code.
Before adding i want to compare the files. Please suggest some stpes to do it.
Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer Chosen by the Author


similar to your previous question, this is a good example for what the COM interfaces expose from InstallShield. As your two questions more or less go hand in hand, you will have no rela option but to use the COM interfaces...

Answered 03/08/2016 by: Pressanykey
Red Belt

  • Thanks for your answer..Do you have example script to compare the files from source to destination...If you share the script it would be more helpful for me...
    • Hi,
      no, I don't as I have not used IS in this scenario in years... Apart from that, you are not 100% clear in what exactly you want to do. I suggest that you study the IS automation documentation
Please log in to comment
Answer this question or Comment on this question for clarity



you may be able to use the dynamic linking of a folder. I have never used that. If you open the ISM, got to files, then drag and drop a new folder into you project, you should see the pop about dynamic linking.

I prefer to know what is intended to go into the MSI/ISM and add them as needed. That way i can set up the feature hierarchy properly and create new components for each file when needed. I can then set the component attributes to extract COM info at build, .NET settings etc.

Answered 03/09/2016 by: Badger
Red Belt

  • Dynamic linking isn't the best solution, as I used to have problems in the past...
    Using the COM interfaces IMHO is the best bet, as you have granular control and control all aspects of your build. That said, as VBScab has mentioned in the second post from the original poster, WiX is a good solution but you have to get it set up correctly first...
Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja