Run exe when portable program closes
I saw by many portable apps that
they run some code/exe
then the programs starts.
after you close the program again a program or batch file runs that removes certain files.
how would I do that?
RNBY
New: Zulip (Mar 10, 2026), Platform 30.2 (Feb 17, 2026)
1,400+ portable packages, 1.2 billion downloads
Please donate if you can!
Discuss portable app development and modification of existing apps.
I saw by many portable apps that
they run some code/exe
then the programs starts.
after you close the program again a program or batch file runs that removes certain files.
how would I do that?
RNBY
I'm trying to edit the Portable Firefox launcher, but I don't want to figure how to make an NSIS configuration file from scratch, so I was wondering if there was somewhere I could get one, if not necessarily for the Portable Firefox launcher, at least for one of the Portable Apps.
Is there ant plans of a a type of password prompt (when you insert the usb drive it prompts you for a password before you can access the menu) addition to the Portable Apps menu. If so I'd like to know when the addition will come out. Thank you
i've spent some time on making my own version of portable firefox (locales, plugins, additional search plugins etc.). After i had compiled launcher using NSIS 2.22, i spotted a problem: Portable Firefox opens another instance of already running regular firefox instead of showing a message, and closing. Everything seems to be OK, when regular firefox is turned of. I think, the solution is in the INI file(s), or in *nsi scripts, but i can't find it. Does anyone had same / similar problem, and solved it? Please help.
Hi,
I try to learn how to make portable app. I love to learn on some samples so I've read developement section on this site, downloaded NSIS and then...I found a problem.
I downloaded of course all source code of Johns apps. I went to AbiWordPortableSource as was sugested on developement site and I put AbiWordPortable file to compile in NSIS. Everytime I had an error - some invalid command.
Anyone can help me? What is wrong? Did I forget about something? or maybe I didn't change some line of code which I should?
Thanks for any help.
N.
Please!
Who can make launchers for this apps?
1) GeoShell, really need it! (OpenSource, sources for NSIS installier also included)
2)FreeCommander (Freeware)
3)XnView (Freeware)
4)CubicExplorer (freeware)
That's all
This is just a quickie thing I put together.
Since software licensing gives me a headache, this is unfortunately NOT an "unzip-and-go" thing. I have put together a simple directory structure a la Haller and I have included a vital scummvm.ini and launcher BAT that makes ScummVM nice and portable. I'll leave the fancy NSIS launchers to John. 
Basically YOU get to put it together.
Here's what you have to do, a more detailed step-by-step readme is in the archive:
- Download and extract ScummVM.
- Download and extract BASS and FOTAQ, two freeware ScummVM games (optional).
- Use UPX to compress ScummVM (optional... you need to be comfortable with command prompts, or already have and use a UPX GUI tool).
Here I go again! I'm working on a legitimate, portable Adobe Photoshop CS3. Someone will need to create the NSIS-based launcher, but let me share the steps I've taken to reach the nearest point. To write these steps most accurately, I am starting with neither Adobe Photoshop/ImageReady CS2 or CS3 or either activation license on the machine...
Heres my code for the app
!define: "MUI_INSERT_NSISCONF"=""
Changing directory to: "C:\Users\*****\Desktop\poratble apps\Evil.Player.v1.17"
Processing script file: "C:\Users\*****\Desktop\poratble apps\Evil.Player.v1.17\Evil_player.nsi"
!define: "FULLNAME"="Evil Player Portable"
!define: "NAME"="EvilPlayerPortable"
!define: "APP"="Evil_Player"
!define: "VER"="1.17"
!define: "WEBSITE"="cthelight.50webs.org/index.html"
!define: "DEFAULTEXE"="Evil_Player.exe"
!define: "DEFAULTAPPDIR"="Evil Player"
!define: "DEFAULTSETTINGSPATH"="settings"
Name: "EvilPlayerPortable"
OutFile: "EvilPlayerPortable.exe"
I have tried to 'add' an extra copy of ffportable to the Portable Application Suite.
That seemed to work OK, but I need to distinguish between the 2 copies.
I have added my main FF with all the extensions installed and want to add a 'Lite' copy which is essentially the Portable FF as issued.
I have renamed the folder as FirefoxPortableLite, but both copies show up on the launcher as Firefox. I can launch either from there but what I want to do is to rename one copy as say Firefox Portable Lite. Is this possible, and if so how/where do I have to make the changes to achieve this?
Any ideas?