My application should write into a log file, but when I start the virtual application, exit it and look into the log file with the package editor, there are no entries in the logfile.
Furthermore my application uses a database, if there are only readonly files the program cant access the database... when i run the virtual application there is no access to the database, so it seems
Please check the sandbox to see if your log file has entries. The default location of the sandbox is %AppData%\VOS\[Application ID].
If the database is part of the package, you should have no problem writing to it. If your database lives outside the package and you want to allow the virtualized app to change it, you need to change Isolation with Package Editor to allow your package access to the database's location. Depending on how much access you want to give the package to the real file system, you would change Isolation under the General tab or the Files tab. Under the Files tab, you can restrict access to a single folder. You can find documentation here.
first, thanks for your advice. I had a look into the logfile in %Appdata%, but there were no new entries after running my application.
Actually the program should write to programdata instead of appdata/.. . Why is cameyo writing into appdata and not to a virtual programdata path? I added the programdata folders with the package editor and changed the isolation to full access but stilll no changes.
Afterwards i looked into the VOS folder and found another shortcut for my application. Surprisingly the application starts as expected :).
Unfortunately the problem that my execution file made by cameyo is not working hasn't been solved yet :(.
The path variable that Cameyo uses for ProgramData is %Common AppData%. Check to see if your logfile is in %AppData%\VOS\[Application ID]\%Common AppData%.