Inno Setup: pack folder with all subfolders

后端 未结 2 511
抹茶落季
抹茶落季 2021-02-02 05:51

I have this line in .iss file:

Source: \"..\\Tcl\\*\"; DestDir: \"{app}\\Tcl\"; Flags: ignoreversion

which packs folder Tcl<

2条回答
  •  伪装坚强ぢ
    2021-02-02 06:20

    Yes, there is. Simply include the recursesubdirs flag to your [Files] section entry. The help says about this flag the following:

    Instructs the compiler or Setup to also search for the Source filename/wildcard in subdirectories under the Source directory.

    So, all you should do is modify your [Files] section entry this way:

    [Files]
    Source: "..\Tcl\*"; DestDir: "{app}\Tcl"; Flags: ignoreversion recursesubdirs
    

提交回复
热议问题