yaP - yet another Portablizer
yaP - yet another Portablizer
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
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
Last edited by tproli on Mon May 27, 2013 12:50 am, edited 12 times in total.
Re: yaP - yet another Portablizer
thanks tproli for the portablizer!
can you share a batch template or example for moving files around?
cheers
can you share a batch template or example for moving files around?
cheers
Re: yaP - yet another Portablizer
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.
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.
Re: yaP - yet another Portablizer
To copy/move files, use something like this:
before.bat:
after.bat:
before.bat:
Code: Select all
@echo off
:: Copy settings.ini file to the Windows directory:
COPY /Y settings.ini %WINDIR%\settings.ini
Code: Select all
@echo off
:: Move settings.ini file from Windows directory to the portable directory:
MOVE /Y %WINDIR%\settings.ini settings.ini
Re: yaP - yet another Portablizer
thanks tproli for the examples!
Re: yaP - yet another Portablizer
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
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
Re: yaP - yet another Portablizer v0.2
thanks for the update tproli!
-
- Posts: 42
- Joined: Sun Oct 19, 2008 12:58 am
“yaP” if far from “yet another Portablizer” it is “Amazing”!
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…
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…
Re: yaP - yet another Portablizer v0.2
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.
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.
Re: yaP - yet another Portablizer v0.2
this is link (and also the other one) is dead now. is there some other place to download?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
Re: yaP - yet another Portablizer v0.2
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 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)
Re: yaP - yet another Portablizer v0.2
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.
Re: yaP - yet another Portablizer v0.2
I executed the following command: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)
Code: Select all
reg delete /?
My YouTube channel | Release date of my 13th playlist: August 24, 2020