Giter Site home page Giter Site logo

Comments (3)

ostaith avatar ostaith commented on August 16, 2024

实际上写了这么多,一句话描述下就是:希望VS2017精简版能解决Python无法识别的bug。
bug的解决方法就是我上面给的,可以把vswhere打包进Install.exe,并且解压到%ProgramFiles%\Microsoft Visual Studio\Installer
如果你能重新打包Install.exe,然后重新发布VS2017精简版也可以。或者在这里把所有的素材发布下,并且指导下,以后遇到问题,网友们可以自行打包Install.exe解决,那就更好。非常感谢!

from vscustomize.

ostaith avatar ostaith commented on August 16, 2024

那几个预定义变量的含义刚刚网上找到解释了,{src}就是安装文件所在的目录。这点不用再解答了,谢谢!

from vscustomize.

theoractice avatar theoractice commented on August 16, 2024

那个vs2017硬盘版是微软刚刚发布vs2017的时候我做着玩的,当时的vs2017初版本身就有很多bug,完全不建议使用,我也早就把这个版本从我自己的网盘分享链接里删除了,你找到的版本可能是其他人共享的。目前最稳定并且最新的版本是vs2015的硬盘版。

从vs2017开始由于微软自己做了模块化的安装器,安装速度、稳定性和方便程度提高了不少,所以vs硬盘版这个事情后来我就没有再做过了。目前我对制作vs2017及以后版本的vs硬盘版没有兴趣,也认为没有必要。

我写过一个如何制作vs硬盘版的教程,见http://theoractice.github.io/。制作中需要的所有工具都打成压缩包放在本repo的IssBackup目录下了。当然你应该已经看到了。

接下来回答你的问题:
1.因为完全不建议使用我当年尝鲜做的vs2017硬盘版,所以如果真的有需求,建议你按照我的教程从头开始重新制作。这样的话安装文件也需要你自己按照我的教程去重新提取。
2.这是因为为了兼容32位和64位系统,需要提取不同版本的安装文件。当然现在已经是2022年了,你自己重做的话完全可以只提取64位系统的安装文件。
3.这是innosetup的自带功能。
4.快捷方式链接的安装脚本是用lnk2iss工具自动生成的。
5.如你所说,可参考innosetup的自带帮助文档。
6.lnk2iss--生成快捷方式链接的安装脚本;pathman--批量添加/删除环境变量;PortableHelper--把所有需要的vs安装文件拷贝到单独的文件夹;RegIssPostProc--本repo里的压缩包里还有一个Converter.exe,制作时先用Converter把注册表文件转换为注册表安装脚本,然后再用RegIssPostProc对转换好的脚本进行后处理(教程里提到过这里的坑多得令人发指);VSC.Shared--各个工具公用的库。总之只要认真读过我的教程,就会发现这里面所有的工具其实都在教程里提到了(虽然没有具体指出名字)。

from vscustomize.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.