MSI (Windows Installer) Automation

Started by Secondlaw, July 18, 2018, 05:31:10 AM

Previous topic - Next topic

Secondlaw

Curious to know if anyone has used winbatch to automate .MSI creation.  If so, would you mind sharing some of the knowledge?

td

Windows has MSI related COM Automation interfaces.  But I have not used them and am not sure exactly what you need to automate so I can't provide much help or advice.   There is one example in the Tech Database that shows how to get version information from an MSI file.  It can be found here:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP/WindowsInstaller+Get~Product~Version~from~MSI.txt

The MSFT documentation for the installer interfaces can be found here:

https://docs.microsoft.com/en-us/windows/desktop/msi/installer-object

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

kdmoyers

I know the oft-mentioned WinINSTALL LE is still available at http://scalable.marketing.downloads.s3.amazonaws.com/WinINSTALL_LE.exe
Have not actually tried it myself though.
The mind is everything; What you think, you become.