I /believe/ my question is:

If an installation has InstalledPrivileges="Elevated" then are
deferred/impersonated custom actions run with elevated privileges on a UAC
enabled environment?

My issue is:

I've written a small msi that creates a database and runs some scripts. 
This works fine on Windows 2003, but when I tried to run it on Windows 7
with UAC on I get an error that it was unable to create the database due to
insufficient privileges.  

I know the admin group has rights to the database, but admin group doesn't
mean a ton with UAC on(Until you elevate).  The specific user running the
installation does not have rights to the database other than being part of
the admin group, which has rights to the database.

The installation runs correctly from an elevated prompt.  The odd part is
that the uninstall correctly drops the database when launched via right
click or add/remove programs, and I'd assume that that requires the same
rights.  



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-Database-failed-tp6673860p6673860.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to