This refers to an issue I posted at
https://portableapps.com/news/2008-01-18_-_sumatra_pdf_portable_0.8
John Haller asked to continue the thread here instead.
The last post was by rab040ma:
Are you sure you only have the one copy of SumatraPDF.exe on your hard drive (the one you are testing)? Can you use WinMD5sum on it (and the SumatraPdfPortable.exe) and paste the values, so we can be sure we are on the same page?
So here is the MD5 sum of my SumatraPDFPortable.exe:
81f553dd62c9ec324ec54c1ac5dd502e
This is the sum of SumatraPDF.exe:
5d7558db64db1b6a42f4d37a4500b4fe
I hope this helps, once again thank you in advance.
Are you by chance placing it within the Program Files directory on your Windows drive? If so, SumatraPDF itself will store its files in APPDATA. It does this automatically. Program Files is for locally installed apps, not portable apps.
Sometimes, the impossible can become possible, if you're awesome!
Actually, someone has already asked the same question...
I keep all portable programs in a separate folder called c:/portable apps/.
Could be the C drive that it checks to do that automatic switch (it's Sumatra itself that does this). Try using it from another drive (D, E, etc).
Also, ensure you're using a completely fresh install of 0.8 Rev 3, no settings changes at all, clear the directory and ensure it's not running in Task Manager before launching.
Sometimes, the impossible can become possible, if you're awesome!
I ran a test of the latest portable from C:\SumatraPDFPortable and did not get the dir created. Nothing created even after I changed settings.
The developer formerly known as ZGitRDun8705
I just checked and mine works fine from C:\PortableApps or C:\Portable Apps. So, it's something else.
For the original poster, are you SURE that:
1. You're using a default install of 0.8 Rev 3, no changes, no INI file
2. You're running SumatraPDFPortable.exe
3. You have no additional copies of Sumatra PDF running in Task Manager
4. You've deleted the old Sumatra PDF folder from APPDATA before doing the above.
Sometimes, the impossible can become possible, if you're awesome!
I just followed your instructions above. Strangely enough, for me it does seem to depend on the drive after all.
I deleted the old folder with Sumatra in it as well as the settings folder in AppData. Then I rebooted, downloaded Rv 3 once again, extracted it and ran SumatraPDFPortable.exe on an external drive - everything fine. So I guess I can safely answer all questions in the affirmative.
I then moved the entire Sumatra folder to the c: drive, did the same - and the folder in AppData re-appears. So it looks like it's something to do with drive letters after all, at least over here.
Running my own from C:\PortableApps, C:\Portable Apps and C:\ all worked fine, nothing was left behind.
The developer formerly known as ZGitRDun8705
Is it possible there are some old registry entries hanging around that could be causing this? I would take a guess at looking in HKLM\Software\SumatraPDF and HKCU\Software\SumatraPDF, not knowing the program enough to know for sure.
What if you install it to a different directory on C, does it do the same?
formerly rayven01
The effect remains the same regardless of where Sumatra is installed on C.
I have cleaned the registry from obsolete entries with RegSeeker, but I didn't specifically look for traces of Sumatra. I'll do that first thing tomorrow, because now I'm closing down for today.
I scanned the registry and found 75 entries referring to Sumatra, in HKEY_CLASSES_ROOT (2), HKEY_CURRENT_USER (54), HKEY_LOCAL_MACHINE (3), HKEY_USERS (16).
I don't know if I can delete any of them without causing any harm?
No idea if this is important, but PDF files aren't associated with Sumatra at the moment, however, Sumatra still appears in the "open with" list for PDFs.
it depends on what those keys are and where those keys are. if they are MRU or MUICache, you can delete them without issue, can you delete those types of keys, then post the rest of the keys so we can tell you what is and isnt OK to delete?
The developer formerly known as ZGitRDun8705
Quite a long list, I'm not sure if it makes sense to post it here.
I also must say that the problem is relatively small for me, so I can't really expect anyone to wade through all this.
Here are the keys, minus MRU/MUI.
The important bits are keys you've added yourself (HKEY_CLASSES_ROOT
Applications\SumatraPDFPortable.exe). Probably due to the whole setting it as a default thing. Your best bet is to delete them. I think you can safely delete every reference to SumartraPDF in your registry.
Sometimes, the impossible can become possible, if you're awesome!
John, thanks for taking care of the formatting and your advice. I deleted all references, rebooted to be on the safe side, and tried once again. Same as before... I think I'll just give up for the time being. Thanks for all your help!
please edit your post to put all the keys into pre tags
The developer formerly known as ZGitRDun8705