Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » "Folder virtualization" and RCP excetuables
"Folder virtualization" and RCP excetuables [message #756203] Fri, 11 November 2011 13:23 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
This posting is relevant for Windows OSes, especially from Windows Vista
on. On these systems the it depends on the entries of a so-called
manifest (an xml file which can either be provided in parallel to the
..exe or can be embedded within the .exe), whether the so-called "folder
virtualization" policy is in effect or not. What this means is the
following: If folder virtualization is enabled (this is the default),
there won't be an error, if a process started by a user with
insufficient rights attempts to write a file, but instead the file will
be created in a subfolder of the user's home directory (where write
access is provided). This can be source of subtle errors that happen
when you try to update your RCP client, because the client will still
read the data from the "virtualized" folders.

Currently we still must work with RCP's that are created based on an
Eclipse 3.6.1 PDE builder and we observed the following:

a) The builder seems to embed a manifest, but does not add entries that
disable "folder virtualization" to be in effect. One would need to add
an xml element like

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>

to realize that.

b) We tried to read the manifest from the .exe with the tool mt.exe but
this gives us an error that there is no such resource available. This
seems to indicate that the embedding has not been done correctly or at
least such that mt.exe cannot understand this.

I have the following questions:

a) Does the PDE build process (on Windows) allow to configure the
contents of the manifest that will be embedded?

b) Does anyone know whether the new PDE builders (e.g. part of Eclipse
3.7.x) does either add entries to the manifest which disables folder
virtualization or does at least allow to read and reset the manifest by
tools like mt.exe?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: &quot;Folder virtualization&quot; and RCP excetuables [message #805100 is a reply to message #756203] Thu, 23 February 2012 10:32 Go to previous message
julien croquemarre is currently offline julien croquemarreFriend
Messages: 1
Registered: February 2012
Junior Member
Hello, have you find answers to your questions ?

I'm very interested in this questions.

Thanks from France.
Previous Topic:How to filter RCP key bindings like escape key ?
Next Topic:Shared platform for multiple applications
Goto Forum:

Current Time: Wed Dec 02 13:46:14 GMT 2020

Powered by FUDForum. Page generated in 0.01790 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top