How can I to check, if Windows Installer 2.0 is installed..
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
WindowsInstaller 2.0 is installed checking
Started by
Yehuda
, Sep 11 2002 15:30
5 replies to this topic
Posted 11 September 2002 - 17:23
Look for the registry key. I'm not sure what it is, but if you have a system with it on there check the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)
Posted 11 September 2002 - 17:33
Not sure why you need to since any 3rd party MSI installs should be doing that for you.
However, you'd be better off trying to get an answer from the IS 7 Developer forum, so I'm suggesting that Stefan move your post there.
However, you'd be better off trying to get an answer from the IS 7 Developer forum, so I'm suggesting that Stefan move your post there.
Posted 11 September 2002 - 19:01
Do you need to detect the installed MSI version from a InstallShield Professional 6 project, or from a Windows Installer based tool like InstallShield Developer?
The official way for non-MSI tools would be to examine the version of msi.dll in the WINSYSDIR
The official way for non-MSI tools would be to examine the version of msi.dll in the WINSYSDIR
Stefan Krüger
InstallSite.org twitter facebook
Posted 12 September 2002 - 09:05
Thanks to all.
I need it from IS6 project for msxml4.msi installation.
The way I tried and that works:
// ----- DLL function prototypes -----
prototype msi.MsiGetFileVersionA( BYREF STRING, BYREF STRING, BYREF INT, BYREF STRING, BYREF INT );
.......
MsiGetFileVersionA( svFilePath, lpVersionBuf, pcchVersionBuf, pLangBuf, pcchLangBuf );
P.S. The function GetDllVersion doesn't work on the old ( 95, ... ) Windows OS.
I need it from IS6 project for msxml4.msi installation.
The way I tried and that works:
// ----- DLL function prototypes -----
prototype msi.MsiGetFileVersionA( BYREF STRING, BYREF STRING, BYREF INT, BYREF STRING, BYREF INT );
.......
MsiGetFileVersionA( svFilePath, lpVersionBuf, pcchVersionBuf, pLangBuf, pcchLangBuf );
P.S. The function GetDllVersion doesn't work on the old ( 95, ... ) Windows OS.
Yehuda
Posted 13 September 2002 - 14:57
Note that this will obviously fail if there's not msi installed at all. So you shuld check your UdeDLL call and act properly.
Stefan Krüger
InstallSite.org twitter facebook