You are here

Portable App Development

Discuss portable app development and modification of existing apps.

App dont launch

Submitted by j7evn on April 22, 2016 - 9:46am

Hello! I tried to make my own portable teamspeak. I used portableapps.com laucher for it.
So after "building" in laucher i try to run my portable app but nothing happens
Data folder is creating,but program isn't launch Sad

Please help and sorry for my language Blum

[Fixed] Double quotes (") in Details:Trademarks cause PA.c Installer to fail.

3D1T0R's picture
Submitted by 3D1T0R on April 21, 2016 - 12:32am

diff U7 3.1.1 -> 3.1.1 patched

--- v3.1.1.0/PortableApps.comInstaller/Other/Source/InstallerWizard.nsi
+++ 311patch/PortableApps.comInstaller/Other/Source/InstallerWizard-.nsi
@@ -679,14 +679,15 @@
 	${ReadINIStrWithDefault} $1 $AppInfoINIFile "SpecialPaths" "Plugins" "NONE"
 	${WriteConfig} ADDONSDIRECTORYPRESERVE "$1"
 	${WriteConfig} INSTALLERCOMMENTS "For additional details, visit PortableApps.com"
 	${ReadINIStrWithDefault} $1 $AppInfoINIFile "Details" "Trademarks" ""
 	${If} $1 != ""
 		StrCpy $1 "$1. "
 	${EndIf}
+	${WordReplace} $1 "$\"" "$$\$\"" "+" $1
 	${WriteConfig} INSTALLERADDITIONALTRADEMARKS "$1"
 
 	;Source Code
 	${ReadINIStrWithDefault} $INCLUDESOURCE $InstallerINIFile "Source" "IncludeInstallerSource" "false"
 	${If} $INCLUDESOURCE == "true"
 		${WriteConfig} INCLUDEINSTALLERSOURCE "true"
 	${EndIf}

diff U7 3.1.2 -> 3.1.2 patched

--- v3.1.2.0/PortableApps.comInstaller/Other/Source/InstallerWizard.nsi
+++ 311patch/PortableApps.comInstaller/Other/Source/InstallerWizard-.nsi
@@ -682,14 +682,15 @@
 	${ReadINIStrWithDefault} $1 $AppInfoINIFile "SpecialPaths" "Plugins" "NONE"
 	${WriteConfig} ADDONSDIRECTORYPRESERVE "$1"
 	${WriteConfig} INSTALLERCOMMENTS "For additional details, visit PortableApps.com"
 	${ReadINIStrWithDefault} $1 $AppInfoINIFile "Details" "Trademarks" ""
 	${If} $1 != ""
 		StrCpy $1 "$1. "
 	${EndIf}
+	${WordReplace} $1 "$\"" "$$\$\"" "+" $1
 	${WriteConfig} INSTALLERADDITIONALTRADEMARKS "$1"
 
 	;Source Code
 	${ReadINIStrWithDefault} $INCLUDESOURCE $InstallerINIFile "Source" "IncludeInstallerSource" "false"
 	${If} $INCLUDESOURCE == "true"
 		${WriteConfig} INCLUDEINSTALLERSOURCE "true"
 	${EndIf}

DirectoriesMove & RegistryKeys not working.

Submitted by Jeff Savage on April 19, 2016 - 1:42pm

So I am trying to make a PAF version of Pokemon TCG Online. I am having trouble getting DirectoriesMove and RegistryKeys to work at all. When I launch the game, it loads instantly, which should not happen. The data folder alone is 3.7 gb (holds all the images for all cards) and should take a few minutes to copy over on a usb2 connection. Problem is, nothing is being moved. I don't mind waiting a few minutes for my game to load but the problem is it loads instantly and doesn't move over essential files or keys. I should also mention I saved this ini in unicode.

Recompile NSIS script

Submitted by Geekish on April 1, 2016 - 5:22am

Hi there

I'm brand new here, and i'm a complete nOoB in NSIS scripting.

I downloaded a portable app, and extracted the launcher, in order to get to the script, i did no modifications to the script, but now it won't compile i get an error on this line.

WriteRegBin HKCU Software\BurnAware\License Key data[91242 ... ] ; !!! Unsupported

I have no clue what's wrong as i don't know scripting, but my question is, it was already compiled, HOW?

Thanks in advance

Cannot delete registry keys in HKLM with Administrator privilege

Submitted by Reisll on March 26, 2016 - 12:34am

Hi everyone,

I'm currently making a portable version of Adobe Photoshop CC. It's working fine now. However, some of the registry keys are generated and stored in HKLM (just trash keys and not important). I want to delete all these keys when the application exit to make it truely portable and leave no trace behind. I tried to run the program as Admin, put "RunAsAdmin" in Launch section, put the keys in [RegistryCleanupIfEmpty], [RegistryCleanupForce] but no help.

Is this a bug or I'm missing something?

Thank!

How to run a BAT file (or EXE) before launching the App

Submitted by Reisll on March 24, 2016 - 12:32am

Hello everyone,

I'm currently working with a software that requires a running service.
Because the PortableApps Launcher is not working with services right now, I have to write a BAT file that call "sc" command to register the service, run it and remove afterward. It's fine to use but not convenient at all. It's better if the portable program can execute the BAT file for me (instead of running manually).

Is there anyway to call the BAT (or EXE) file from the portable program?!

Thank in advancce!

How to backup registry key to reg file

Submitted by Reisll on February 27, 2016 - 4:28am

Hi everyone,

I'm currently making a portable version of UltraISO using PortableApps.com Launcher.
The program is working fine now. However, It saves settings in the registry key:
HKCU\S-1-5-21-1749014816-2095996515-565535614-1000\Software\EasyBoot Systems\UltraISO\5.0
All values will be written to that key after the program exit. If I make change to the program, it will be saved in the registry. Thus, If I want to keep the settings (that I made), I need to backup the key and use it to replace the reg file in Data\settings.

Pages