Building on my prior story, I decided to try and create a Portable App launcher for Evernote. The process for doing so at Portable Apps is incompletely documented, so I thought I'd capture a walk-through here.
Substitute your drive letter for "S:", and your Evernote version for "4.01".
Create S:\PortableApps\EvernotePortable\App\AppInfo\appinfo.ini, containing:
Run S:\PortableApps\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe and tell it to use S:\PortableApps\EvernotePortable
- from S:\PortableApps\PortableApps.comLauncher\App\AppInfo
- to S:\PortableApps\EvernotePortable\App\AppInfo
- (or ever better, use a tool like Icon Studio to extract the Evernote icon from Evernote.exe, and put it into AppInfo\appicon.ico).
Run S:\PortableApps\EvernotePortable\EvernotePortable.exe. It should start Evernote.
- Note: Windows got weird on me about running PortableApps apps with multiple periods in the name, and the work-around was to rename the .exe files to have only a single "." in the name.
Copy your Evernote data to S:\PortableApps\EvernotePortable\Data.
- Note that I do NOT recommend running it via the PortableApps menu at this point; if it runs into an error, running it directly will an error message; if you run it from the menu, you may not see the message.
- You are not running portably at this point. You're running your non-portable Evernote with a launcher. (Baby steps.)
Create a prototype Data\settings\EvernotePortable.reg.
- You want to copy the Databases, Dict, and Logs folders from wherever you had them into Data\Databases, Data\Dict, and Data\Logs.
- For me, this was to move the contents of S:\Evernote\Evernote-4.01-data to S:\PortableApps\EvernotePortable\Data.
- Standard location is C:\Documents and Settings\user-ID\Local Settings\Application Data\Evernote\Evernote
- For many applications, this won't be necessary because you can use RegistryValueWrite in the app's analogue to S:\portableApps\EvernotePortable\App\AppInfo\Launcher\EvernotePortable.ini. However, I wanted to put a RegistryValueWrite that would set Evernote's data directory, but without additional registry keys present, Evernote set the data directory to its default.
- Don't forget to end the .reg file with TWO empty lines. (It is a .reg file rule.)
Windows Registry Editor Version 5.00
Update: I moved it from S:\PortableApps\EvernotePortable to C:\kevin\EvernotePortable, and it worked without tinkering.