cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
krnp007
Level 2

MSI Creation Automation from C# or any other automation scripts

I am trying to automate the creation of install packages for the company I work for. As we have multiple files which we have to add manually from components tab when we using wizard to create MSI.

I am looking for some example to create .msi file from multiple files (.dll, .pdb, etc.) and before creating I want to set some property also, i.e- Product code, MSI name, Path of the created .msi file, version, etc. We are using installSheild 2016 for manual creation of msi.

Can someone guide me how I can acheive this as it is very important for me and I have no any experience on this.

 

Thanks in advance!

Labels (1)
0 Kudos
(1) Reply
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @krnp007,

Thank you for your post.

InstallShield 2016 has reached its end-of-life and is no longer supported. We will need you to upgrade to a supported InstallShield version to receive technical support beyond what is shared in this post.

As a courtesy, here is a link to a blog post about how to get started with C# and the Automation Interface:

https://www.revenera.com/blog/software-installation/getting-started-with-installshield-automation-and-c/

Here are a few links about the automation interface:

https://docs.revenera.com/installshield23helplib/installshield23helplib.htm#helplibrary/IHelpAutomation.htm

https://docs.revenera.com/installshield23helplib/installshield23helplib.htm#helplibrary/AutomationInterface64Bit.htm

https://docs.revenera.com/installshield23helplib/helplibrary/IHelpAutoISWiProject.htm#ref-automationinterface_391531000_wp1883

You can set the product code via an ISWiProject object reference and generate a GUID via the GenerateGUID automation interface API function off of an ISWiProject object reference.

Please let us know if you have any questions or concerns.  Thank you for your patience and cooperation.

0 Kudos