I have an environment variable called InstallData. It is set to "D:\Temp\_Build". In Advanced Installer, there is a Private path variable, also called InstallData. The "Edit Path Variables" dialog confirms that Advanced Installer can see the environment variable's value:
I added a new SQL Script to a custom connection with the path "D:\Temp\_Build\Temporary\Upgrade\000_to_116.before.sql". Advanced Installer shows the contents of this script with no errors.
I then run the "Convert Paths" Wizard:
- Check only "SQL Scripts"
- Next
- Check D:\ -> Temp -> _Build -> Temporary -> Upgrade -> 000_to_116.before.sql
- Next
After clicking Finish, Advanced installer immediately changes the SQL Script path to "<InstallData>Temporary\Upgrade\000_to_116.before.sql", clears the script contents text area, and then an error dialog with the message "File not found: "Temporary\Upgrade\000_to_116.before.sql".
After dismissing the dialog, the same error is shown three more times.
Saving the project, closing Advanced Installer, and then re-launching it displays the same error again. Checking the Path Variables dialog confirms that the path is correct.
Any ideas?