You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Portableapps.com in U3 and 100% good autorun

kevmyst's picture
Submitted by kevmyst on January 30, 2012 - 9:00pm

I use Sandisk Cruizer 4GB U3.

U3 Partition:
1: emulate cdrom
2: pendrive

I write script and build iso file which scans disks in the background,search is the file "\PortableApps\PortableApps.com\PortableAppsPlatform.exe" and runs it.

Work 100%

In my site are all file to download.

http://free-portal.pl/download.php?view.7

Instruction:

1. Download pack: "U3PortableApps.rar"
2. Unpack in C: (Easy to use file in dos)
3. Run u3.exe in dos
4. write and enter: u3 -p 1024000 x {x-letter to pendrive, repartition device 1mb}

Use of an online installer

Submitted by tapsklaps on January 30, 2012 - 9:35am

Suppose I want to make a program portable, which is a Freeware but not Open Source. Normally I need in this case a permission of the developer of the program. However, I've read here several times in the forum, that it would be with an online installer possible to make a program portable without the consent of the developer. Personally I consider this possibility for something bizarre, because I am of the opinion, that the main feature of an online installer is to make the size of the installer file (*. paf.exe) smaller. Is my assumption so far correct?

Scope of the environment variable %PAL:LanguageCustom%

Submitted by tapsklaps on January 26, 2012 - 6:28am

I've read through several times the complete documentation of Languages​​. Based on the explanations in the "Setting a custom language environment variable" I've come to the conclusion, that the environment variable %PAL:LanguageCustom% exclusively will be applied in the PortableApps.com Platform. This environment variable is generated by the sections [Language] and [LanguageStrings].

Task Coach portable setup deletes .tsk file

Submitted by mupan on January 25, 2012 - 10:37am

Well, the subject says it all. Task Coach portable paf setup even does not take the time to ask the user if he wants to keep his .tsk. So, updating Task Coach paf instead of installing to a new folder to keep the old tasks and settings safe cannot be recommended, unlike other paf's.

Edit 29 Jan: Good chance that I didn't find a bug but that the problem is me being confused with installation locations, .lnk's and backup copies. I am sorry. I need a secretary ... Wink

PAL Glitch

Submitted by PAL Enthusiast on January 25, 2012 - 10:02am

I believe i have found a glitch ..
no matter what i do ..
PAL is unable to portabilize:
HKCU\Software\Classes\CLSID

Here is my launcher configuration:
http://pastebay.com/304489

Thank You,
PS: i have tried [RegistryCleanupForce] and it sill wont clean.

EDIT
I just tested on a x32bit machine and the CLSID is portabilized?
This is only a problem on x64bit machines.
* I also removed the 64bit version to test, and same problem occurs on a x64bit machine.

UPDATE

Saving in the folder Data impossible

Submitted by tapsklaps on January 24, 2012 - 8:19am

I use the PortableApps.com Application Template 2.2 to create the basic directory layout. Among other things I add for example one folder named "Test" with various files in the folder Data. Then I create the launcher and installer.

If a now install the portable app with the nstaller, I detect that the folder Data contains no folder "Test". Why is that so?

Modifying a special configuration file

Submitted by tapsklaps on January 24, 2012 - 7:59am

Assuming we have a configuration file as follows:

[username1]
.
.
Path=X:\folder1\folder2\folder3
.
.

Here is "username1" the name of the logged user on the host PC. If I now insert the USB flash drive on another PC, where "username2" is the name of the logged user, then the above configuration file are changes as follows:

[username1]
.
.
Path=X:\folder1\folder2\folder3
.
.
[username2]
.
.
Path=Y:\folder4\folder5\folder6
.
.

automatic language switching

Submitted by tapsklaps on January 22, 2012 - 3:40pm

I´ve tried to realize the automatic language switching in my portable app Tomahawk PDF+ Portable. To that extent I've created a folder named "Languages" with all language files inside of the folder DafaultData\settings. I also have created a file "custom.nsh" with the following code:

${SegmentFile}

${SegmentPrePrimary}
	ReadEnvStr $0 PAL:LanguageCustom
			CopyFiles /SILENT $EXEDIR\Data\Languages\TPdfPlus$0.lng $EXEDIR\App\TomahawkPDF+
			Delete $EXEDIR\App\TomahawkPDF+\TPdfPlus.lng
			Rename $EXEDIR\App\TomahawkPDF+\TPdfPlus$0.lng $EXEDIR\App\TomahawkPDF+\TPdfPlus.lng			

Pages