Page 1 of 1
Portable Audacity and Portable Notepad2
Posted: Wed Apr 12, 2006 6:06 pm
nm35 and I have released Portable Audacity and Portable Notepad2. I mentioned them both because they are on your list of non-portable apps. Both are open-source and are available here:
I'd also like to take this chance to re-submit all apps located at http://www.portasoft.org
Posted: Fri Apr 14, 2006 1:56 pm
Thanks! Posted both apps to the database.
Re: Portable Audacity and Portable Notepad2
Posted: Sat Apr 22, 2006 5:08 pm
[quote="justin"]nm35 and I have released Portable Audacity and Portable Notepad2. I mentioned them both because they are on your list of non-portable apps. Both are open-source and are available here:
Since I am actually writing to the person that made this program work maybe you can answer something for me.
I tried it today and may or may not keep it.
I tried to save some changes but every time I open the program the changes are gone.
I did notice that the program does enter a registry key under HKLM Software while it is running then it goes away after shutdown.
Do I simply export that key while the program is running then replace the one in the portable Notepad2 folder?
Posted: Sun Apr 23, 2006 10:10 am
It should work on its own, exporting the reg entry on startup and writing to a reg file on shutdown. What system are you using, we have had no reported problems thus far. Thanks!
Re what system
Posted: Sun Apr 23, 2006 12:07 pm
So far I have only tested on a computer that has Windows XP Pro with Shared Computer Tool Kit installed. That tool kit protects Drive C from any writes.
I was in the Tool Kit admin account. I have not tried this on another machine yet. I always use that machine to test programs incase something goes wrong.
If from your explaination when I make changes they should stay I would guess the Shared Computer Tool Kit is what is stopping it from happening.
So let me see if I understand your explaination of how this works.
When I launch the program I notice the Reg Key being created. Then when I make changes I assume that they are made to this reg key.
When the program gets shut down the reg key in windows overwrites the reg key that is stored in the Portable Notepad2 folder?
If that is it I will test on another computer and see how it works.
If you are interested in the tool kit I am speaking of this is where to get it.
http://www.microsoft.com/windowsxp/shar ... fault.mspx
Posted: Sun Apr 23, 2006 2:53 pm
I would guess that the Tool Kit is what is making it not work. Your description was correct except that the first time you run it, there should be no reg file in the folder, but upon shutdown, it creates one and then exports it upon re-opening. The file is then overwritten with the new settings if you changed any.
Posted: Sun Apr 23, 2006 6:23 pm
The regkey I was speaking of was the one in the Notepad2 folder, I assume that was the original because it has never been modified.
So I will watch on my next test and see if one is created in the portable notepad2 folder or if the one in the notepad2 folder gets updated.
Will let you know how it goes when I run the test mid week.
Posted: Mon Apr 24, 2006 1:13 pm
There is a default notepad2.reg file included in the setup.
Here's what happens when you launch PortableNotepad2.exe: (Excluding the current-settings check)
» The launcher restores all the data in the Notepad2.reg file to the Registry
» Notepad2.exe is launched, and it uses the settings that were just dumped in the Registry.
» When Notepad2 is closed, the settings are saved back to Notepad2.reg and the key is deleted from the registry.
» Then PortableNotepad2.exe is closed, and your system will be the exact same as it was before you ran Notepad2.
Hope this helps...
It is the toolkit causing the issues
Posted: Mon Apr 24, 2006 2:48 pm
If you make changes in the program then shut it down the file does get changed. Then if I reboot the computer and reopen Notepad2 the changes are still in effect.
However with the shared computer tool kit installed it messes up a bit by doing this. Open Portable Notepad2 make your changes. Shutdown Portable Notepad2. Reopen without reboot. The default settings return.
I am guessing it is because the Toolkit does not allow writes to the c crive and some how plays with the settings. So in conclusion in a regular enviroment the program works just fine and in a Shared Toolkit Enviroment it will work fine but just remember to reboot the machine if you close Portable Notepad 2 or you will loose the changes.
The program works for me and I will simply just make a backup copy of the reg key just incase I do use it on a machine that trashes my settings.
Posted: Mon Apr 24, 2006 3:39 pm
Thanks for your input, though I think that you should thank the creator of Portable Notepad2, nm35. I created PortableAudacity and it works mainly the same way. Thanks again!
Thanks to all
Posted: Tue Apr 25, 2006 12:58 pm
Both Justin for help and nm35 for making a nice product, To extend I also thanked the maker of Notepad2 which Portable Notepad2 is based.