/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Compare files between ISM Source to destination

03/08/2016 1386 views
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   [ + ] Show comments

Comments


Answer Chosen by the Author

0
Hi,
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...

Cheers
Phil
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

All Answers

0

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...
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ