Is there someone smart enought to get Administrator Privileges in native installer?
Hi!
I built an application that is regulary updated with new product thumbnails and price tables. Since it's only possible to update them with administrator privileges, because they are located in the instalation directory, is there any way to force the application to run in administrator mode?
I know that this is possible by changing the level to "requireAdministrator" in the following manifest attached to the executable that launches the swf:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS>
</application>
</compatibility>
</assembly>
But I still don't know how to pack again the application to have the digital signatures and other specific settings.
Other solution that I have is to only work with the storage directory of the application. For that I think I don't need administator privileges to manage files, but the only way to get the initial thumbnails and price tables is to copy them from the installation directory to the storage folder at the first run. Is there another way to get the files installed directly to the application-specific storage directory of all users?
Thanks.
