Page 1 of 1
Avi got corrupted?
Posted: Fri Aug 04, 2006 2:18 pm
by Alwin van Driel
Hi,
I am evaluating and customizing the Atractive template to my needs.
When editing the progress dialogs at some point the blue.avi got corrupted. I didn't change the avi but the avi is not displayed anymore (just the placeholder).
Trying to place the avi again (after first deleting the placeholder) and entering the blue.avi in the filename returns the message invalid property.
What can be the problem?
regards
Alwin
Posted: Fri Aug 04, 2006 2:22 pm
by MichaelNesmith
Hi Alwin,
Make sure the AVI file you are inserting (you can also insert a new one) exists in this folder:
C:\\Program Files\\InstallAware\\InstallAware 6\\interop\\templates
(a typical installation folder)
BEFORE you load the dialog or start the dialog editor.
In the dialog editor, type the path to the AVI WITHOUT any file path information - just the file name.
And in your setup project, add the AVI as a support file to your project.
The above accurately describes the procedure to add custom AVIs into your dialogs.
Posted: Sat Aug 05, 2006 4:22 am
by Alwin van Driel
Sorry, I know this is your standard answer (read from other posts) but this does not apply to my problem.
I am talking about the standard (or any actually) avi (blue.avi) that is packaged in the installaware installation. So yes it exist in the interop dir en it also exist in the project dir and "blue.avi" is entered in the filename box without any path information.
Like I said, I'am customizing a standard template and I am adjusting the height of the progress dialog (from 725 pixels to 600). To achieve that I have to move all th objects at the bottom of the dialog up, set the height property of the form, and then move the previous moved object back to the bottom so it looks nice again. Then save the dialog. After that I added an custom logo to the dialog, saved it again. (and so on and so on). When I started the editing the blue.avi was displaying correctly, but after saving the dialog a few times, moving back and forth to other dialogs, editing the progress dialog again (etc etc) gets the blue.avi placeholder corrupted. In fact at this point also placing new avi's doesn't work anymore. Restarting installaware does not have a positive effect on the problem.
So again, how can I get around this problem?
thanks
Alwin
Posted: Sat Aug 05, 2006 7:22 am
by MichaelNesmith
Open the .dfm.baggage file, make sure there is no path information for the AVI in there.
Posted: Sat Aug 05, 2006 1:13 pm
by Alwin van Driel
Yes that did the trick, thanks!
A path was pressent in front of the blue.avi. I would qualify this as a bug, since I never touched the avi (except for moving its location on the form) or is this an undocumented feature

Posted: Sat Aug 05, 2006 6:39 pm
by MichaelNesmith
I think the path gets entered there if you "save the dialog as" into another folder

Posted: Sun Aug 06, 2006 4:59 am
by Alwin van Driel
i did not do that, but anyway I now know to get arround this problem