Re: yaP - yet another Portablizer
Posted: Thu Apr 02, 2015 1:06 pm
Thank you very much
TPFC Forums
https://www.portablefreeware.com/forums/
https://www.portablefreeware.com/forums/viewtopic.php?t=5698
tproli wrote:How would yaP decide what version you would like to launch?
yaP does not have if(-else) conditions, it can only differentiate between 32/64bit.
Code: Select all
application = App\RegshotPortable{USERTEXT}.exe
The reason that I need to launch ANSI is because Unicode version won't works on Windows 8.1 (it seems for me).tproli wrote:That's a great tip, I haven't thought of such usage of {USERTEXT}, thanks!
Perhaps it's even better to rename "RegshotPortableUnicode.exe" to "RegshotPortable.exe", so if you don't type anything to the input box, the unicode version will be launched. Otherwise you need to type "ansi" only.
Code: Select all
; configuration file for yaP v0.6.5 Beta 293 (http://rolandtoth.hu/yaP/)
; application name: TorrentRover Portable
; application type: 32-64 bit (for Windows XP, 7, 8, 8.1)
; version: 0.23.1 beta
; website: www.torrentrover.com
; suggested by: rbon
[GENERAL]
application = App\TorrentRover.exe
!dotnet = 3.5!
[BEFORE]
regkey = HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASAPI32 :: {YAPROOT}\Settings\TorrentRover.reg
regkey = HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASMANCS :: {YAPROOT}\Settings\TorrentRover.reg
regkey = HKEY_CURRENT_USER\Software\Microsoft\.NETFramework\SQM\Apps\TorrentRover.exe :: {YAPROOT}\Settings\TorrentRover.reg
regkey = HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore :: {YAPROOT}\Settings\TorrentRover.reg
[AFTER]
-regkey = HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASAPI32
-regkey = HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASMANCS
-regkey = HKEY_CURRENT_USER\Software\Microsoft\.NETFramework\SQM\Apps\TorrentRover.exe
-regkey = HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStor
Code: Select all
[GENERAL]
application = App\TorrentRover.exe
!admin = 1
!dotnet = 3.5!
Code: Select all
dir = %LocalAppdata%\TorrentRover :: Config
dir = %Documents%\TorrentRover :: Files
Really I do not have seen these two extra locations.tproli wrote: Don't you have these?
Sure, but I would like to make sure those extra locations are covered. So you have all your downloaded files and user.config in your application directory?rbon wrote: Do You think to add this launcher to Your Example configurations?.
Code: Select all
dir = %LocalAppdata%\TorrentRover :: Config
dir = %Documents%\TorrentRover :: Files
Code: Select all
; configuration file for yaP v0.6.5 Beta 293 (http://rolandtoth.hu/yaP/)
; application name: TorrentRover Portable
; application type: 32-64 bit (for Windows XP, 7, 8, 8.1)
; version: 0.23.1 beta
; website: www.torrentrover.com
; suggested by: rbon
; This yaP launcher is tested only for Portable version of TorrentRover, also please:
; 1. create the yaP structure (for example): \TorrentRover Portable\App
; 2. download the file 'TorrentRoverPortableSetup.exe' and extract it in subfolder \App
[GENERAL]
application = App\TorrentRover.exe
!admin = 1
!dotnet = 3.5!
[BEFORE]
regkey = HKLM\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASAPI32 :: Settings\TorrentRover.reg
regkey = HKLM\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASMANCS :: Settings\TorrentRover.reg
regkey = HKCU\Software\Microsoft\.NETFramework\SQM\Apps\TorrentRover.exe :: Settings\TorrentRover.reg
regkey = HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore :: Settings\TorrentRover.reg
[AFTER]
-regkey = HKLM\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASAPI32
-regkey = HKLM\SOFTWARE\Wow6432Node\Microsoft\Tracing\TorrentRover_RASMANCS
-regkey = HKCU\Software\Microsoft\.NETFramework\SQM\Apps\TorrentRover.exe
-regkey = HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore