It is currently Sun Sep 14, 2014 8:05 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 294 posts ]  Go to page 1, 2, 3, 4, 5 ... 20  Next
Author Message
 Post subject: yaP - yet another Portablizer
PostPosted: Tue Dec 08, 2009 9:55 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
Update:
find latest version and documentation on yaP website.
-----------------------------------------------

Hi guys,

I've made a small utility called yaP to make it easy to launch some applications that are almost portable.
It is similar to X-launcher but somewhat easier.

yaP can execute batch files and import registry keys before & after the main application.

Usage scenarios
- applications requiring some files to be copied somewhere to run (eg. config file in Windows directory)
- applications requiring some registry entries to run
- applications requiring dll registrations
- etc.

Features
- ini-based settings
- absolute and relative path support
- executing batch files before launch and on close
- importing reg files before launch and on close (cleanup)
- executing batch files completely silent
- executing applications with command line parameters
- system refresh support
- support for launch & quit (disable waiting for the main application to terminate)
- extra wait option for slower computers or slower applications
- option to use a separate directory for registry, batch or other files
- setting custom working directory (absolute or relative path)
- option to prompt user before & after running the main application

Usage
1. Edit yaP.ini and fill the required sections (application, commandline, before & after sections, etc)
2. Create your batch files
3. Copy yaP.ini and yaP.exe to your application's directory
4. Run yaP.exe

Download v0.23
http://rolandtoth.hu/files/yaP_v0.25.7z

Included Examples
Anki
Auspex
CogniTrainer
Color Quantizer
Dependency
Dependency Walker
Dukto R5
ExamDiff
FBReader
Free Font Renamer
FTP Wanderer
GSpot
Image Tuner
Images2PDF
ISO Workshop
Klavaro
LICEcap
MITT
ocenaudio
ODIN
OverDisk
QDictionary
Scrollable Desktop
ShiftN
Sizer
Skype
SoftPerfect Network Scanner
SolveSpace
SUMo
SyncBack
TClock Light
UltraVNC
WinDjView
WinLess
WinMerge

_________________
yet another Portablizer


Last edited by tproli on Mon May 27, 2013 12:50 am, edited 12 times in total.

Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer
PostPosted: Tue Dec 08, 2009 7:59 pm 
Offline

Joined: Fri Nov 13, 2009 9:19 pm
Posts: 27
thanks tproli for the portablizer! :D

can you share a batch template or example for moving files around?

cheers


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer
PostPosted: Wed Dec 09, 2009 1:17 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
No such thing as batch template, but I created an example setup with WinDjView. You can download it from the first post.
Read the included readme.exe for the instructions (you have to put WinDjView.exe in the main folder, that's all).

Some minor bugs were fixed in yaP + added a new feature to display a prompt before & after running the main application.

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer
PostPosted: Wed Dec 09, 2009 12:44 pm 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
To copy/move files, use something like this:

before.bat:
Code:
@echo off

:: Copy settings.ini file to the Windows directory:
COPY /Y settings.ini %WINDIR%\settings.ini

after.bat:
Code:
@echo off

:: Move settings.ini file from Windows directory to the portable directory:
MOVE /Y %WINDIR%\settings.ini settings.ini

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer
PostPosted: Wed Dec 09, 2009 6:06 pm 
Offline

Joined: Fri Nov 13, 2009 9:19 pm
Posts: 27
thanks tproli for the examples!


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer
PostPosted: Thu Dec 24, 2009 11:38 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
First post updated to v0.2.

Changelog:
- added support for absolute paths (main application & root directory)
- added support for user-defined working directory, both absolute and relative path support (default set to main application's directory)
- added support for renaming config file
- using NirCmd 2.37 (http://www.nirsoft.net/utils/nircmd.html) for executing batch silently
- version numbering
- included examples: Klavaro, Scrollable Desktop, WinDjView

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Thu Dec 24, 2009 3:57 pm 
Offline

Joined: Fri Nov 13, 2009 9:19 pm
Posts: 27
thanks for the update tproli! :D


Top
 Profile  
 
 Post subject: “yaP” if far from “yet another Portablizer” it is “Amazing”!
PostPosted: Tue Jan 12, 2010 12:45 pm 
Offline

Joined: Sun Oct 19, 2008 12:58 am
Posts: 42
tproli,

Your “yaP” if far from “yet another Portablizer” it is “Amazing”!

Quick question… You added “both absolute and relative path support” yet the “ini” does not require this to be set. I know it works as demonstrated in your “Klavaro” example, but how? Can you explain how it is done and/or share your current script as you did in the first release?

Thanks…


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Wed Jan 13, 2010 12:39 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
Thanks for the feedback.

If I understand right, you need some technical details about how the relative/absolute path is determined? It's simple, the script checks for ":\" in the path - if found, it's absolute, if not, it's relative.

I'll upload the source later.

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Wed Jan 13, 2010 11:47 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
Here's the source:

http://ifile.it/tn32gom/yap_v0.2_source.rar

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Thu May 13, 2010 3:07 pm 
Offline

Joined: Sat Aug 22, 2009 12:26 pm
Posts: 38
tproli wrote:
I've made a small utility called yaP to make it easy to launch some applications that are almost portable.
It is similar to X-launcher but somewhat easier.

Download v0.2- includes example setups for Klavaro, Scrollable Desktop and WinDjView
http://ifile.it/6wkzyjs/yaP.v0.2.rar

this is link (and also the other one) is dead now. is there some other place to download?


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Thu May 13, 2010 9:27 pm 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
yaP v0.2
http://rapidshare.com/files/387109529/yaP_v0.2.rar
http://ifile.it/w0qb8at
http://hotfile.com/dl/42809197/0983cc6/ ... 2.rar.html

Source
http://rapidshare.com/files/387107915/y ... source.rar
http://ifile.it/mh2ow9c
http://hotfile.com/dl/42808758/20b3177/ ... e.rar.html

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Tue Dec 21, 2010 8:32 am 
Offline
User avatar

Joined: Sat Sep 09, 2006 10:14 am
Posts: 974
Location: Hungary
Hi folks,

I need some help on DOS commands, maybe somebody here can give a hand.

Is there any (preferably easy) way to delete a registry key only if it's empty? The key in question may contain another key or value(s).

(Currently working on yaP-ing SyncBack free version that's why I posted in this thread)

_________________
yet another Portablizer


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Tue Dec 21, 2010 8:51 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
I found this: http://www.computerhope.com/reg.htm and did a search, but I don't think it can be done with DOS commands, unless I am wrong. I normally use AutoIt if I need to check a Registry Key.

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: yaP - yet another Portablizer v0.2
PostPosted: Tue Dec 21, 2010 9:51 am 
Offline
User avatar

Joined: Sat Jul 31, 2010 1:19 am
Posts: 1119
Location: Helsinki, Finland
tproli wrote:
Hi folks,

I need some help on DOS commands, maybe somebody here can give a hand.

Is there any (preferably easy) way to delete a registry key only if it's empty? The key in question may contain another key or value(s).

(Currently working on yaP-ing SyncBack free version that's why I posted in this thread)


I executed the following command:

Code:
reg delete /?


I got the same information as guinness. It looks like there is no easy way to do what you want. :(

_________________
My YouTube channel | Release date of my seventh playlist: August 11, 2014


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 294 posts ]  Go to page 1, 2, 3, 4, 5 ... 20  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group