Hi urugan,

thanks for your answer. When I uninstall the program via "Add/Remove
programs" the database is removed, so then everything is perfect, so I don't
think it is an SQL problem. And to be honest I also don't know where I can
check if the SQL works for reinstall. But if I want to upgrade the installed
program with

msiexec /i wixsetup.msi REINSTALLMODE=vamus REINSTALL=ALL

the uninstall routine is not called, I guess just the "reinstall" will be
called, so I have to set the CreateOnReinstall="yes" parameter in the
SQLDatabase command. But the problem is I can't set that parameter because
of the compiler error mentioned in my first post. Is it possible that this
is a bug in the current WiX version? But maybe I also didn't understand
something correctly, and the problem is somewhere else.

Does anybody has further suggestions?

Thanks
Daniel



urugan wrote:
> 
> I would look at your current database.
> I think it's more sql problem. Do you have column Attributes? 
> Maybe something prevents dropping db in the firstplace?
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Problem-with-SqlDatabase-while-upgrading-tp719783p724326.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to