如何在Inno Setup中获取安装程序路径? [英] How to get the installer path in Inno Setup?

查看:124
本文介绍了如何在Inno Setup中获取安装程序路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您知道在Inno Setup中获取安装程序路径的正确方法吗?

Do you know the right method to get the installer path in Inno Setup?

我想在[Code]部分中捕获该值.

I want to catch that value inside the [Code] section.

推荐答案

{srcexe}将为您提供设置的路径和文件名.
{src}将只给您安装程序路径.

{srcexe} will give you the path and filename of the setup.
{src} will give you just the installer path.

这篇关于如何在Inno Setup中获取安装程序路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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