V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dicken
V2EX  ›  强迫症

Windows 应用如何自动下一步安装?

  •  
  •   dicken · Jun 16, 2022 · 2377 views
    This topic created in 1417 days ago, the information mentioned may be changed or developed.
    每次打版本都要手动点过来点过去,有什么办法让他自动化静默安装最后告诉结果,拿窗口句柄发送按键消息应该不是最好的方式吧?
    8 replies    2022-06-16 08:22:52 +08:00
    Tumblr
        1
    Tumblr  
       Jun 16, 2022
    是否支持静默安装,不是看 Windows ,而看你的安装包是否支持相应的参数传递。
    在 Windows 下的 exe 安装包,静默参数一般是 /q /quiet /silent /qn 等几个之一,当然最好还是问软件的发布者。
    djv
        2
    djv  
       Jun 16, 2022
    软件管家之类的不就可以,或者 winget 貌似也可。
    darklights
        3
    darklights  
       Jun 16, 2022
    *.msi /quiet

    *.exe
    用 7zip 打开,点工具栏“信息”,如果类型显示 Nsis ,/S
    如果不是,用 /? 碰碰运气看有没有参数说明,一般微软自家的是 /slient
    learningman
        4
    learningman  
       Jun 16, 2022 via Android
    auto hot jey
    Lightbright
        5
    Lightbright  
       Jun 16, 2022 via Android
    哦,winget?
    dicken
        6
    dicken  
    OP
       Jun 16, 2022
    前提是不借助第三方软件
    kokutou
        7
    kokutou  
       Jun 16, 2022 via Android
    winget

    要么找参数
    shonnliberty
        8
    shonnliberty  
       Jun 16, 2022
    可以考虑用 chocolatey
    安装软件类似 Linux 的 apt
    choco install firefox
    choco install python3
    choco upgrade all
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2504 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 03:02 · PVG 11:02 · LAX 20:02 · JFK 23:02
    ♥ Do have faith in what you're doing.