Re: yaP - yet another Portablizer
Posted: Tue Jun 02, 2015 2:50 am
I know that scroll is wrong but for some reason I won't fix
TPFC Forums
https://www.portablefreeware.com/forums/
https://www.portablefreeware.com/forums/viewtopic.php?t=5698
Code: Select all
[GENERAL]
application = App\DVDDecrypter.exe
[BEFORE]
regkey = HKCU\Software\DVD Decrypter :: Data\settings.reg
; set defaults
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_ShellExtensionsAutoPlay :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_ShellExtensionsDVD :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsCDR :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsDVD :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsIMG :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsISO :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsMDS :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: EVENTS_CheckForProgramUpdate :: 0 :: REG_DWORD
[url]http://www.surfright.nl/en/hitmanpro[/url] author wrote:HitmanPro 3, second opinion malware scanner: unlimited free scanning and free 30-day version to remove detected malware.
Code: Select all
[GENERAL]
application = App\SoulseekQt.exe
[BEFORE]
regkey = HKCU\Software\SoulseekQt :: Data\registry.reg
dir = %localappdata%\SoulseekQt :: Data\
(regkey) = HKCU\Software\QtProject
Hi Midas,Midas wrote:Hi there, tproli.
Lately, whenever I download one of yaP's ready-made examples (from http://www.rolandtoth.hu/yaP/#examples), launcher INI files are coming in Unix text format (UTF-8 with LF only). What gives?
As the majority are Windows only apps, ANSI with Windows standard line endings (CR+LF) would be preferable, IMHO. Thanks anyway for your continued support.
rbon wrote:You are right, it's Unix text format. I open these ini files with Microsoft Wordpad and then I save them with the same program and voilà CR+LF.
freakazoid wrote:One problem with Soulseek is it creates a dynamic settings file each time it closes - soulseek-client.dat.### (### is a timestamp of some sort). This could lead to the Data folder becoming quite large over time.
tproli - Would it be possible for yaP to only keep the latest file? This could work on either the BEFORE or AFTER section.
changelog.txt author wrote:v0.7 - March 09, 2016
- NEW: uservars available in GENERAL section too (suggested by Shyam Saurabh)
- NEW: option to set default values for USERINPUT, USERFILE and USERDIR
To make this work, new user variables have to be created beforehands.
Examples:
uservar = USERTEXT_DEFAULT :: Hello!
uservar = USERTEXT_TITLE :: Important notice
uservar = USERTEXT_MESSAGE :: Please say Hi or Hello
message = {USERTEXT}
uservar = USERFILE_DEFAULT :: D:\helloworld.txt
uservar = USERFILE_TITLE :: Please select your favorite file
uservar = USERFILE_PATTERN :: Text files | *.txt;*.json | Documents | *.doc
message = {USERFILE}
uservar = USERDIR_DEFAULT :: %windir%
uservar = USERDIR_TITLE :: Please select your favorite folder
message = {USERDIR}
v0.6.5 build 293 BETA - March 30, 2015
- FIXED: launching applications with non-exe extension (thanks to Midas)
- NEW: main icon update
v0.6.5 build 287 BETA - February 16, 2015
- NEW: ini keys ending with "X64" are executed only if:
- yaP is running on 64bit Windows, and
- the "application" key has a second exe set (indicating that yaP is running in X64 mode)
Example:
application = App\App.exe :: App\AppX64.exe
envvar = JAVA_HOME :: {YAPROOT}\jre
envvarX64 = JAVA_HOME :: {YAPROOT}\jre64
The first exe must be set even if the application does not support 32bit:
application = NULL :: App\AppX64.exe
- NEW: ini keys ending with "X86" are executed only if yaP is not running on 64bit Windows
- FIXED: keep passed parameters when yaP is restarted in admin mode
- FIXED: adding registry values failed if contained spaces
v0.6 build 188 BETA
- NEW: added 64bit version of yaP to the distribution package (yaPX64.exe).
The 64bit version allows accessing registry keys without redirection (e.g. HKLM\Software).
- NEW: launching main application maximized/minimized/hidden
Syntax: application = App.exe [ :: AppX64.exe] [ :: max | min | hide]
Example: application = App\App.exe :: NULL :: max
- NEW: using "*" as the first character of main exe disables main application path validation
Example: application = *App\NonExistingFile.exe
- NEW: systemrefresh also refresh desktop wallpaper
- NEW: {JAVAEXE} macro: absolute path to installed Java executable (javaw.exe)
Example usage:
application = {JAVAEXE}
commandline = -jar "{YAPROOT}\App\MyFile.jar"
- NEW: on X64 systems yaP first looks for "<EXENAME>X64.ini".
If not found, "<EXENAME>.ini" will used.
Same holds true for the "yaP.ini" fallback (first "yaPX64.ini", then "yaP.ini").