Inno Setup 在打包期间重命名文件
我试图弄清楚如何在构建安装文件时重命名文件部分中的文件。 我想包含 Local.config 文件,但将其提取为 Local.config.tmp 我不明白为什么 Inno Setup 不断创建文件夹而不是重命名文件。到目前为止,我已经有了这个,但它不断创建名为 Api\Local.config.tmp 的文件夹。
有什么想法吗?
[Files]
Source: "Api\Local.config"; DestDir: "{app}\Api\Local.config.tmp"; Flags: ignoreversion recursesubdirs
I am trying to figure out how to rename a file in the file section while building the setup file.
I want to include a Local.config file but extract it as Local.config.tmp
I can't figure out why Inno Setup keeps creating folders instead of renaming files. So far I have this, but it keeps creating folders named Api\Local.config.tmp.
Any ideas?
[Files]
Source: "Api\Local.config"; DestDir: "{app}\Api\Local.config.tmp"; Flags: ignoreversion recursesubdirs
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它正在创建一个文件夹,就像您告诉它要做的那样。
尝试指定目标名称:
It's creating a folder as that's what you told it to do.
Try specifying a destination name: