You are here

Portable App Development

Discuss portable app development and modification of existing apps.

PAL problem (Popman)

Simeon's picture
Submitted by Simeon on September 24, 2011 - 8:31am

Popman (smal email client) has support for a "bigger" email client like Thunderbird. The path to that app is stored in an ini file as EmailClient=C:\PortableApps\ThunderbirdPortable\ThunderbirdPortable.exe.
Adding support for portability is easy (replace the drive letter). But adding support for path portability is hard because %PAL:PartialPath% doesnt work as it isnt the apps path that is needed but the path to Thunderbird Portable.

Does anyone know a fix for this?

launcher should create an exe to start two programs

Submitted by uta on September 22, 2011 - 3:20pm

Hi cracks,

I have a program i try to make portable which always needs another program. so i always have to start two portableapps. I thougt it would be a good idea to integrate both programms in one portableapp. More precisely in two app\appname dirs and tell the launcher's ini programexecutable to refer to two exe-files (i tried two lines). That does not work.

can't find ....data\settings\nsisconf.nsh during launchergenerator

Submitted by Freewilly3d on September 22, 2011 - 12:57pm

trying to follow some instructions I found to make evernote portable. I downloaded the 2.xx versions and I'm getting an error when I run the launchgenerator !include: could not find" x:\portableapps\nsisportable\app\nsis\..\..\data\settings\nsisconf.nsh Any suggestions?

Thanks

Portable Apps Creator 99 problem

Submitted by Ekevb on September 21, 2011 - 9:20am

After using the latest PortableAppsCreater to package DVDSlideshowGUI the final
product DVDslideshowGUIPortable.exe (my naming) fails with the following error:
Windows cannot find "I:\DVDSlideshowGUI\I:\DVDSlideshowGUI\DVDslideshowGUI.exe".

Packaging other programs give the same type of error.

I suppose that step "Shortcutinformation" is the cause of this problem.

Here are 2 fields:
1. Get location of program to run:
I entered "I:\DVDSlideshowGUI\DVDslideshowGUI.exe" because I could NOT enter a path, but had to enter a file.
2. Get the location for the launcher:

Saving REG_MULTI_SZ values via custom code.

Submitted by scriptdaemon on September 15, 2011 - 10:18pm

CppCheck saves application paths in the registry as a REG_MULTI_SZ, which is saved to the .reg file in hex.

Example line from CppCheck.reg file (saved from launcher):

"Application paths"=hex(7):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,\
  00,61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,\
  36,00,29,00,5c,00,4e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,\
  00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,\
  65,00,22,00,00,00,00,00

PAL 2.1.1 : Temp\AppnamePortableTemp\.. - Left over

Submitted by Ambimind on September 11, 2011 - 12:04am

Working on porting a java app.
Filesystem and Registry are clean apart from said.
In the manual under "CleanTemp" we are told this should not happen; Is this a bug or am I doing something wrong?(Note: Atm I'm cleaning it using [DirectoriesCleanupForce])

Here is my launcher.ini:

[Launch]
ProgramExecutable=PhpStorm\bin\PhpStorm.exe
DirectoryMoveOK=yes
RunAsAdmin = force

;[Environment]
;IDEA_PROPERTIES=c:\ideaconfig\idea.properties

[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\PhpStorm\bin\idea.properties
Entry=idea.config.path=

How to handle %PAL:AppDir% in registry key name?

Submitted by chaz on August 30, 2011 - 11:59am

I have an app that requires a compatibility settings under Windows 7. In the registry, the setting is saved under HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers as "C:\PortableApps\MyApp\App\MyApp.exe=REG_SZ:DISABLETHEMES". The problem is that the app path is part of the registry key name, and I can't find a way to set that and clean it up in Launcher.ini.

I've tried:

[RegistryValueWrite]
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\%PAL:AppDir%=REG_SZ:DISABLETHEMES

[Fixed] DirectoriesMove not backing up (some) local folders

Submitted by prapper on August 27, 2011 - 8:08pm

I need to move a folder in and out of %APPDATA% so I have this in the launcher INI:

[DirectoriesMove]
folder=%APPDATA%\folder

The folder is moving fine but if there's a local one present it isn't backed up.

If I debug the launcher I'm getting the ${DebugMsg} "Matching directories for $1 discovered, deleting $0" message instead of ${DebugMsg} "Backing up $4 to $4.BackupBy$AppID" message that I would expect.

I also used this with EAC:

[DirectoriesMove]
EAC=%APPDATA%\EAC
AccurateRip=%APPDATA%\AccurateRip

Pages