I have the same problem. With installcode, I create a custom userfiled. Its always have name filedNN where NN incremently added number. It can be field6 or field154 who knows..... Anyway, then I import my product, I also add option field in setting, in which I want to insert value of ID from new added field from userfield table(for use it in my plugins).
Problem in what when I do this with installcode, I dont have yet field in option, and further, then I already HAVE field in option I can`t run installcode.
Ofcause, I always can use another product file to insert new userfield and then fill the needed value to my option field... but I think its inconveniently....
How I can interchange the order of execution: 1) Installcode from my product and 2)Import options from my product during single installation process?
Thanks!
|