On 11/03/2022 10:42, Luiz Henrique Cassettari wrote:
> The problem I'm having is I'm not able to add the prefix on the Files on
> the Source attribute.
>
> I try to specify each file source path, but the compiler does not allow
> it to compile, saying No files found matching.
>
> [Files]
> Source: "\\?\Example\*"; DestDir: "\\?\{app}"; Flags: ignoreversion
> recursesubdirs;
>
> There is a way to make the Source works with the \\?\ prefix?
When you add the \\?\ prefix you must supply the full absolute path to
the file. Relative paths won't work.
You *might* be able to put that prefix in the SourceDir instead of in
each [Files] entry, letting those still use relative paths, but I
haven't tested that.
You shouldn't need the prefix in the DestDir. Avoid installing files to
a long path anyway, as it will cause problems with other software (and
perhaps your own as well).