Menu

Option in Windows installer for just headers and binaries?

2014-06-05
2024-03-15
  • Thierry Seegers

    Thierry Seegers - 2014-06-05

    After the 10-minute installation process I spend another 10 minutes deleting documentation, sources, and other files I don't need. Would it be possible to have an installer that allows one to select what one needs? E.g. I'm only looking for headers and static binaries.

     
  • Valentyn Shtronda

    I am looking for the same. In my case I need only libraries.
    So it would be nice to have options to install separately headers, binaries, docs and sources.
    I launched windows installer with "/?" switch and some options caught my attention:

    /COMPONENTS="comma separated list of component names"
    Overrides the default component settings.
    /TASKS="comma separated list of task names"
    Specifies a list of tasks that should be initially selected.

    I tried the following:

    /COMPONENTS=lib32-msvc-12.0
    /COMPONENTS=lib
    /TASKS=lib32-msvc-12.0
    /TASKS=lib

    but they are either wrong or ignored...

     
  • Valentyn Shtronda

    Found a way to extract part of the installation archive using innounp.
    Download and extract this command line utility to some folder (e.g. c:\InnoUnp).
    Then to extract only libraries, execute the following:

    c:\InnoUnp\InnoUnp.exe -x -q boost_1_61_0-msvc-14.0-64.exe "{app}\lib??-*"
    

    To extract headers and libraries, execute the following:

    c:\InnoUnp\InnoUnp.exe -x -q boost_1_61_0-msvc-14.0-64.exe "{app}\lib??-*" "{app}\boost\*"
    
     

    Last edit: Valentyn Shtronda 2016-06-17
  • Wolfgang Steiner

    It's 2019 and there is still no option in the installer to only install the required headers & libs ??!
    Thanks Valentyn Shtronda for sharing the neat trick but there should really be just an official option in the installer ... are there any technical / organisational reasons that are preventing this from happening ?
    I would be willing to help out and try to get in a PR if it's just missing someone to do it.

    Please let us know what's the current take on this topic.
    Thanks

     

    Last edit: Wolfgang Steiner 2019-03-15
  • davidson killian

    I would be willing to help out and try to get in a PR if it's just missing someone to do it geometry spot activity.

     

    Last edit: davidson killian 2024-03-15

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.