We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 11 matches

Go to advanced search

by brrman
Wed Aug 27, 2014 2:37 pm
Forum: Common Problems
Topic: LOAD DATA LOCAL INFILE failing
Replies: 5
Views: 6179
 
Jump to post

Re: LOAD DATA LOCAL INFILE failing

Thank you, Daniel. It's good to know I am not going crazy! :lol:
We have also replicated this issue on other machines in our dev team.
by brrman
Mon Aug 25, 2014 7:39 pm
Forum: Common Problems
Topic: LOAD DATA LOCAL INFILE failing
Replies: 5
Views: 6179
 
Jump to post

Re: LOAD DATA LOCAL INFILE failing

Thanks, Daniel.

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.

Bryan
by brrman
Thu Aug 21, 2014 7:38 pm
Forum: Common Problems
Topic: LOAD DATA LOCAL INFILE failing
Replies: 5
Views: 6179
 
Jump to post

LOAD DATA LOCAL INFILE failing

Hi there

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.

I have run the LOCAL version of the ...
by brrman
Wed Aug 20, 2014 2:51 pm
Forum: Common Problems
Topic: LOAD DATA INFILE -> ignore missing file errors?
Replies: 5
Views: 4942
 
Jump to post

Re: LOAD DATA INFILE -> ignore missing file errors?

I did get the inline script to work.

thanks for your help, Mihai.
by brrman
Tue Aug 19, 2014 9:47 pm
Forum: Common Problems
Topic: LOAD DATA INFILE -> ignore missing file errors?
Replies: 5
Views: 4942
 
Jump to post

Re: LOAD DATA INFILE -> ignore missing file errors?

This works really well, Mihai. Thank you!

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 see in the documentation a way to do this ...
by brrman
Mon Aug 18, 2014 4:06 pm
Forum: Common Problems
Topic: LOAD DATA INFILE -> ignore missing file errors?
Replies: 5
Views: 4942
 
Jump to post

LOAD DATA INFILE -> ignore missing file errors?

Hi

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 ...
by brrman
Thu Aug 07, 2014 9:05 pm
Forum: Building Installers
Topic: SQL Script that loads from text File
Replies: 8
Views: 7601
 
Jump to post

Re: SQL Script that loads from text File

OK! I have solved this issue, finally.

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 ...
by brrman
Thu Aug 07, 2014 8:17 pm
Forum: Building Installers
Topic: SQL Script that loads from text File
Replies: 8
Views: 7601
 
Jump to post

Re: SQL Script that loads from text File

Hi Dan

Been a while! :)

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 ...
by brrman
Tue Jul 08, 2014 8:00 pm
Forum: Building Installers
Topic: SQL Script that loads from text File
Replies: 8
Views: 7601
 
Jump to post

Re: SQL Script that loads from text File

AH I see - that makes sense, Dan. thanks.

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 ...
by brrman
Mon Jul 07, 2014 11:20 pm
Forum: Building Installers
Topic: SQL Script that loads from text File
Replies: 8
Views: 7601
 
Jump to post

Re: SQL Script that loads from text File

Dan, thanks for replying.

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).

Even if I did this, my problem ...
by brrman
Wed Jun 25, 2014 5:54 pm
Forum: Building Installers
Topic: SQL Script that loads from text File
Replies: 8
Views: 7601
 
Jump to post

SQL Script that loads from text File

Hi

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 ...

Go to advanced search