Hi. I'm still learning how to use the Advanced Installer. I found a few limitations with SQL scripts and was wondering if there was a way around them.
- Importing multiple SQL scripts at once in the SQL Scripts tab. I have 100+ scripts and at the moment I have to import them 1 by 1. I'm not aticipating my next 100+ scripts projects.
- Adding an inline SQL script. Oddly enough, I can't find how to add a "blank" SQL script : I have to select a file and then I can change the option to "inline script", but in the order it's still named after the file (at least I can change this part).
- Adding events between SQL scripts, getting the script's pass/fail error status. For example, between each script, I would like to output the result in a text file (pass/fail). This could also let us run a script depending on the result of another script (even though now I could do it programatically inside the script with SELECTs, but it's inconvenient).
- Adding folders in the SQL scripts tab, or at least separators with multi-select. This would help visibility and would not necessitate me to drag&drop the files one by one to change their order.
- (This is in the Install Parameters) Is there a way to have an empty default value for a Property? When I clear the default value box, it prevents me from saving (button gets disabled). For example, if I ask for the user's server, I don't want to have a default value. I can use a space, but then the user won't see it and will end up having a space at the start of the server's name.
- This confused me for a while until I finally found the cause. The name of the script is limited to 42 characters. Luckily, you can rename them in this interface. If you go over 42, you won't be able to build in Visual Studio :
Error 1 The command ""C:\Program Files (x86)\Caphyon\Advanced Installer 10.0\bin\x86\AdvancedInstaller.com" /build "myProject1.aip"" exited with code 536805277.
EDIT : I also get the same error if I remove the AISetupMAdeWith registry key. Not sure if this is because I'm still in the Trial version, it would be inconvenient for it to stay mandatory once we go through with buying (most likely to Entreprise).
- Some characters seem forbidden in the search-and-replace. For example, if I use curly bracket {} the search-and-replace is simple not done. I did not find a list of the forbidden characters, can I please at the very least have the list?