This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Remove MSDE before installing SQL Express
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 04, 2008
07:54 PM
Remove MSDE before installing SQL Express
Hi all, We have changed from deploying MSDE (Microsoft SQL Server Desktop Engine) to using SQL Express 2005 and some of our customers already have MSDE installed and I get errors when installing sql express over MSDE. So MSDE needs to be removed first, rather than ask the user to remove MSDE manually first before starting the install, is there a way for the installer to detect if msde is installed and then install sql express? How?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 05, 2008
04:51 PM
You probably need to write an .exe that will do your desired task, and run it as a setup prerequisite before installing a Microsoft SQL Server 2005 Express. You can retrieve the ProductCode of a MSDE installation package from the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\InstanceName\Setup registry key, and then retrive the PackageCode using the MsiGetProductInfo() API. You can uninstall the MSDE by executing the "C:\WINDOWS\system32\msiexec.exe /x {PackageCode}" command line.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)