I think the add folder feature under SQL Scripts is great. However, If I create a folder put in a condition etc. each time I add a file it wipes out the settings on the folder and all other scripts. This may be a bug.
There is no need to send us your project file. I tested the scenario and, indeed I can replicate the behavior. This seems to be an Advanced Installer limitation, thank you for bringing this to our attention. We will let you know when the fix will be out.
After forwarding this issue to our development team, currently it seems this is our intended behavior. When adding a new SQL Script under a folder it will be added with default settings. If the SQL Folder settings are different than the default ones of the added SQl Script, then the Folder settings will be set to an indeterminate state. The Folder acts as a top level bulk filter that reunites the values of the child scripts. If at least one child script has a different value (condition, error policy, statement separator) than the others, the folder will display an indeterminate state (empty field for text inputs, or indeterminate state for checkboxes) meaning that the values are not to be changed.
However, as an improvement, we'll add support in a future version of Advanced Installer for new added SQL Scripts (under a Folder) to inherit its parent Folder settings. Thank you for bringing this to our attention. We'll notify you when this improvement will be available.
FOLLOW US
Get the latest news in Application Packaging