how to create WindowsInstaller.Installer object?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have an application in which I try to use the installer functions.
An Installer (WindowsInstaller.Installer) object must be initially created
to access the installer functions.
If I use the CreateObject function to create a new instance of Installer I
will have no problem (see a code below). However, I am wondering about is if
it is possable to create a new Installer object without using CreateObject?
Dim msiInstaller As WindowsInstaller.Installer
Set msiInstaller = CreateObject("WindowsInstaller.Installer")

Any ideas?

Regards,
Mike
 
Back
Top