I'm currently using Inno Setup Compiler to create an installer for Windows and everything is working fine except when I try to include a folder to the exe. In other words what I want is to be able to include a folder with two files in it, I want this folder to appear right where the .exe file is (C:\Program Files x86\appFolder) when the program is installed.
Inno has an option to add folders but for some reason when I select the folder with the two files I want, it compiles fine but when I actually install the program it actually adds the two files but not the folder.
I found the following line of code online and I used it but it actually included some folders that I didn't want. The problem I have with this line of code is that I don't fully understand it, I don't know where the folder path should be? What is Exlude: "Setup.iss,generated_images\"
Source: "*.*"; Excludes: "Setup.iss,generated_images\*"; DestDir: "{app}"; Flags:replacesameversion recursesubdirs
Can someone be so kind an explain this line of code?
Thanks
*.*) from all subdirectories (recursesubdirs) from the location of the script excludingSetup.issfile and all the files from thegenerated_imagessubfolder. - TLamaExcludesparameter is there just for excluding. If you don't want to exclude anything from theSourcedirectory (which can be of course absolute or relative path, but not just the path where the script is stored), don't use it. - TLamaSource: "*.*"; Excludes: "scriptName.iss,*.txt*,*.o*"; DestDir: "{app}"; Flags:replacesameversion recursesubdirsBasically surround the extension with asterisks and separating each one with comas*.txt*, *.cpp*- fs_tigre