Good morning.
I have a program which I want to make portable. By installing, copying 4 files within a folder (MyApp) in the ProgramData directory windows 7, two configuration files are .txt extención, one of .chm help and other settings (Font.dat). I tried several ways but run not find the path of the files, I get the following message: C:\ProgramData\MyApp\AppData\Font.dat was not found.
As I can access these files?
Where is the mistake?
[Launch]
ProgramExecutable=MyApp\MyApp.exe
SinglePortableAppInstance=true
DirectoryMoveOK=yes
[Activate]
Registry=false
[DirectoriesMove]
MyApp=%APPDATA%\MyApp
MyApp=%LOCALAPPDATA%\MyApp
MyApp=%ALLUSERSAPPDATA%\MyApp
Thanks for the answers.
I found the solution:
[Launch]
ProgramExecutable=MyApp\MyApp.exe
SinglePortableAppInstance=true
DirectoryMoveOK=yes
[Activate]
Registry=false
[Activate]
Registry=false
[DirectoriesMove]
MyApp=%ALLUSERSAPPDATA%\MyApp
He was writing two lines of code more.