In the [Files]
section, I have to achieve that by trying to compiling a file that does not exist, the compiler does not fail and follow its course.
For example in this code:
[Files]
Source: "D:\{#pais}\{#modulo}\IMG\image.png"; \
DestDir: "{userdocs}\Qlik\Sense\Content\Default\{#senseAppDir}\IMG\"; \
Flags: ignoreversion
If the file image.png
doesn't exists, I want the compiler to skip it and continue.
Thanks for your time!
There are two options:
Use
skipifsourcedoesntexist
flag:Use preprocessor directive
#ifexist
: