Hi you all!
I'm on windows 10. Is it possible to install PureBasic without the administrator rights? Like install it only for my user account?
Thanks!
Installing PureBasic without administrator rights
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Installing PureBasic without administrator rights
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
Re: Installing PureBasic without administrator rights
I think it's not possible to "install" it without rights,
but you can install it on another computer and
copy the whole installation directory after installing it to
an usb drive and you can use/copy it on the destination
computer.
After that you can use it as "portable" version (start the ide with the portable flag)...
but you can install it on another computer and
copy the whole installation directory after installing it to
an usb drive and you can use/copy it on the destination
computer.
After that you can use it as "portable" version (start the ide with the portable flag)...
- NicTheQuick
- Addict
- Posts: 1227
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Installing PureBasic without administrator rights
For Linux users there is only a zip file you can extract and directly use it. Isn't there such a version for Windows users available?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: Installing PureBasic without administrator rights
Nope. Only the x86 and x64 Setup Files.
Re: Installing PureBasic without administrator rights
Workaround:
Start the Windows Sandbox.
Copy the PureBasic Setup.exe file with Ctrl+C.
Paste the Setup.exe file into the Sandbox with Ctrl+V.
Install PureBasic in the Sandbox (no admin UAC prompt will occur).
After installing, copy the installed PureBasic folder with Ctrl+C.
Go out of the Sandbox back to your real PC, and paste the folder with Ctrl+V.
Close the Sandbox.
Done! PureBasic is now on your real PC without needing admin rights to install it.
Start the Windows Sandbox.
Copy the PureBasic Setup.exe file with Ctrl+C.
Paste the Setup.exe file into the Sandbox with Ctrl+V.
Install PureBasic in the Sandbox (no admin UAC prompt will occur).
After installing, copy the installed PureBasic folder with Ctrl+C.
Go out of the Sandbox back to your real PC, and paste the folder with Ctrl+V.
Close the Sandbox.
Done! PureBasic is now on your real PC without needing admin rights to install it.
Re: Installing PureBasic without administrator rights
Hello,
You can use InnoExtractor to extract the contents of the Purebasic installer.
Rename the {app} folder to PureBasic32 or PureBasic64 as appropriate.
Rename PureBasic, 1.chm to PureBasic.chm for help in English.
Rename PureBasic, 2.chm to PureBasic.chm for help in French.
Rename PureBasic, 3.chm to PureBasic.chm for help in German.
Then use PB in portable mode with the correct flag.
Gérard (cage on French forum)
You can use InnoExtractor to extract the contents of the Purebasic installer.
Rename the {app} folder to PureBasic32 or PureBasic64 as appropriate.
Rename PureBasic, 1.chm to PureBasic.chm for help in English.
Rename PureBasic, 2.chm to PureBasic.chm for help in French.
Rename PureBasic, 3.chm to PureBasic.chm for help in German.
Then use PB in portable mode with the correct flag.
Gérard (cage on French forum)
■ Win10 64-bit (Intel Celeron CPU N2920 @ 1.86GHz, 4,0GB RAM, Intel HD Graphics) & PB 6.00 LTS
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
Re: Installing PureBasic without administrator rights
As indicated, you have to install elsewhere and copy everything.ricardo_sdl wrote:I'm on windows 10. Is it possible to install PureBasic without the administrator rights? Like install it only for my user account?
Since version 6 of InnoSetup, it is possible to easily make an installation that does not require admin privileges, but developers must modify the installation file (.iss file).
https://jrsoftware.org/isdl.php#stable
Howto ?
Modyfy .iss file like this
In section [Setup] (line DefaultDirName)
Remplace
{commonpf}
by
{autopf}
Add
PrivilegesRequired=lowest
(without it, default is set to)
PrivilegesRequired=admin
For the rest
Path to program icon must be set to
{userdesktop}
instead of
{commondesktop}
Program is now installed in LOCALAPPDATA
In PB: GetEnvironmentVariable("LOCALAPPDATA")
Notes:
- A software installed like this is only available for the user who have install-it
- You can't update a admin install with non-admin install. Need to remove admin install first
- Windows 2000, XP, and server 2003 are no longer supported (use v5)
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: Installing PureBasic without administrator rights
Thank you all!
I'll create a portable version of PureBasic to carry on a usb drive, it's a great tool to have at hand.
I'll create a portable version of PureBasic to carry on a usb drive, it's a great tool to have at hand.
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/