You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Saving of the settings in a file *.dat

Submitted by tapsklaps on September 1, 2013 - 5:36am

Assuming that an app saves its settings in a file *.dat. Especially may be saved the changes with respect to drive-letters and languages in this file *.dat. Because of the difficulties regarding the access to this *.dat file, there are now basically 2 options.

  1. Removing of the file *.dat
  2. Firstly I can remove this file *.dat. Afterwards I look, where the app now stores its settings. Now I start the development of a portable version of the app.

  3. Access to the file *.dat

About language problem

Submitted by tony200910041 on September 1, 2013 - 12:53am

Hi,
I am now facing a language problem that my portable applications cannot detect my language probably.
I am using WinXP SP3. I live in Hong Kong and so I prefer Traditional Chinese (although I know English) as my language. Still my application cannot detect my language properly.

I use FoxitReader as an example. When I open it, it is in English.
So I created a text file called TEST.txt in the same directory as that of the launcher. Then I add a FileWrite section in FoxitReaderPortable.ini,

[FileWrite15]
Type=ConfigWrite
File=%PAL:Drive%%PAL:PackagePartialDir%\TEST.txt

PicPick Portable portablization

Gord Caswell's picture
Submitted by Gord Caswell on August 30, 2013 - 3:45pm

I've started this thread to continue discussion on the portablization of PicPick, so as to keep the Outdated Apps thread clean. The following is an explanation in detail of everything occurring in the launcher.ini, Custom.nsh and installer.ini when I updated the package for 3.2.7.

PicPickPortable.ini

[Launch]
ProgramExecutable=picpick\picpick.exe
DirectoryMoveOK=yes
SupportsUNC=yes

This section has not been touched.

[Activate]
Registry=true

[RegistryValueBackUpDelete]
1="HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\PicPick Start"

Analyzing of the portability

Submitted by tapsklaps on August 28, 2013 - 6:51pm

Once again I've thought a little bit about the steps, which must be performed for obtainment the necessary knowledge for creating a portable app. Let me consider the base app named "tictac". Its appropriate installer should be "setup_tictac.exe". After extraction of the file setup_tictac.exe I receive for example the file tictac.exe and three other files named file1, file2 und file3, which are necessary for the correct working of the app. Now I run the file tictac.exe and analyze with such typical apps like Regshot the different changes, which was caused by the app tictac.

FocusWriter 1.4.4 with improved launcher.ini

Submitted by P. Audite on August 28, 2013 - 4:08pm

Hi there!
I'm a newbie here and unsure if that is the rigt way.

For the time being I've improved the FocusWriter launcher.ini for a better portable support. I've also added an online installer.

So, please test it and let me know your opinion.

FocusWriter1.4.4 improved

md5: 1c96f7790d78fe79b4946ffe22a4f225

[Launch] RunAsAdmin=force not working

Submitted by jedione on August 23, 2013 - 2:32pm

trying to add HKLM.reg file
my app need it to run
--------------------------------------------------
[Launch]

RunAsAdmin=force
ProgramExecutable=portable\apppnameportable.exe

[Activate]
Registry=true

[RegistryKeys]
two=HKLM\SOFTWARE\Wow6432Node\
three=HKCU\S-1-5-21-2764583246-2298883548-3252906630-1001\Software\
one=HKCU\Software\
----------------------------------------------------------------
also tryed \compile-force

any reason why this wont work....HKCU are fine \\ HKLM is nogo!

Basic Reg Help.

Submitted by jedione on August 21, 2013 - 11:56pm

new to the Forum..May stay a while..

Hey guys just learnd how to make my first PAF. big learning curve
but now I know! time to move on my next app involves adding
two .Reg key's all i know is

1. Put them in /Data/settings folder
2. edit /appinfo/Launcher/appname.ini
to say.
-------------------------------------
Activate]
Registry=true

[RegistryKeys]
What go's here ?
------------------------------------
the two .reg files i exported and put in /Data/settings/
are named
one.reg
two.reg

can some one give me some insight...i am a very visual learner.

Pages