How can I check if MS SOAP is installed? and I'd like to abort installation with user friendly message if it doesn't.
Thank you.
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.
Check if SOAP is installed
Started by
Sunny_xms
, May 12 2004 13:25
4 replies to this topic
Posted 13 May 2004 - 15:08
I don't know about SOAP but if there's a file or registry entry that indicates this, then you could set up a system search and a launch condition with the result of the search.
Stefan Krüger
InstallSite.org twitter facebook
Posted 13 May 2004 - 15:25
SOAP is installed via a very buggy merge module most of the time. I assume you could query the windows installer database for the GUID of this merge module. If it exists you continue.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 13 May 2004 - 16:15
Thank you for your help.
In my installation I decided to search through registry for SOAP's COM Objects registration - MSSOAP.SoapServer, MSSOAP.SoapClient and e.t.c.
I've also checked MS SQLXML distrib that requires SOAP. Well, it checks for MSSOAP1.dll (MinVersion="1.2.812.0") at [CommonFilesFolder]\MSSOAP\Binaries.
In my installation I decided to search through registry for SOAP's COM Objects registration - MSSOAP.SoapServer, MSSOAP.SoapClient and e.t.c.
I've also checked MS SQLXML distrib that requires SOAP. Well, it checks for MSSOAP1.dll (MinVersion="1.2.812.0") at [CommonFilesFolder]\MSSOAP\Binaries.
Posted 14 May 2004 - 14:30
Ok, I've done it. My installation won't run if SOAP doesn't exist on user's computer. So, In table LaunchCondition I have condition: SOAP_SEARCH <> "", where SOAP_SEARCH is a property that is empty("") if no SOAP found.
Now I try to uninstall it (click on "Remove" in Add/Remove programs). But I get a message from LaunchCondition that SOAP doesn't exist. But it exists! It seems so, that when uninstallation runs by clicking on "Remove", properties do not initialized... Am I right?
So, the question is how to skip this condition on unistallation?
I tried (NOT Installed) AND (SOAP_SEARCH <> "") but it doesn't help.
Thank you.
Now I try to uninstall it (click on "Remove" in Add/Remove programs). But I get a message from LaunchCondition that SOAP doesn't exist. But it exists! It seems so, that when uninstallation runs by clicking on "Remove", properties do not initialized... Am I right?
So, the question is how to skip this condition on unistallation?
I tried (NOT Installed) AND (SOAP_SEARCH <> "") but it doesn't help.
Thank you.