Is this still an unresolvable issue with the NS installer?
https://portableapps.com/node/4530
I just installed the portable GPG and Enigmail and the path to my gpg.exe is being changed when I exit TB. The path for my TB includes a directory starting with a lowercase n, NSIS seems to turn this into some control character when it saves back to the "extensions.enigmail.agentPath" line in pref.js. Works fine with an uppercase N though.
This only happens with the path to gpg.exe, all the other paths in pref.js are fine.
This finally annoyed me enough that I decided to learn how to use NSIS and fix it myself.
Edit the ThunderbirdPortable.nsi file:
Add StrRep.nsh to the
;(NSIS Plugins)
includes section near the top of the file:In the
GPGEnvironment
section, insert the following immediately before theFileWrite $0 `user_pref("extensions.enigmail.agentPath", "$GPGPATHDIRECTORY\gpg.exe");`
line:See here if you want to know why it needs two lines:
http://nsis.sourceforge.net/Talk:StrRep
Recompile with NSIS and run.