I have a project file that I want to add a folder to via the command line.
My command is:
"C:\Program Files (x86)\Caphyon\Advanced Installer 16.5\bin\x86\AdvancedInstaller.com" /execute "C:\AdvInstaller_Commands\InstallAdviceWebCMD.aip" "C:\AdvInstaller_Commands\commands.txt"
In commands.txt:
;aic
SetVersion 1.2
AddFolder APPDIR "C:\Advice\src\Web\bin\"
Save
Rebuild
This works fine but the problem is that it adds the bin folder as a directory in the installation path on the target machine. So for example the path on the target machine would be "C:\Advice.Web\bin" where I want the contents on bin to just be in "C:\Advice.Web".
This is similar to if I just added all the files individually using the AddFile command. However the list of files is not consistent. Is it possible to achieve this structure using the AddFolder command?