yaP - yet another Portablizer

If you are currently developing portable freeware or planning to do so, use this forum to discuss technical implementation, seek out like-minded developers for partnership, or solicit interested users for beta testing.
Message
Author
User avatar
loin2kolpotoru
Posts: 276
Joined: Fri Oct 09, 2009 11:20 am

Re: yaP - yet another Portablizer

#406 Post by loin2kolpotoru » Thu May 16, 2019 5:19 am

Is there a yap launcher for Basilisk browser and if not please make one.

User avatar
Midas
Posts: 6337
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: yaP - yet another Portablizer

#407 Post by Midas » Sun Feb 02, 2020 5:07 am

That one surely counts as some of the more complex yaP launcher configurations on the record. As a WinPatrol user, I thank you for that, Rudy5. :sunglasses:

User avatar
Midas
Posts: 6337
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: yaP - yet another Portablizer

#408 Post by Midas » Sat Feb 08, 2020 2:14 pm

From similar issues I have had in the past, I came to the conclusion that yaP can only do file operations on Windows text files (ANSI 125x encoded{?}) and silently fails on UTF8 and the like... YMMV. :confused:

And yes, I think tproli is still around... just not as active as before.

User avatar
juverax
Posts: 206
Joined: Mon Jun 11, 2018 5:19 am

Re: yaP - yet another Portablizer

#409 Post by juverax » Sun Feb 09, 2020 9:21 am


User avatar
giulia
Posts: 485
Joined: Sat Sep 14, 2013 8:09 am

how can i use yap to include the folder user\all\ ?

#410 Post by giulia » Sun Feb 23, 2020 9:15 am

Hi

i tried to make guitar pro 7 portable
it saves the soundbank ( lots of sounds ) to make it play more realistic here user\all\Arobas Music\Guitar Pro 7\Soundbanks\

I created a portable version with yap and it works but it can't find the soundbanks
I saved the soundbanks in the portable version
so the folder is h:\guitarpro 7
inside H:\guitapor 7 I moved Soundbanks folder

how can i edit yap config to let GuitarPro7.exe let read the internal folder Soundbanks like it's installed in user\all\Arobas Music\Guitar Pro 7\Soundbanks\ ?
thanks

User avatar
giulia
Posts: 485
Joined: Sat Sep 14, 2013 8:09 am

Re: yaP - yet another Portablizer

#411 Post by giulia » Tue Mar 24, 2020 9:38 am

hi
why nobody does not want to help me
i moved the user\all\Arobas Music\Guitar Pro 7\Soundbanks\ inside the settings folder
just need to use yap to edit the ini and add to this folder ?

can somebody please help me?
thanks

User avatar
lintalist
Posts: 348
Joined: Sat Apr 19, 2014 12:52 am
Contact:

Re: yaP - yet another Portablizer

#412 Post by lintalist » Fri Mar 27, 2020 1:22 pm

Perhaps you need to copy/move the files back and forth each times you run the program using a simple batch file as shown here:
viewtopic.php?p=21262#p21262
note that I'm not familiar with yap or Guitar Pro 7 but it seems logical

User avatar
Midas
Posts: 6337
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: yaP - yet another Portablizer

#413 Post by Midas » Thu Jan 20, 2022 9:53 am

Well, nothing good lasts forever... and today I got a taste of the end of yaP, by the looks of it. :(

On a desktop PC with Windows 10, MS Defender accused yaP -- 'NKV-P.exe' is nothing more than a renamed 'yap.exe' v0.7.1.5, with a changed icon to match the NKV image viewer -- of being a "Trojan:Win32/Sabsik.TE.A!ml", which even caused the machine to crash, something I hadn't seen in a long time.

I uploaded the culprit file to Virustotal, after trying in vain to find any info regarding the alleged Trojan (URL below).

The 16 out of 66 result doesn't look good at all, but I'm still quite sure it's a false positive -- along with yet another micro-push to disenfranchise the common user to fiddle with apps on their computers.

https://www.virustotal.com/
gui/file/88a0f349066b5d37b9339a59e11d1fec34aaf4bc686d0e9aa01724b318e09e7a


EDIT: AlternativeTo.net yaP page (https://alternativeto.net/software/yap/about/) also features a trojan alert...
Warning: The software contains trojan(s) and possibly other malware according to 9/53 anti-virus engines on VirusTotal: https://www.virustotal.com/en/file/a4a4 ... 482435143/

freakazoid
Posts: 1160
Joined: Wed Jul 18, 2007 5:45 pm

Re: yaP - yet another Portablizer

#414 Post by freakazoid » Thu Jan 20, 2022 1:23 pm

I still use some yaP'd apps and I'm not getting any Defender prompts.

LosslessCut is the one I use the most. Haven't changed the icon though.
is it stealth? ;)

User avatar
Midas
Posts: 6337
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: yaP - yet another Portablizer

#415 Post by Midas » Fri Jan 21, 2022 4:57 am

freakazoid wrote:
Thu Jan 20, 2022 1:23 pm
I still use some yaP'd apps and I'm not getting any Defender prompts.

Same here, this was an absolute first. But considering the scope, I'm not overly optimistic about it... :|

User avatar
rbon
Posts: 342
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: yaP - yet another Portablizer

#416 Post by rbon » Tue Feb 01, 2022 9:45 am

Midas wrote:
Thu Jan 20, 2022 9:53 am
On a desktop PC with Windows 10, MS Defender accused yaP -- 'NKV-P.exe' is nothing more than a renamed 'yap.exe' v0.7.1.5, with a changed icon to match the NKV image viewer -- of being a "Trojan:Win32/Sabsik.TE.A!ml", which even caused the machine to crash, something I hadn't seen in a long time.
I created a version of yaP (x32 and x64) with the NKV icon and then I scanned it with Kaspersky Total Security: no threats detected.

I did so:
1. I extracted the icon from NKV with IconsExtract https://www.nirsoft.net/utils/iconsext.html
2. I started Resource Hacker:
-> File -> Open -> yaP.exe -> Icon -> Action (toolbar) -> Replace Icon -> Open file with new icon (choose nkv_1.ico) -> Replace -> File -> Save
--> the same procedure with yaPX64.exe.

(for details see on How-To-Geek: https://www.howtogeek.com/75983/stupid- ... .exe-file/)

Could you give it a try on Windows 10 ?
Attachments
NKV_yaP.rar
(91.42 KiB) Downloaded 162 times
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
Midas
Posts: 6337
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: yaP - yet another Portablizer

#417 Post by Midas » Wed Feb 02, 2022 11:04 am

rbon wrote: I created a version of yaP (x32 and x64) with the NKV icon and then I scanned it with Kaspersky Total Security: no threats detected.
Took me some time to re-check the worflow -- I usually extract icons with a portabilized BeCyIconGrabber (viewtopic.php?t=20928) and then change a copy of the 32-bit yaP executable with StarPunch PE Icon Changer (viewtopic.php?t=21358; sometimes, I use either PhrozenSoft QIcon Changer or Tete009's Program Icon Changer when PEIC fails with large size icons: are all pretty straightforward, plus support drag&drop), and never did I get such stark alerts.

rbon wrote: Could you give it a try on Windows 10 ?
I did and it works fine -- but bear in mind my portables folder is currently off limits to MS Defender in my Windows 10 desktop...

User avatar
rbon
Posts: 342
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: yaP - yet another Portablizer

#418 Post by rbon » Thu Feb 03, 2022 10:40 am

Midas wrote:
Wed Feb 02, 2022 11:04 am
I did and it works fine ---
Very well.

Final words.
I had seen that in the yaP launcher there were (2) two icons.
Then I replaced 1 (one) icon and when saving the antivirus he told me that the new yaP file was a virus and deleted it.
Therefore it is necessary to replace both icons, open two .ICO files (it is possible to rename them as 1.ico and 2.ico) before pressing Replace and Save (with Resource Hacker).
I believe this is a rule with complex programs like yaP.exe (and yaPX64.exe).
Last edited by rbon on Sat Feb 05, 2022 8:11 am, edited 1 time in total.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

Login2
Posts: 1
Joined: Fri Feb 04, 2022 4:42 am

Re: yaP - yet another Portablizer

#419 Post by Login2 » Fri Feb 04, 2022 5:39 am

The solution when yaP is missing an abnormal exit (system crash, power failure, end of process, etc.).
When the starter exits abnormally, Starting again does not execute the "after" section first, Instead, the configuration file is copied to the system again, If you do not clean the previous configuration manually, it will leave a permanent residue on the computer.
The solution for "PortableApps.com Launcher" is to generate a temporary .ini file (PortableApps.comLauncherRuntimeData-App.ini) at launch time, and delete after normal exit.
This file will not be deleted when not properly exiting, And if the file is detected during the next startup, Only the "AFTER" section will be executed before restarting to avoid permanent residuals.
But unfortunately there is no 64-bit version of this launcher, Programs that use the 64-bit registry must write damn custom code and recompile the launcher files, This is very unfriendly to users who do not know how to program, And changing the launcher icon must be recompiled and cannot be done directly using a third-party program.
If yaP can fix the problem, This will make it the best portable starter.

-ElCoyot-
Posts: 6
Joined: Thu Sep 02, 2021 4:42 am

Re: yaP - yet another Portablizer

#420 Post by -ElCoyot- » Thu Sep 29, 2022 7:34 am

Hello friends.Can someone show an example of a portable program where the "workdir" variable is used.

Post Reply