Thank you all for your reply.
@Michael, Go statements did the trick. The database is now dropped on
uninstall and on rollbacks.
Many Thanks again :-)
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Drop-database-on-Uninstall-not-working-tp601732
PM
Subject: Re: [WiX-users] Drop database on Uninstall not working
Hi
I'd guess your problem is in the script
BEGIN
ALTER DATABASE [SOLUTIONDATABASENAME]
SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
USE MASTER;
DROP DATABASE [SOLUTIONDATABASENAME];
END"
Does this wor
qlDatabase entry (these can be under the component). Don't
put the USE statement in at all.
Michael
-Original Message-
From: kim [mailto:contactme...@gmail.com]
Sent: Saturday, 12 February 2011 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Drop database on Uninst
Verbose log file should show what was executed.
On Fri, Feb 11, 2011 at 2:04 PM, kim wrote:
>
> I want to drop the database installed by my msi on uninstall. It does drops
> the Db on roll-back but not on uninstall. Following is the code from my
> config file. Since setting DropOnUninstall=yes d
I want to drop the database installed by my msi on uninstall. It does drops
the Db on roll-back but not on uninstall. Following is the code from my
config file. Since setting DropOnUninstall=yes did not worked, so I added
other sql string to execute Drop database command. I am not receiving any
e
5 matches
Mail list logo