PureBasic and portable mode - potential for improvement

Everything else that doesn't fall into one of the other PB categories.
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 676
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

PureBasic and portable mode - potential for improvement

Post by Kurzer »

Hi folks,
Is there a way to "install" PureBasic as portable during the installation?

Currently I install the program into a portable directory (C:\PortableApps\) or an USB drive, then exit the installer without starting PureBasic (so no registry entries are created) and then edit the PureBasic link by adding the command line option /PORTABLE.

This makes PureBasic save the settings in a *.ini file. But still there are entries in the registry after the installation:

- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PureBasic_is1
- HKEY_USERS\S-1-5-21-247445974-3849071910-128396459-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pb

I can deal with this and delete the entries later, but it would be more elegant if PureBasic could handle this itself. Especially since it does offer an explicit /PORTABLE mode.
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic and portable mode - potential for improvement

Post by ChrisR »

Post Reply