I found out that when I put SumatraPDF folder in C:\Program Files, it always writes sumatrapdfprefs.txt in my application data folder. But when I move SumatraPDF folder to other place, it doesn't do this. Is there any way I can change it? or maybe I should just use the already portable version from the official website?
Is just a file that rembers not to popup the "Would you like to use SumatraPDF as the default veiwer for PDF files" after one time. Or maybe it doesn't pop up at all because of that file. But you have that popup in the local install to. So what's wrong with SumatraPrefs? It's a small file that goes under the App/sumatrapdf folder...
What's wrong with that?
I should make it more clear. I mean when I put SumatraPDFPortable in C:\Program Files directory, it creates a folder to store SumatraPrefs in C:\Documents and Settings\user name\Application Data folder. I don't know if there's any way to change this.
SumatraPDFPortable is not meant to be run from the Program Files directory.
Sometimes, the impossible can become possible, if you're awesome!
What could cause a self-contained program not to run properly at a different location? If he were to put it in another folder would it work like it's supposed to?
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
"Sometimes I worry about being a success in a mediocre world." -- Lily Tomlin
"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin
Simple. Sumatra PDF itself (not the portable enclosure) detects that it's in the Windows Program Files directory (as defined by the environment variable) and assumes it's running in a local install... so it then uses APPDATA. The Program Files directory is meant for locally installed apps, not portable ones.
Sometimes, the impossible can become possible, if you're awesome!