المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Access To Path Denied



C# Programming
05-21-2009, 06:52 AM
Good People,

So, my software installs a file that is read/write while the application is running. During debug, it works fine - read/write no problem. So, I created an MSI (Windows Installer Project in Visual Studio 2008 Sp1) for the application. It installs fine.

However, now two problems have emerged:

1) It states that access to the path where the file is located has been denied (it's nested in Program Files).
2) I tried to uninstall it but it's telling me that the appropriate level of access to the registry (something about HKEY_CURRENT_USER roots, certificates, blah, blah...) is not present.

Any help you can provide would be great.

(What really irks me is that when I created the install project before, I never had this issue. I bet it's some setting I missed. Oh well.)

Thanks,
Blitz