Since there seems to be fair amount of requests for help on creating launchers.
Here is a quick way to do.
Once PAM 1.1 is released this will not be needed though.
1. Download this batch converter. (Its freeware I found it using google)
http://www.hollmen.dk/files/batcom10uk.zip
2. Copy this to a text file and rename it to {appname}.bat
START ..\{AppName}\App\{foldername}\{exeName}.exe
this is the relative path to your exe from the PAM folder you will place your files and launcher in.
3. Edit the path to fit your path and exe name.
ie. START ..\IrfanView\App\IrfanView\i_view32.exe
4. Save it to the appropriate folder ie.
E:\PortableApps\IrfanViewPortable assuming the exe you actually want to launch is in
E:\PortableApps\IrfanViewPortable\App\IrfanView
5. extract and run the batch converter to convert your batch file.
File \ Load Batch File then
Functions \ Compile Batch File
6. Copy the generated exe from the folder where the batch converter is located to the application folder.
ie. E:\PortableApps\IrfanViewPortable
You are here
Quick & Easy Launcher
January 16, 2007 - 10:46am
#1
Quick & Easy Launcher
Did a little more digging, you can also find the program here.
http://www.hollmen.dk/content/view/16/30/
along with instructions on how to change the icon of the compiled exe (since I know someone will ask)
SmithTech
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
i followed the instructions to change the icon, but after i uncompress the exe, my batch file just stops working
-
There are only 10 types of people in the world: Those who understand binary, and those who don't. - Anonymous
try adding 2 blank lines before the START command.
don't know why it works, just found it mentioned on one of the "tutorial" sites.
Or you can try using the Application Portable Template from the forums along with NSIS portable from this site. Its really just as easy as making the batch file and compiling.
Just fill in the template and compile.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
thanks man, now i can finally run some apps (from my TC volume) off the pa menu
-
There are only 10 types of people in the world: Those who understand binary, and those who don't. - Anonymous
This is cool. I was trying to figure out how to call a stand alone html file and this fit the bill perfectly.
In case it helps anyone else, I modified it slightly because I couldn't quite get the path to execute right. Simply changed the batch file to be:
then complied and put the generated exe in
E:\PortableApps\MonkeyGTD\MonkeyGTD.exe
-Scott
www.techlifeweb.com
[Moderator RM: Please use <pre> for code blocks]