How do I create a portable launcher?
-
- Posts: 42
- Joined: Sun Oct 19, 2008 12:58 am
WinRAR / SFX
Yes the initial startup is slower, but the time it is more than made up when the app is actually being used because it runs from the hard drive. After the app closes the file(s) are deleted from the temp directory. (You can also set it up to automatically securely wipe the files if you feel the need.)
Other advantages are: no USB disk writes, a single exe w/icon (easy to manage), can be used from a live CD.
100% of my portables apps are in a SFX fomat but it is a personal preference that I would recommend. Try it you may like it...
Other advantages are: no USB disk writes, a single exe w/icon (easy to manage), can be used from a live CD.
100% of my portables apps are in a SFX fomat but it is a personal preference that I would recommend. Try it you may like it...
Re: WinRAR / SFX
And this breaks portability of most programs. Settings are meant to be kept unless program has no important ones.Stone Tablet wrote:After the app closes the file(s) are deleted from the temp directory. (You can also set it up to automatically securely wipe the files if you feel the need.)
Can you show me a single example of a program that doesn't have any important settings and is significantly slower at runtime running from a pendrive then from a local HDD?
I tried SFX. Unusably slow. I tried ThinApp / MoleBox. Troublesome updates cost too much time. And there's practically no benefit anyway.
Except for running from a CD. In case of a program that writes in own folder, SFX is a good choice.
-
- Posts: 42
- Joined: Sun Oct 19, 2008 12:58 am
SFX Again...
If you start with a true portable app, SFX (Compression) in no way magically changes it to a none portable app.
I will leave it the reader(s) to determine the value of start up time -vs- operating speed. I have made my choice...WinRAR's SFX. Others clearly have a strong passion against...
I will leave it the reader(s) to determine the value of start up time -vs- operating speed. I have made my choice...WinRAR's SFX. Others clearly have a strong passion against...
- msnuser193
- Posts: 16
- Joined: Fri Jan 02, 2009 12:20 pm
Do the reg keys affect the portable ? If they are needed, what are the ways I could create portable with reg keys (e.g. I heard reg keys can automatically be deleted with USB Drive is removed).m^(2) wrote:
Reg keys and compression are 2 totally independent things.
They have to be dealt with separately. And yes, reg keys are not a problem.
And How many types of compressions are there ? Which ones have higher
or low compressing rate? (so much)
msnuser193 wrote:Do the reg keys affect the portable ? If they are needed, what are the ways I could create portable with reg keys (e.g. I heard reg keys can automatically be deleted with USB Drive is removed).m^(2) wrote:
Reg keys and compression are 2 totally independent things.
They have to be dealt with separately. And yes, reg keys are not a problem.
Depends on what you mean by "portable". In the most common definition (Runs from a pendrive on every computer, keeps important settings) - if the app stores important settings in the registry, then you should ensure that they are saved on the pendrive instead. joby_toss told you the methods of doing this.
There's 1000 ways of compressing things in use today.msnuser193 wrote: And How many types of compressions are there ? Which ones have higher
or low compressing rate? (so much)
I can heartly recommend UPX - fast and quite reliable. And free. But it compresses only executables, won't help much in case of a game.
Then there are 3 programs:
Thinstall
MoleBox
nBinder
IIRC they all compress all files into a single executable and decompress files on access, not all at the time, which (compared to SFX) saves a lot of time at startup, cost some later, but total time spent on decompression is usually much lower than with SFX (and practically never higher).
They are all commercial, Thinstall is very expensive.
The last option: SFX.
Basically it's very similar to silent installer. Startup takes as much time as installation and normal startup afterwards.
If you decided that you won't get bored waiting the few minutes for decompression and really want it, there are 2 solutions that I can recommend:
rar with -m3 switch (medium compression). As for SFX, it offers fast decompression. Commercial.
FreeArc with -m3xx switch. Free, decompresses faster and is stronger than rar, but it's not yet stable, so you may have some troubles with it.
I'd like to correct one of my previous statements:
I've seen a program repacking it's settings. Don't remember the name, but it was a notepad that had just one file, encrypted, built into own executable. On close it rebuildt itself with changed file. It was not a launcher, but application already built to work this way. And it wasn't trivial. But definitely cool.
IIRC I've seen it in The Kitchensink.
- Schumi 053
- Posts: 50
- Joined: Wed Oct 29, 2008 7:16 am
Hi..joby_toss or m^(2) or Stone Tablet..here I need your little help
Hmm..talking about "Portable Launcher Creator"..
like..JauntePE..NSIS..AutoIT..Batch File etc..
I see many peoples agree with AutoIT..
uhm..powerful..easy than NSIS..many tutor..have their own comunity etc.
Are there any program better than AutoIT? thx
Hmm..talking about "Portable Launcher Creator"..
like..JauntePE..NSIS..AutoIT..Batch File etc..
I see many peoples agree with AutoIT..
uhm..powerful..easy than NSIS..many tutor..have their own comunity etc.
Are there any program better than AutoIT? thx
For making an app portable I prefer JauntePE because it is a freeware product built for exactly this purpose and, what is the most important thing, it is built well and very easy to learn.
For something else I would prefer AutoIt, but my scripting abilities are very limited so I am the wrong guy to answer this.
For something else I would prefer AutoIt, but my scripting abilities are very limited so I am the wrong guy to answer this.
- Schumi 053
- Posts: 50
- Joined: Wed Oct 29, 2008 7:16 am
- Schumi 053
- Posts: 50
- Joined: Wed Oct 29, 2008 7:16 am
This is what I'm looking form^(2) wrote:"JauntePE is much easier..."
Currently..I works with x32 WinXP also x32 of programs..I must be safe..right?m^(2) wrote:"..it doesn't work with x64 programs and has some troubles with Vista"
By the way..what happened to your Santa Claus (your avatar)? looks so pity
Okay..Thanks a lot! m^(2)
"must" is definitely too much. It should be OK, but it's alpha release, it's likely to have some bugs.Schumi 053 wrote:This is what I'm looking form^(2) wrote:"JauntePE is much easier..."
Currently..I works with x32 WinXP also x32 of programs..I must be safe..right?m^(2) wrote:"..it doesn't work with x64 programs and has some troubles with Vista"
Do you see the green thing in the snow?Schumi 053 wrote:By the way..what happened to your Santa Claus (your avatar)? looks so pity
- Schumi 053
- Posts: 50
- Joined: Wed Oct 29, 2008 7:16 am
oops..wait a second..I open my Dictionary first..hahaha..m^(2) wrote:"..it's alpha release, it's likely to have some bugs."
how about..uhm..buggy or stable..I must accept hahaha I have no choice!
Ouw..I see..I see..seems like a strong one!m^(2) wrote:"Do you see the green thing in the snow?"
Who put there? wrong place!
Actually must put in the table where we are talking hahaha.
- msnuser193
- Posts: 16
- Joined: Fri Jan 02, 2009 12:20 pm
Thanksm^(2) wrote:msnuser193 wrote:Do the reg keys affect the portable ? If they are needed, what are the ways I could create portable with reg keys (e.g. I heard reg keys can automatically be deleted with USB Drive is removed).m^(2) wrote:
Reg keys and compression are 2 totally independent things.
They have to be dealt with separately. And yes, reg keys are not a problem.
Depends on what you mean by "portable". In the most common definition (Runs from a pendrive on every computer, keeps important settings) - if the app stores important settings in the registry, then you should ensure that they are saved on the pendrive instead. joby_toss told you the methods of doing this.
There's 1000 ways of compressing things in use today.msnuser193 wrote: And How many types of compressions are there ? Which ones have higher
or low compressing rate? (so much)
I can heartly recommend UPX - fast and quite reliable. And free. But it compresses only executables, won't help much in case of a game.
Then there are 3 programs:
Thinstall
MoleBox
nBinder
IIRC they all compress all files into a single executable and decompress files on access, not all at the time, which (compared to SFX) saves a lot of time at startup, cost some later, but total time spent on decompression is usually much lower than with SFX (and practically never higher).
They are all commercial, Thinstall is very expensive.
The last option: SFX.
Basically it's very similar to silent installer. Startup takes as much time as installation and normal startup afterwards.
If you decided that you won't get bored waiting the few minutes for decompression and really want it, there are 2 solutions that I can recommend:
rar with -m3 switch (medium compression). As for SFX, it offers fast decompression. Commercial.
FreeArc with -m3xx switch. Free, decompresses faster and is stronger than rar, but it's not yet stable, so you may have some troubles with it.
I'd like to correct one of my previous statements:
I've seen a program repacking it's settings. Don't remember the name, but it was a notepad that had just one file, encrypted, built into own executable. On close it rebuildt itself with changed file. It was not a launcher, but application already built to work this way. And it wasn't trivial. But definitely cool.
IIRC I've seen it in The Kitchensink.
- msnuser193
- Posts: 16
- Joined: Fri Jan 02, 2009 12:20 pm
- Schumi 053
- Posts: 50
- Joined: Wed Oct 29, 2008 7:16 am
You may start from here..then..walk around there.msnuser193 wrote:"..I always wondered how portable works."
I call this site "My DisneyLand" hmm..not funny right? mmh (sigh)..I'm not a good joker uhm..okay..njoy reading!