You are here

Portable App Development

Discuss portable app development and modification of existing apps.

CreatService.vbs and RemoveService.vbs implement in the launcher

Submitted by kingscom on October 24, 2012 - 9:04pm

I am not a programmer, i just come across this scrip on the web, i am checking if the portable.com launcher will add this scrip for service apps

create service script save as CreatService.vbs
=============================================
Const OWN_PROCESS = 16
Const NOT_INTERACTIVE = False
Const NORMAL_ERROR_CONTROL = 2

strComputer = "."
Set objWMIService = GetObject("winmgmts:" & _
"{impersonationLevel=Impersonate}!\\" & strComputer & "\root\cimv2")

Set objService = objWMIService.Get("Win32_BaseService")
errReturn = objService.Create("DbService", _
"NAME", _

Services.nsh was disable, any idea how to enable it?

Submitted by kingscom on October 23, 2012 - 9:48pm

Hi all i am new with portable apps, i am try to make proxycap portable but it not working due to it run on windows service

I have uncomment the !define SERVICES_ENABLED line in Other\Source\Segments\Services.nsh

but i don't know what to recompile Other\Source\PortableApps.comLauncher.nsi

Can an experience person give highlight, i use proxy cap to play game, i need to carry them on USB when going out on another PC i can not install it everywhere. some body give idea how to get the service working

PAL "Launcher" Folder Speculation

Submitted by PaperProjects on October 16, 2012 - 9:10pm

I was scrolling through my directory of PortableApps and I noticed that some apps (RegshotPortable) has 2 AppNamePortable.ini files. One in the Appdata/Launcher folder and the other in the Other/Source folder. Apps like Firefox Portable and the majority of other apps only have one AppNamePortable.ini file in the Source folder. I've also noticed that Regshot Portable has its splash screen in the Launcher folder, but Firefox (and most other apps) has its splash screen in the Source folder. Both apps are built with PortableApps Launcher Format 3.0.

Copy additional binaries file in the same location as the .exe file

Submitted by mpastor on October 14, 2012 - 12:48pm

My program requires the MyApp.exe file and the MyAppLibs directory to reside in the same directory location.

I want to use the portable apps installer program to create the install package. I can get it all working except I can not figure out how to get the MyAppLibs directory included in the installer. I did successfully work around this using the [optional component] section - but I do not want the user to need to click to install the necessary library files.

How do I get this additional directory of stuff included in the installer package?

RunAsAdminXP issue with PA Launcher 2.2

Ken Herbert's picture
Submitted by Ken Herbert on October 9, 2012 - 6:02pm

Didn't want to mark it as a bug just yet in case it is something wrong with what I am doing that I just am not seeing.

I have the following code in my launcher.ini for Pencil Project dev test 4:
[Launch]
ProgramExecutable=Pencil\pencil.exe
DirectoryMoveOK=yes
WaitForEXE1=xulrunner.exe
RunAsAdmin=force
RunAsAdmin2000=none
RunAsAdminXP=none
RunAsAdmin2003=none

But on XP I am getting an error when running it as follows:
Error: invalid value 'none' for [Launch]:RunAsAdminXP. Please refer to the Manual for valid values.

PAL:PortableAppsBaseDir & PAL:LastPortableAppsBaseDir

Submitted by scriptdaemon on October 2, 2012 - 12:50am

I still don't get the point of these variables or how they would be used. Currently, I have an app on the desktop. So, PAL:LastPortableAppsBaseDir reads C:\Users\Kenny Williams (not C:\Users\Kenny Williams\Desktop), but what if I move the app to a different directory? It can never check for the \Desktop portion of the location of the file and thus will never be able to change the directory correctly.

Wouldn't it make more sense to remove these two variables and implement PAL:LastPortableAppsDir instead?

Meaning of some entries in the registry

Submitted by tapsklaps on September 23, 2012 - 9:36am

In connection with the analysis of the plugin Gravure for the program PhotoFiltre 7.0 I received with Regshot the following results: plugin Gravure. Especially in the rows 19-21 and 47-52 I detected in the hive HKCU some added and changed registry keys, which not occur in the section "Keys and values to ignore". How are these entries to be judged in terms of portability?

Pages