Inno Setup:在命令行中静默执行时,如何为安装程序提供序列号? [英] Inno Setup: How can I give a serial number to installer when I execute it silently in command line?

查看:93
本文介绍了Inno Setup:在命令行中静默执行时,如何为安装程序提供序列号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如标题中所述,我想知道在命令行中静默执行安装程序时如何给它一个序列号.

As stated in the title, I want to know how I can give a serial number to installer when I execute it silently in command line.

推荐答案

.iss:

[Setup]
DefaultUserInfoSerial={param:serialnumber|Default serial}

命令行:

setup.exe /silent /serialnumber=12345

别忘了UsePreviousUserInfo.

这篇关于Inno Setup:在命令行中静默执行时,如何为安装程序提供序列号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆