Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Windows MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 12-19-2008, 03:12 AM   #1 (permalink)
Gidi
Guest
 
Posts: n/a
Default Get Windows Installer Version

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
  Reply With Quote
Old 12-19-2008, 03:12 AM   #2 (permalink)
Dennis Bareis
Guest
 
Posts: n/a
Default Re: Get Windows Installer Version

Hi,

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

>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/libr...95(VS.85).aspx


The installer object can also obtain file versions.

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:05 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com