Page 1 of 1

Custom Dialogs

Posted: Mon Jan 28, 2008 4:44 am
by sbunyan
Hi,

In my current InstallAware project I need to edit the existing dialogs within my project. I have done this and saved these new dialogs back into the relevant folder in the InstallAware directory (I have also replaced all other instances of these dialogs in the project folder).

However, when I build and run this setup the old dialogs are still being displayed. Any ideas on why this is the case?

Also, it's a very unusual problem as when I click on the dialog within the project I can edit this and the new dialog displays fine.

Any help you can give on this would be greatly appreciated.

Regards,
Sinead

Posted: Mon Jan 28, 2008 5:08 pm
by Alex_Ronquillo
Try removing the dialogs and adding it again one by one using the browse option in the MSICode view, left panel.

Posted: Tue Jan 29, 2008 11:33 am
by sbunyan
I have tried removing these dialogs and then adding them to my project again. Unfortunately this doesn't change anything, I am still seeing the original dialogs when I run the setup. The unusual thing is the fact that I can click on the dialog to edit it and now when the editor appears it displays the new dialog.

Any further ideas would be greatly appreciated...

Regards,
Sinead

Posted: Wed Jan 30, 2008 2:53 pm
by Alex_Ronquillo
Try opening the .mpr file in notepad. Make sure the dialogs don't have path in their references. They should have only the dialogs name without any path.

Posted: Fri Feb 01, 2008 5:37 am
by sbunyan
Hi Alex,

Thanks for all your help on this. Thankfully, I hit across some inspiration yesterday and figured out my problem - the project was reading the localization files which would've contained strings from the old (original) dialogs!

As soon as I exported the new items and re-imported them into the project all dialogs are now displaying correctly.

Thanks again for you time and effort.

Regards,
Sinead

Posted: Fri Feb 01, 2008 6:41 pm
by Alex_Ronquillo
I am glad you solved it sbunyan. We are here to help you.