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.
PureBasic and portable mode - potential for improvement
PureBasic and portable mode - potential for improvement
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!"
"Happiness is a pet." | "Never run a changing system!"