I am going to attempt to create a portable app using NSIS. To conform with the rest of portableapps.com . I have already Created the App there is only one problem. The program saves to a file and i want it to save to a file on the portable device. How will I solve changing drive letter issues as the program requires a filepath to save to.
You shouldn't save to a set path. What language are you using?
-----
In a perfect world Wiis would be free.
In this world only wheees are free.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
The program is in python. It has an ini file which contains the path to save the log. In order to save the log, It accepts a save path suck as "Q:\logdir\", but not "\logdir\" this will cause the program to freeze.
You can make the "logdir" relative to the program executable that is currently running? I'd think it would be possible.
______________________
Signature...What Signature?
i was able to make it relative now how do i turn it into a .paf.exe file for portableapps menu?
PAF.EXE is simple.
Here's what you need to do to have it in the PortableApps.comFormat (PAF)
Now, as you can see, if you ARE making this program from scratch, and not making an existing one portable, you settings should be stored in "Data\settings" which is relative from your program executable. Check into making paths relative of an executable in python if you don't know how, I'm sure something like it should be possible.
As well, your program depedencies like librarys, images, icons, etc, should probabaly be stored in "App\YourAppNamePortable" which will also be relative from your program executable, and then to promote your application on this website (or even link), it must be open source, so place your source files in "Other\Source".
I think if you choose to release the source under the GPL license is a good idea.
If you do use the GPL, you can also use the PortableApps.com Installer.
If you have any more questions about the PortableApps.comFormat, feel free to add me on MSN.
(mono_purpura[AT]hotmail[DOT]com)
Edit:So I just post over, and I missed that you are gonna use NSIS, so I assume you're making an existing App Portable, feel free to contact me at the above IM, and I can help you out.
______________________
Signature...What Signature?
You can also contact me via IM on ryanmccue10[at]hotmail[dot]com
You can contact me via email at ryanmccue[at]cubegames.net
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
my contact is jmc314(at)hotmail(dot)com
its ready to go except one thing the ini file pathname is reletive to the drive not the application directory. so when i package this if they save it to another folder other than the portableapps folder such as root it will create a /portableapps/ folder to save the log in the /Data/logdir/ folder