c:\program Files\Common Files\TestApplication\Test.mdf
c:\program Files\Common Files\TestApplication\Test.ldf
Installation goes well. I am able to attach databases as well as work on this database.
I created a patch for this product. This patch does not involve modifying database files as both mdf and ldf files are marked permanent during first msi install. When i try to un install the patch it gives error.
error 1321 : Installer has not sufficient permissions to modfify files c:\Fprogram Files\Common Files\TestApplication\Test.mdf.
If i install the product inintially with no database files, patch installation and uninstallation is successful.
Why installer is trying to modify files marked as permanent? This problem is observed only on Vista with UAC ON. With UAC off everything works well.
Thanks in advance
Amarjeet
Edited by Amarjeet, 22 March 2010 - 08:40.