Portable packages for Windows

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
foadsf
Posts: 93
Joined: Fri Mar 06, 2015 10:02 pm
Contact:

Portable packages for Windows

Postby foadsf » Thu Sep 24, 2020 11:37 am

Following this tweet, it would be great if we could have PortableApps, or Portapps, or Zero Install packages. A great portion of potential FreeCAD users doesn't admin privileges on their Windows machines. Delivering the software via the above package managers would significantly improve your target audience IMHO. Thanks for your support in advance.
Last edited by Kunda1 on Thu Sep 24, 2020 12:49 pm, edited 1 time in total.
Reason: fixed typo in thread title
User avatar
Kunda1
Posts: 8405
Joined: Thu Jan 05, 2017 9:03 pm

Re: Portable packages for Windows

Postby Kunda1 » Thu Sep 24, 2020 12:50 pm

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 6087
Joined: Wed Oct 22, 2014 5:02 pm

Re: Prtable packages for Windows

Postby sgrogan » Thu Sep 24, 2020 1:15 pm

foadsf wrote:
Thu Sep 24, 2020 11:37 am
A great portion of potential FreeCAD users doesn't admin privileges on their Windows machines.
It is already possible to run the Windows installer https://github.com/FreeCAD/FreeCAD/releases/tag/0.18.4 without Admin.
There is an option to install to C:\Users\<USERNAME>\AppData\Local or a user supplied directory.
If for some reason the .exe installer is blocked there are portable .7z versions available on the same page, extract with .7z and run FreeCAD.exe from the bin directory of the extracted folder.

By default all configs and Addons are stored in %AppData%/FreeCAD, which is a user location. It is already possible to use custom .cfg files that can be placed in, for example, the extracted FreeCAD folder https://wiki.freecadweb.org/Start_up_and_Configuration

I am working on upgrading the portable version to store all Addons in the portable FreeCAD folder. A test build is available here: https://forum.freecadweb.org/viewtopic. ... 30#p429902
This already works to create an "isolated" FreeCAD. I need to solve some problems with preference PATHs being hard coded when moving the folder around.
"fight the good fight"