zoukankan      html  css  js  c++  java
  • 请问用Inno_Setup打包文件夹时怎么排除其中一个文件?

    请问用Inno_Setup打包文件夹时怎么排除其中一个文件?

    该文件夹下有几十个文件,多个文件夹,我要一个个加进去该累死,也容易出问题。不知道能不能实现我要的目的。

    http://www.jrsoftware.org/ishelp/index.php?topic=filessection

    Excludes
    Specifies a list of patterns to exclude, separated by commas. This parameter cannot be combined with the external flag.

    Patterns may include wildcard characters ("*" and "?"). Note that unlike the Source parameter, a simple Unix-style pattern matching routine is used for Excludes. Dots in the pattern are always significant, thus "*.*" will not exclude a file with no extension (instead, use just "*"). Also, question marks always match exactly one character, thus "?????" will not exclude files with names less than five characters long.

    If a pattern starts with a backslash ("") it is matched against the start of a path name, otherwise it is matched against the end of a path name. Thus "foo" will only exclude a file named "foo" at the base of the tree. On the other hand, "foo" will exclude any file named "foo" anywhere in the tree.

    The patterns may include backslashes. "fooar" will exclude both "fooar" and "subdirfooar". "fooar" will only exclude "fooar".

    Examples:
    Source: "*"; Excludes: "*.~*"
    Source: "*"; Excludes: "*.~*,Temp*"; Flags: recursesubdirs

    不包括

    指定要排除的模式列表,以逗号分隔。此参数不能与外部标志相结合。

    模式可以包含通配符(“*”和“?”)。需要注意的是不同的源参数,一个简单的UNIX风格的模式匹配的程序是用来排除。图案中的点始终是重要的,因此“* *”不会排除一个没有扩展名的文件(相反,只使用“*”)。而且,问号总是与一个字符匹配,因此“????“??”不包括文件名不少于五个字符长。

    如果一个模式从一个反斜杠(“”)它是对一个路径名的开始匹配,否则就是对路径名的末尾。因此,“foo”只会排除一个文件名为“foo”在树下。另一方面,“foo”将排除任何文件名为“foo”树中的任何地方。

    该模式可能包括反斜杠。”Foo 酒吧”将排除“foo”酒吧”和“子目录食品酒吧”。”富酒吧”只会排除“foo”吧”。

    Examples:
    Source: "*"; Excludes: "*.~*"
    Source: "*"; Excludes: "*.~*,Temp*"; Flags: recursesubdirs

  • 相关阅读:
    当苹果因为UIDevice、udid、uniqueIdentifier而把我们的应用拒之门外invalid binary的时候,呕心沥血解决方法啊
    IOS 7 自定义的UIAlertView不能在iOS7上正常显示
    IOS7 新特性(针对同样讨厌更新后IOS7的开发者)
    CFBundleVersion与CFBundleShortVersionString
    iOS 7 SDK: 如何使用后台获取(Background Fetch)
    IOS开发经验总结(二)
    iOS开发经验总结(一)
    让iOS应用支持不同版本的系统与设备
    控制iOS 7中的状态栏
    Implement CGLIB in ABAP
  • 原文地址:https://www.cnblogs.com/joean/p/4881219.html
Copyright © 2011-2022 走看看