Hi Andrew,
Thanks for your response. Please go through whole response.
> Do some Vista machines work, or all Vista machines fail?
> Yes my addin works on all vista / 2k3 / XP machines, but it fails on some VISTA machines only.
> What context are those users running in?
> I have to check out this stuff (But may be they are admin with UAC enabled) <-- Let me check this out
> Is there any privilege escalation requirement here? Do you need a UAC
> manifest?
> I have developed this addin in VSTO, so I am having my manifest file with my dll. Let me put my manifest file over here. These are my maniferst file contents
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0">
<assemblyIdentity name="Custom.dll" version="1.0.0.0" />
<asmv2:entryPoint name="Startup" dependencyName="dependency0">
<asmv2:clrClassInvocation class="Custom.ThisAddIn" />
</asmv2:entryPoint>
<asmv2:dependency asmv2:name="dependency0">
<asmv2:dependentAssembly>
<assemblyIdentity name="Custom" version="1.0.0.0"
publicKeyToken="cd5b25a4f36183a2" />
</asmv2:dependentAssembly>
<asmv2:installFrom codebase="Custom.dll" />
</asmv2:dependency>
<------ I have added following lines by getting the help from
http://msdn2.microsoft.com/en-us/library/aa905330.aspx to make my
addin as Invoker ---- >
<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-
com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker">
</ms_asmv2:requestedExecutionLevel>
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>
Now if I load my addin it won't load on any Vista machine. I am
totally new bie for uac manifest stuff. Please can you help me to sort
out this stuff.
I would be very thankful to you, if you can give me correct manifest
file for above stuff.
Thanks again,
Dhananjay