Hi
We have application which is launched by Activex and works fine on Windows XP - but we are having problems with this on Vista.
We have looked at many MSDN articles which suggest using manifest files. We have implemented manifest in resource section of correct .exe file using MSVS. We have also read some articles regarding the use of MT.exe tool (v5) from the Vista SDK to embedd the manifest file, which seems to complete the embedding process ok.
Using this example from MSDN:-
<trustInfo xmlns="urnchemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevellevel="requireAdministrator"
uiAccess="true"/>;
</requestedPrivileges>;
</security>
</trustInfo>
Unfortunately when the Activex is launched Windows Vista seems to ignore the manifest and copy the files from website to the virtualized folder and not the real folder.
The real destination folder is "c:\users\%username%\documents\%appname%"
- But the files keep being copied to the virtualised folder:-
"c:\users\%username%\appdata\local\micrsoft\windows\temporary internet files\virtualized\c\users\%username%\documents\%appname%\"
after copying files to the virtualized folder, the application attempts to launch but we get "Error Access Denied" and cannot launch.
Also:-
It seems that "manifest" files are for System folders and not user folders, so we are unsure why this is happening with the users profiles folders also.
If files are manually copied to correct location, the application can be manually launched (but not from activex)
Any help would be greatly appreciated to overcome this problem and get our application running from activex like it does successfully in windows xp.
Regards
Ian