You are here

Help files in C:\ProgramData.

2 posts / 0 new
Last post
Jarod_Pass
Offline
Last seen: 9 years 5 months ago
Joined: 2015-06-07 08:17
Help files in C:\ProgramData.

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.

Jarod_Pass
Offline
Last seen: 9 years 5 months ago
Joined: 2015-06-07 08:17
Help files in C:\ProgramData.

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.

Log in or register to post comments