You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Mod wish

Submitted by g31257d on October 1, 2007 - 9:15am

I wish that there is a way that users can modify the main concole as that apps could be stored in a folder so that apps can be sorted out as the user wishes his or her portable start menu should be. Ü
But seriously ... this modification would make a serious difference between using portable apps and PStart 2.11 by pegtop software (pegtop.net). I'm using both because PStart still has that customizing thing that Portable Apps couldn't offer. Hope you guys out there would give in to this wish of mine. Thank you very much and more power!

Dir Copy

Submitted by IllusionofDemise on September 29, 2007 - 12:49pm

Will this copy the whole \2k\ dir into \bin\ dir

StrCpy $0 "$EXEDIR\App\GnuCash\orbitfix\2k" ;Path of copy file from
StrCpy $1 "$EXEDIR\App\GnuCash\bin" ;Path of copy file to
StrCpy $2 0 ; only 0 or 1, set 0 to overwrite file if it already exists
System::Call 'kernel32::CopyFile(t r0, t r1, b r2) l'
Pop $0 ; pops a bool. if overwrite is off and there is a file then error will be 1

Can someone check this for me

Submitted by IllusionofDemise on September 29, 2007 - 11:15am

if there something wrong with this code?? because its not poping up a msg box at all and im running xp, im not good with nsis yet so i though i might have messed up the if statement or something. GetWindowsVersion is a function i found in the manual.

Section "Main"

; Windows 2000 Fix
Call GetWindowsVersion
Pop $R0
!if "$R0" = "2000"
MessageBox MB_ICONEXCLAMATION|MB_OK "windows2k"
!endif
!if "$R0" = "XP"
MessageBox MB_ICONEXCLAMATION|MB_OK "windowsXP"
!endif

SectionEnd

PAM Updates Code: Well, a start anyway

Ryan McCue's picture
Submitted by Ryan McCue on September 29, 2007 - 3:38am

I've got the start of the updates code for the PAM ready. It's still a long way from being finished (doesn't even check yet), but at least it's a start. Rather than being a generic solution for many servers, ala AMP, it only handles the PA site, which reduces the complexity.
Et, viola.

procedure TfrmMenu.GetUpdatesINI();
// Download the updates INI from the PortableApps.com server
// Acknowledgement: http://delphi.about.com/od/internetintranet/a/get_file_net.htm for the function
var
	remoteUpdates: TINIFile;
	remoteUpdatesPath: TString;
	localUpdatesPath: TString;
begin

Workaround to extend Menu with more Apps?

Submitted by lui on September 28, 2007 - 4:19pm

Hi, I have quite a few programs that I want to launch with Portable App, and I would like to "sort" them in folders like "GraphicApps", "OficeApps", "MultimediaApps" and "GamesAps". Portable Apps currently only scans the first sub-directory Sad Any idea for a work-around? (Shortcuts don't work unfortunately)
Thanks, Lui

Portable Firefox For Linux: First Test Version

Submitted by katasuka on September 28, 2007 - 2:30am

Well folks I think I created a Portable Firefox for Linux.

It works, I tested it on my USB stick and it was so super simple.

If anyone wants to try it out (and if the devs want to tweak it and add it to the list of apps) below is the download link **NOT SELF PROMOTION - IS A WORKING PORTABLE APP FOR LINUX THAT I'VE YET TO SEE DONE**

Also note, This was tested so far on a USB stick and hard drive on Linux Mint 3.1

[link removed by moderator JTH due to licensing]

Just decompress and run startfirefox.sh and be sure to give me feedback, bugs, what systems it runs on, etc.

Pages