McMic wrote:Is JauntePE able to redirect this absolute path to a relative one? And if yes, how?
JauntePE can redirect the absolute path but cannot convert one into relative path.
To troubleshoot this problem, again try to think like TippKonigin.
Is "Lektion_09.txt" file saved by yourselft or the program save the file by itself? (get my question? :p)
If you are the one that saving the file "Lektion_09.txt",
try save the file by browsing to "C:\Program Files\TippKonigin\Ubungen\Lektionen\Lektion_09.txt" instead. Hopefully TippKonigin will write the ini file with path "C:\Program Files\TippKonigin\Ubungen\Lektionen\Lektion_09.txt". Next time when TippKonigin read the path, it will "think" the path is exist and will load the file "Lektion_09.txt" successfully. Remember that i told you before TippKonigin got fooled by JauntePE?
Now, when playing your program, use "C:\Program Files\TippKonigin" as your relative path. Get it what i mean?
That is how portablizing through virtualization work. JauntePE cannot convert the absolute path to relative path like any nsis launcher does.
If TippKonigin save the file "Lektion_09.txt", then you still have the same trouble redirecting the path "C:\Program Files\TippKonigin".
Try to redirect the application directory itselft
or use token %appdir% in the path you like to redirect and put the path in the [FilesystemInclude]