Author Topic: MSI (Windows Installer) Automation  (Read 104 times)

Secondlaw

  • Newbie
  • *
  • Posts: 15
MSI (Windows Installer) Automation
« on: July 18, 2018, 05:31:10 am »
Curious to know if anyone has used winbatch to automate .MSI creation.  If so, would you mind sharing some of the knowledge?

td

  • Tech Support
  • *****
  • Posts: 2566
    • WinBatch
Re: MSI (Windows Installer) Automation
« Reply #1 on: July 18, 2018, 06:56:52 am »
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

"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates


kdmoyers

  • Full Member
  • ***
  • Posts: 223
Re: MSI (Windows Installer) Automation
« Reply #2 on: July 19, 2018, 05:11:59 am »
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.