NewsArchive
08-02-2010, 01:51 PM
Hi
I have reported this to Friedrich but he is away and perhaps Andrea can deal
with this. A screenshot is attached.
I just had a strange issue and Andrea pointed out the error of my ways. It
was a stupid thing but was it?
In my script I had wrapped an If/End statement round a group of files.
Install if bla bla bla. This code has existed for some time and I had
forgotten about it.
Anyway today I went to add another file to the list of files and one of them
did not install. What Andrea pointed out was that the file I had added had
included itself in the IF/End statement.
Of course this should not have happened and wondered if this could be
considered a bug?
You see, if there are several conditional statements in the script
surrounding the files (which I believe would be expected as being reasonable
to control the conditional installation of files), then adding new files at
any time using the Visualizer could cause them to drop unintentionally into
the If/End statements.
Personally I think that when adding files to an existing list, they should
be added to the end of the file list in the script to avoid this.
Anyone had this happen to them before.
Just curious as I only found this out by pure accident.
John Fligg
I have reported this to Friedrich but he is away and perhaps Andrea can deal
with this. A screenshot is attached.
I just had a strange issue and Andrea pointed out the error of my ways. It
was a stupid thing but was it?
In my script I had wrapped an If/End statement round a group of files.
Install if bla bla bla. This code has existed for some time and I had
forgotten about it.
Anyway today I went to add another file to the list of files and one of them
did not install. What Andrea pointed out was that the file I had added had
included itself in the IF/End statement.
Of course this should not have happened and wondered if this could be
considered a bug?
You see, if there are several conditional statements in the script
surrounding the files (which I believe would be expected as being reasonable
to control the conditional installation of files), then adding new files at
any time using the Visualizer could cause them to drop unintentionally into
the If/End statements.
Personally I think that when adding files to an existing list, they should
be added to the end of the file list in the script to avoid this.
Anyone had this happen to them before.
Just curious as I only found this out by pure accident.
John Fligg