HI I am using WIX to generate an MSI. The problem is with the uninstall option through the wizard. If any version of SQL server exists, it does not uninstall the application. But if sql server is not present it uninstalls successfully. I can though go to add/remove programs and uninstall it successfully. I have a RegistrySearch element which checks for the existence of any version/edition of SQL Server. <!-- To Check for any version of Microsoft SQL Server(X86)--> <Property Id="SQL_X86"> <RegistrySearch Id="SQLPath2" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server" Name="InstalledInstances" Type="raw" Win64="no"> </RegistrySearch> </Property> <!-- To Check for any version of Microsoft SQL Server(X64)--> <Property Id="SQL_X64"> <RegistrySearch Id="SQLPath1" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server" Name="InstalledInstances" Type="raw" Win64="yes"> </RegistrySearch> </Property>
Here is the line from log file which looks little strangeSQL_X86= ACTION=INSTALL which I do not know why its taking. If sql server is not existing this is empty. MSI (s) (6C:78) [21:10:36:545]: Command Line: SQLSERVER_CLRTYPE=C:\ SMO_X86=10.0.1600.22 SQL_X86= ACTION=INSTALL The other point to note here , it works perfectly in Vista but not on XP. Any help would be greatly appreciated… Thank you in advance Anweshi ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users