Hi,
I have read the instruction, but there is a thing I can't understand...
I'm trying to readdress the folder C:\ProgramData to MyApp/ProgramData.
CommandLineArguments=--ProgramData-directory=%PAL:DataDir%\ProgramData
Is CommandLineArguments the right command?
How can I call C:\ProgramData?
Thanks.
The commandlinearguments function passes arguments recognized by the application - so, if the application you're working with recognizes the command line argument "--ProgramData-directory", you can use it as above.
[EDIT] Furthermore, it is a very bad idea to redirect that entire folder, as it will potentially cause other programs to not find data that they are expecting to find in that folder.
Thanks for the answer, sorry if I don't understand.
I'm not english, and my language is so poor...
My problem is in syntax:
What have I to write to make the line working?
CommandLineArguments=--C:\ProgramData=%PAL:DataDir%\Setting\ProgramData
or
CommandLineArguments=--ProgramData=%PAL:DataDir%\Setting\ProgramData
or other syntax?
WHAT IS THE RIGHT FORM?
About:
"[EDIT] Furthermore, it is a very bad idea to redirect that entire folder, as it will potentially cause other programs to not find data that they are expecting to find in that folder".
When I redirect a folder, I redirect it ONLY for the application I'm portabilizing or is it at SYSTEM LEVEL (all the applications are redirect)?
Is there a way to force only one application to use the redirection?
Oooh, oooh...
Is there anybody in there?
Do you remember I'm still waiting for an answer to my last massage?
Most of us are volunteers, we are not paid anything to be here, we are just helping in our own free time.
We can't always check the forums every day and can't always answer so quickly.
I understand perfectly...
And I always thank who help me.
Many months ago I had the same problem, and, after many massages, the result was 0 (zero).
https://portableapps.com/node/60556
What I ask is ONLY ONE LINE of code in example because I don't understand how to use it!!!
Require more time explain the rules of forum and its user behaviour than write it...
As mentioned both in that previous thread and above, the application needs to have support for the action you want.
It might be easier to help if you told us what the application is so that we can investigate it and find a solution for you.
THANKS
My goal is to portabilize Total Uninstall Essential..
It store all his chronology in a folder placed in ProgramData\Martau.
And it grow in time, to reach GB.
(I know you deprecate the portabilization of program without open source license, but I have to move this program through some computer and every time I have to copy manually).
In this way I could create a launcher that move this folder in the USB and works with this folder instead of the original...
How can I do it???
According to the (admittedly minimal) documentation for the application, it has a portable mode already that doesn't appear to require redirecting ProgramData. Have you tried that already?
This is for the pro (payment) version.
The basic version is... basic!!!
Although the publisher does not provide that functionality with all of their licenses, they do have the functionality available. As such, I an unable to assist you with circumventing the restrictions in place by the publisher. Sorry.