Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: General » microsoft.public.windows.msi
Thread: Get Windows Installer Version

HTVi
TV Discussion Newsgroups

Get Windows Installer Version
Gidi 11/15/2008 5:39:01 PM
Hi,

I'm building an Installation application, and i need to check weather
Windows Installer installed on the machine or not, and if so, which version.
I've searched google in the last few days, and i found the by checking the
version of msi.dll i will be able to know the version, and for checking the
version, i can use the GetDllVersion.
i'm building my installation, using InstallShield, and in order to use a
microsoft API, i need to use the dll that contains this API, and i can't find
which one is it.

so I've few questions:

1. Is there a way to check if Windows Installer installed and it's version
by using the registry?

2. How can I use the GetDllVersion API?

3. if there's a better way to check it, I'll be happy to hear about it.

Thanks,
Gidi
Re: Get Windows Installer Version
Dennis Bareis <dbareis[ at ]newsgroup.nospam> 11/15/2008 10:25:07 PM
Hi,

On Sat, 15 Nov 2008 09:39:01 -0800, Gidi <shnapsi[ at ]hotmail.com.dontspam> wrote:

[Quoted Text]
>Hi,
>
>I'm building an Installation application, and i need to check weather
>Windows Installer installed on the machine or not, and if so, which version.

>3. if there's a better way to check it, I'll be happy to hear about it.

You can use the version propert of the installer object, see
"Installer.Version Property" at:

http://msdn.microsoft.com/en-us/library/aa369495(VS.85).aspx


The installer object can also obtain file versions.

Bye,
Dennis
Dennis Bareis [Microsoft MVP] (dbareis[ at ]KillSpam.gmail.com)
http://dennisbareis.com/
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com/

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen