D
Dhananjay
I have created my addin in VSTO / Office 2007 / Vb 2005. My addin's
one functionality is to insert records in one mdb file.
My addin works under XP machine perfectly. Now, if I run my addin
under Windows Vista, & if my addin tries to insert the records
in the mdb file, it is not allowing me to do so. I checked the
permissions to mdb file by going to properties -> security, I can
see that "Admin-PC\Administrators" is having full control on the file,
but "Admin-PC\Users" is having just read & execute
permission. Those permissions are inherited from the drive's
permission. If I remove inherited permissions & fourcefully gave the
permissions "Full Control" to the mdb file, my addin's functionality
(insertion of records to mdb file) works fine.
Hence my first guess is that my addin is not working as a "Invoker"
rights & hence my addin is getting the permission of Users
rights & not the Administrators rights. So how can I use my addin as a
"Invoker".
Another problem I faced with the similar situation is that, my addin
tries to create the key under "CLASSES_ROOT", but it failed.
Though I can create the key manually under "CLASSES_ROOT", my addin
can not write the keys under "CLASSES_ROOT". Hence I wrote my
"Key creation" part in one executable & I execute that exe at the time
of installtion. It worked perfectly! i.e. my installer is
getting the permission as a "Invoker". I think if I can run my addin
as a "Invoker", then may be I will get success.
So please can anybody tell me how can I run my addin as a "Invoker".
Thanks,
Dhananjay
one functionality is to insert records in one mdb file.
My addin works under XP machine perfectly. Now, if I run my addin
under Windows Vista, & if my addin tries to insert the records
in the mdb file, it is not allowing me to do so. I checked the
permissions to mdb file by going to properties -> security, I can
see that "Admin-PC\Administrators" is having full control on the file,
but "Admin-PC\Users" is having just read & execute
permission. Those permissions are inherited from the drive's
permission. If I remove inherited permissions & fourcefully gave the
permissions "Full Control" to the mdb file, my addin's functionality
(insertion of records to mdb file) works fine.
Hence my first guess is that my addin is not working as a "Invoker"
rights & hence my addin is getting the permission of Users
rights & not the Administrators rights. So how can I use my addin as a
"Invoker".
Another problem I faced with the similar situation is that, my addin
tries to create the key under "CLASSES_ROOT", but it failed.
Though I can create the key manually under "CLASSES_ROOT", my addin
can not write the keys under "CLASSES_ROOT". Hence I wrote my
"Key creation" part in one executable & I execute that exe at the time
of installtion. It worked perfectly! i.e. my installer is
getting the permission as a "Invoker". I think if I can run my addin
as a "Invoker", then may be I will get success.
So please can anybody tell me how can I run my addin as a "Invoker".
Thanks,
Dhananjay