You are here

Portable App Development

Discuss portable app development and modification of existing apps.

appinfo.ini start field ... how to create the .exe

Submitted by new2AllThis on April 13, 2022 - 4:42pm

Hi all,
Creating my first portable app .. im stuck on the bit in the app documentation that says ...

"Start is the command line to execute to start the app relative to the AppNamePortable directory. This will typically be AppNamePortable.exe."

How do I make the .exe file?? and how does it point to the actual executable in the App\Appname\ directory?
I have a .bat file that works perfectly, I just cant figure out how to create the .exe file ...

Thanks

Problem with HKLM & Wow6432Node

Submitted by Daniel0312 on March 2, 2022 - 5:30am

Hi,
I have a small utility I want to make portable.
It's pretty straightforward and I had the launcher working in no time.
Well.. except it doesn't work !
The reason I finaly found for it is that PAL writes the key to HKLM\SOFTWARE\Wow6432Node\App when the registry key I want to write should go to HKLM\SOFTWARE\App ! The App reads HKLM\SOFTWARE\App that doesn't exist.
I've seen some posts about this issue but all of them very old.
Is there a workaround or am I out of luck ?

Registering DLL In Registry Question

Submitted by vrjunkie on March 1, 2022 - 4:49pm

Hi,

I have a question. I have a program I have made portable. It requires registering a .dll that in turn requires admin rights. I have used a custom.nsh file to register and unregister the .dll. IOW I don't need help with that - it's working....

My question is, I don't understand how PortableApps uses it's own registery files without writing to the host pc's registry at all.

writing value Error in PortableApps.com Launcher

Submitted by habenyamin on February 17, 2022 - 5:17am

Hi
I searched in this forums did not find my Qusetion.
I want to ask. how to write value when value is string type. in PortableApps.com Launcher
suhch as
[Activate]
Registry=true
[RegistryValueWrite]
HKCU\Software\AppName\Key\Value2=REG_SZ:AppName ;Value2=$AppDirectory\AppName\App.exe

I tried this one also but did not work
HKCU\Software\AppName\Key\"$AppDirectory\AppName\App.exe"=REG_SZ:AppName

Using the launcher generator to generate multiple app launchers

Submitted by Brisingr Aerowing on February 10, 2022 - 2:37pm

I'm working on updating the Msys2 Portable setup that was posted a while ago, and am having trouble getting the launcher generator to generate launchers for the new build systems that Msys2 has (the current portable setup only has the Msys, Mingw32, and Mingw64 launchers, and Msys2 now supports Clang32, Clang64, and UCRT64 as well). When running the generator, it only creates a new Msys2Portable.exe file, ignoring the other launcher ini files.

Portable Defraggler

Submitted by moonylight on February 8, 2022 - 10:17am

hello everyone
I've just started learning how to create portable programs, I don't know much and I'm asking for your help. I was trying to create a portable version of the Defraggler program. But the program still leaves the keys in the registry. Can you please tell me what I did wrong and how can I fix it? I will leave a link to the portable version of my program so that you can check for yourself if you want.
[link removed for license violation by mod JTH]

Cheetah Template Portable 3.2.6.post1 Dev Test 1 (64 bit)

Submitted by hoabut on January 25, 2022 - 3:57pm

Cheetah Template Portable is an open source Python-based template engine and code generation framework. It's packaged with a PortableApps.com launcher so you can use it from a cloud folder, portable drive, or local folder without needing to install it on each PC. Learn more about Cheetah Template

SplashTime, LaunchAppAfterSplash, and CloseEXE ignored when opening multiple files

Submitted by daniel_schaaaf on January 16, 2022 - 5:18pm

A while ago, I filed a bug report for SumatraPDF (https://portableapps.com/node/65018). When I open multiple files, by marking them in Windows Explorer and pressing the Return key, SumatraPDF will overwrite its settings with a default version.

I experimented with \SumatraPDFPortable\App\AppInfo\Launcher\SumatraPDFPortable.ini and added the following parameters to [Launch]:
SplashTime=2000
LaunchAppAfterSplash=true
CloseEXE=%PAL:PortableAppsDir%\SumatraPDFPortable.exe

Pages