I am conducting tests today with other people on other machines in an attempt to determine if this is specific to my machine or if it is a broader issue.
Any help you can give me is much appreciated.
I have been running my LOAD DATA scripts successfully in advanced Installer using LOAD DATA INFILE command. I recently tried using LOAD DATA LOCAL INFILE because we will need to be able to run data files not on the server. The script fails when run.
However this leads me to another question. Since all I will have at my disposal now in case of failure is a log file I would like to inject the installation log with my own specific remarks during the install.
I have a SQL Script in my AI project that contains LOAD DATA INFILE commands on all the data files in our repository. However, certain customers will only need to have data updated based on their subscribed modules, so they will not receive certain data files in their download stream. The SQL ...
I could indeed use the Script Replacements function - just assign my placeholder to a public Installer property. My public property would contain the path I formatted via a vbscript inline custom action.
I think I ended up doing what you said in the beginning ...
I understand the text replace. I will have the user browse to the location of the data files. I will then use vbscript to do a text replace to format that path to be MySQL-friendly.
I need to take that formatted path and do another text replace in the SQL Script file, to ...
So then, I am confused as to how I can read my data text files from my script. Since I cannot change my scripts after build-time, how can I adjust my script so that I know where the data files will be installed before the installation happens? Looks like ...
I think, essentially what you are saying is that I could replace C:/SQLDBGenerator// (or some other placeholder text) with a property like [TempFolder] ? (these text files are temp files so there is no component assigned to these files).
I am trying to build an installer that executes a SQL script which gets its data from text files. I have added the script and the text files to the project, but it fails when it can't find the files.
Is there a way to use the Script Replacements function to replace the existing file path with a ...
FOLLOW US
Get the latest news in Application Packaging