I thought it would be awfully handy if temporary file association would be added to these applications. Implementation would be simple:
1) Write a test registry key, if it fails, skip file association
1.5) Create backups of the registry keys being modified
2) Change the appropriate registry keys in HKCR
3) Use some way to refresh the shell icons (included in FileFunctions.nsh i think)
4) Execute the program using ExecWait
5) Import the registry backups and/or delete all changed keys
6) Refresh shell icons again
If registry write fails, ExecWait is not needed. If keys are for some reason not changed back to the originals, regular .reg files (if exported correctly) can be saved in the Portable App's directory for the user to just double click to import them to the registry and include an NSIS app that could write those keys to the registry if .reg's import was blocked.
Just an amazing little idea i had the other day. I was writing a sample of it on Firefox Portable, but gave up as i don't have the time anymore as college starts in >2 weeks
Do you mean something like c.a.f.e.?
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly
"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
Check out C.A.F.E. Mod Beta 3 in the Beta forums
https://portableapps.com/node/8323
_________________________
I don't believe in signatures
The developer formerly known as ZGitRDun8705
A program that will change file associations, temporarily, and runs from a portable device. Here's the gHacks review of the program with a link.
http://www.ghacks.net/2009/06/22/set-file-associations-without-writing-t...
https://portableapps.com/node/15583
Otto Sykora
Basel, Switzerland
+1 for PFA, works like a charm
Quamquam omniam nescio, nec nihil scio.