I want to learn how to make portable apps for personal use and I thought I would start with Autoruns. This app only needs to set these registry entries...
Windows Registry Editor Version 5.00 ; autoruns [HKEY_CURRENT_USER\Software\Sysinternals\AutoRuns] "EulaAccepted"=dword:00000001 "onlinesearchcommand"="http://www.google.com/search?hl=en&q=" "shownomicrosoft"=dword:00000001
I read Creating A Portable App: A Guerilla Field Guide but I don't understand this section:
Become familiar with the launchers available. For instance:
* X-Chat Portable redirects the Path, and GTK directories.
* Notepad++ Portable Moves files and then adjusts them so that any open files from your flash drive will now open on your new host.
* 7-Zip Portable deals with the registry entries made by 7-zip.
* PNotes Portable Passes a command line variable to the program.
7-Zip seems similar to Autoruns in that it only deals with registry entries. Can someone explain what he means by launcher there and offer any tips on how to portablize Autoruns?
Thanks in advance
since the guerilla guide was written, there has been work done on a generic launcher, which makes it far simpler to make most apps portable, and I would strongly recommend that you use that instead now. (The advice in the guide is still good, but there is now a new way to do the implementation bit).
You can find the launcher at https://portableapps.com/apps/development/portableapps.com_launcher - there is a link to download it, and also a link to the manual for its use further down the page.
For the app that you describe, you will need a launcher.ini file that is something like
Disclaimer: I have not tested the above ini file in any way, it is just an approximation of the fields that you would need
Hooray! I finally made it. I was pulling my hairs out there for a while with some errors but I discovered my mistakes in the end.
Thanks for pointing me in the right direction.
Now I gotta try one that writes to %AppData%
There's already a package available.My bad, there was a package. I don't seem to have it up anymore. I might have a copy to upload though, later.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world