You are here

Portable App Development

Discuss portable app development and modification of existing apps.

[Closed] PAL - Manual not clear that PostExec section happens even if Execute never happens

The MAZZTer's picture
Submitted by The MAZZTer on January 8, 2012 - 11:16pm

If you check the bottom of the PAL NSI, as you can see after the MessageBox for LauncherCrashCleanup, it goes down to PostExec and Post to run cleanup.

But the manual claims PostExec happens after the program is launched, which won't happen in this particular case. I am guessing the actual PAL behavior is as designed, and the manual just needs to clarify that. It might also be useful to provide a "emergency clean up" flag variable so custom code can check it.

How to create a bug report?

Submitted by BUGHUNTER on January 8, 2012 - 9:00am

Hi,

I found the bugtracker here
https://portableapps.com/development/bugs

but I can not see any possibility to create new bugreports - searching this forum for "create bugreport" does not bring up any valuable information, so I am asking here...

I am generally really enthusiastic about the whole portableapps project - the new version with automatic updates is something microsoft should have invented 10 years before, it is really fantastic for many real life applications like mobile usage, privacy enhancement, administrative easiness, many more.

Question regarding the registry

Submitted by tapsklaps on January 7, 2012 - 7:48am

Adopted a program called AppName generated the registry key HKEY_CURRENT_USER\Software\AppName. This registry key may be exported to the file appname.reg.

In the file AppnamePortable.ini I create the following 2 sections:

[Activate]
Registry=true

[RegistryKeys]
appname=HKCU\Software\AppName

Is it necessary for me before the first start of the portable program, that I insert an empty file named appname.reg in the folder Data\settings?

Registry Help

Submitted by PAL Enthusiast on January 6, 2012 - 3:32pm

Hello, anyone know how to use [RegistryValueWrite] for this situation:


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs]
"C:\\PortableApps\\NeroPortable\\App\\VC\\msdia100.dll"=dword:00000001
"C:\\PortableApps\\NeroPortable\\App\\VC\\msdia80.dll"=dword:00000001


[RegistryValueWrite]
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs\%PAL:AppDir%%PAL:PackagePartialDir:DoubleBackSlash%=REG_DWORD:1

but this is incorrect..
can anyone help?

Installer Language Selection Help

Submitted by Magibon on December 23, 2011 - 4:03am

Hey guys.. i've been pulling my hair out these past few days attempting my first language selection from the installer.

I've dissected LibreOffice, WinDjView for help.

Im making a PAF launcher/installer for Adobe Photoshop.. im sick of the bloat it comes with.
This is for my own personal use.. so no copyright infringement will be shared here.

But .. here's my custom.nsh, which i have placed in Launcher:
http://pastebay.com/147848

And here's part of my Launcher.ini (the part that's relevant):
http://pastebay.com/147849

RuntimeData should (sometimes) not put in Data\

Submitted by david_pi on December 21, 2011 - 10:08am

Hello.

PortableApps.com Launcher put RuntimeData in Data directory, and check it on startup to know if last exit is a good exit. In some case this may cause problems. For example:

  • I run a portable app on computer A, the app store settings in registry and some data in AppData. I pull out the flash drive so the app didn't do a restore, and the RuntimeData file remain in data directory.
  • Then I run the app on computer B, it found the runtimedata and do a restore. So my data and the local installed app on computer B are corrupted.

XML Language Help

Submitted by Magibon on December 17, 2011 - 1:13pm

Hello everyone.. i have searched this entire website, Wiki, and the Internet to try and figure this out... but so far am unsuccessful.

My app is pretty much done but i want to implement the language.
I've done language with INI successfully.

This is my first XML and the style is completely different than the examples I've found on here and the Internet.

Here's the XML:
http://pastebay.com/147154

If anyone can help me figure out the:
[FileWrite1] & [LanguageFile]

Pages