Sorry, I haven't been able to test this yet. I'm in the middle of moving laptops and coupled with a move to XP Pro x64, my usual tools went haywire. I will report back ASAP...Midas wrote:tproli wrote:Any news? Did it fix the issue?
yaP - yet another Portablizer
Re: yaP - yet another Portablizer
Re: yaP - yet another Portablizer
Still had no opening to go back to my Winimage project (too complex...), but tested the yaP 0.23-fixed version with an easier target and everything seems to be working alright.
Here's the result for DiMXSoft Desktop Lighter (link included): http://www.filedropper.com/yap-desktoplighter or
http://mir.cr/KKS26WJV
EDIT: Making final checks, I looked at the memory footprint of my yaP'ed util and found the 'Private Bytes' count a bit too large for my linking (see image below). Couldn't anything be done to further reduce it?
Here's the result for DiMXSoft Desktop Lighter (link included): http://www.filedropper.com/yap-desktoplighter or
http://mir.cr/KKS26WJV
EDIT: Making final checks, I looked at the memory footprint of my yaP'ed util and found the 'Private Bytes' count a bit too large for my linking (see image below). Couldn't anything be done to further reduce it?
Re: yaP - yet another Portablizer
@tproli
What's the latest yaP version? There are a few 0.23 fixes throughout this thread, not sure which one to download. I would like to give it another go.
Cheers.
What's the latest yaP version? There are a few 0.23 fixes throughout this thread, not sure which one to download. I would like to give it another go.
Cheers.
Re: yaP - yet another Portablizer
The latest is 0.23, the two fixes were not "released" officially.
http://rolandtoth.hu/files/yaP_rootdir_fixed.zip
http://rolandtoth.hu/files/yaPs-old-nircmd.zip
@Midas
I don't think there is much I could do about the memory issue. The solution would be a complete rewrite in a more suitable language (perhaps AutoIt?) but I don't think I can do it in the near future.
http://rolandtoth.hu/files/yaP_rootdir_fixed.zip
http://rolandtoth.hu/files/yaPs-old-nircmd.zip
@Midas
I don't think there is much I could do about the memory issue. The solution would be a complete rewrite in a more suitable language (perhaps AutoIt?) but I don't think I can do it in the near future.
Re: yaP - yet another Portablizer
OK, thank you.
Re: yaP - yet another Portablizer
It's all good, no worries, tproli. Although IMHO you should release a fixed version, at least for the first glitch...tproli wrote:The latest is 0.23, the two fixes were not "released" officially.
http://rolandtoth.hu/files/yaP_rootdir_fixed.zip
http://rolandtoth.hu/files/yaPs-old-nircmd.zip
@Midas
I don't think there is much I could do about the memory issue. The solution would be a complete rewrite in a more suitable language (perhaps AutoIt?) but I don't think I can do it in the near future.
Re: yaP - yet another Portablizer
yaP version 0.25 is out:
- ported from NSIS to AutoIt
- ADDED possibility to add your own message before or after launching the main application, e.g. "Click Yes to run the application"
- ADDED example setups for Dukto R5, UltraVNC, WinLess
- REMOVED rootdir option: before/after items go to the "yaP" directory (hardcoded)
- REMOVED nowait option: if there are no AFTER items the launcher terminates after executing the main application
- REMOVED silentbatch -1
http://rolandtoth.hu/files/yaP_v0.25.7z
My tests with example setups were all successful so hopefully there is no (major) bug. Nircmd is taken out as AutoIt can run command windows hidden, so hopefully issues with previous versions are solved.
Don't know anything about UAC as I'm still on XP.
Because of AutoIt the file size is much larger (640 Kb instead of 80). I thought about adding a feature that would require only one yaP.exe and individual applications would use a shortcut to it - what do you think? I rejected the idea because disk space was cheaper than my precious time
- ported from NSIS to AutoIt
- ADDED possibility to add your own message before or after launching the main application, e.g. "Click Yes to run the application"
- ADDED example setups for Dukto R5, UltraVNC, WinLess
- REMOVED rootdir option: before/after items go to the "yaP" directory (hardcoded)
- REMOVED nowait option: if there are no AFTER items the launcher terminates after executing the main application
- REMOVED silentbatch -1
http://rolandtoth.hu/files/yaP_v0.25.7z
My tests with example setups were all successful so hopefully there is no (major) bug. Nircmd is taken out as AutoIt can run command windows hidden, so hopefully issues with previous versions are solved.
Don't know anything about UAC as I'm still on XP.
Because of AutoIt the file size is much larger (640 Kb instead of 80). I thought about adding a feature that would require only one yaP.exe and individual applications would use a shortcut to it - what do you think? I rejected the idea because disk space was cheaper than my precious time
Re: yaP - yet another Portablizer
Looking through the source code now.
Re: yaP - yet another Portablizer
The verdict seems to be out.guinness wrote:Looking through the source code now.
Re: yaP - yet another Portablizer
What? Where?
Re: yaP - yet another Portablizer
It seems to be a special Christmas to guinness
The relatively large file size bothered me so I searched for other solutions. yaP is a simple tool that shouldn't be more than 40-50 KB I guess.
Finally I found BCX:
http://www.bcxgurus.com/
I'm new to BASIC and but fortunately AutoIt is also a BASIC-like language so I gave it a try. Now I'm only testing basic functions but so far so good. Surely I will have issues but as I see there's nothing that looks impossible. File size is currently 5152 bytes but of course this will be much larger (perhaps 20 KB? ). Anyway, I like it
The relatively large file size bothered me so I searched for other solutions. yaP is a simple tool that shouldn't be more than 40-50 KB I guess.
Finally I found BCX:
http://www.bcxgurus.com/
I'm new to BASIC and but fortunately AutoIt is also a BASIC-like language so I gave it a try. Now I'm only testing basic functions but so far so good. Surely I will have issues but as I see there's nothing that looks impossible. File size is currently 5152 bytes but of course this will be much larger (perhaps 20 KB? ). Anyway, I like it
Re: yaP - yet another Portablizer
I'm no programmer, but BCX does look mighty interesting -- it supports multiplatform coding (apparently it already runs in embedded systems) and C is synonymous with tiny executables. Two questions remain: will it be x64 compatible? And can the programming environment be made portable?
Disclaimer: I gathered all my info at the forum at http://basic-compiler.com/forum/.
Disclaimer: I gathered all my info at the forum at http://basic-compiler.com/forum/.
Re: yaP - yet another Portablizer
Thanks for ruining my weekendtproli wrote:It seems to be a special Christmas to guinness
The relatively large file size bothered me so I searched for other solutions. yaP is a simple tool that shouldn't be more than 40-50 KB I guess.
Finally I found BCX:
http://www.bcxgurus.com/
I'm new to BASIC and but fortunately AutoIt is also a BASIC-like language so I gave it a try. Now I'm only testing basic functions but so far so good. Surely I will have issues but as I see there's nothing that looks impossible. File size is currently 5152 bytes but of course this will be much larger (perhaps 20 KB? ). Anyway, I like it
Re: yaP - yet another Portablizer
Sorry to hear that. No chocolate for tpr this year
I managed to convert about 75% of the functionality of yaP and file size is only 8.5 KB. Lovin it!
@Midas
Mind to care your findings? All I got when visiting the forum you linked is
"Sorry Guest, you are banned from using this forum!"
(yesterday it was working)
I managed to convert about 75% of the functionality of yaP and file size is only 8.5 KB. Lovin it!
@Midas
Mind to care your findings? All I got when visiting the forum you linked is
"Sorry Guest, you are banned from using this forum!"
(yesterday it was working)
Re: yaP - yet another Portablizer
I just compiled this with MingGW gcc and the exe came out as 527 KB.
Code: Select all
DIM ArrayInt% [5]
DIM ArrayStr$ [10]
ArrayStr$ [0] = "zero"
ArrayInt% [0] = 0
PRINT UBOUND(ArrayInt%)
PRINT UBOUND(ArrayStr$)