Where are files written to "C:\Program Files (x86)" stored? [message #1767564] |
Fri, 07 July 2017 03:57  |
Eclipse User |
|
|
|
I have created a MSI installer for my RCP application. Typically the product gets installed in C:\Program Files(x86)\...
In config.ini I set the following parameters for the shared install:
osgi.configuration.area=@user.home/SCDMS/configuration
osgi.instance.area=@user.home/SCDMS/instance
When the RCP application is started for the first time it looks for properties file in some locations. If the file is not found a new one is created and saved to the proper place. The first choice is:
Platform.getInstallLocation()
which results in C:\Program Files (x86)\...
I expected to get an AccessDeniedException when trying to write there without admin permissions but writing the properties file succeeds.
When I restart the RCP application the properties file is found and everything works fine.
But I cannot see the properties file in C:\Program Files (x86)\...
I tried to open the path with a small Java programm and get a FileNotFoundException. The file is not there.
So it must be stored somewhere else. I delete the configuration und instance directories but the file is still found by the RCP product.
Does anyone know where files saved to the platform's install location get stored when the install location is not writable because of a shared installaction?
Thanks
Peter
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03617 seconds