how to create WindowsInstaller.Installer object?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top