bobwill
Posts: 4
Joined: Fri May 08, 2009 4:32 pm

Cannot set dialog images or paths

I've been getting on well with Advanced Installer but have run into two problems. The first is with putting images on dialogs and I think the problems started after the upgrade to 6.9.1.

I want to put my own images on the dialogs and have set this on the Theme tab under Global properties. The banner bitmap worked fine before but now it reverts to the default-banner.bmp. I have tried putting my image in the same folder as AI's own. No dice. But when I relocate the image without telling AI it complains during the build and stops. Yet if I run with logging enabled I see that it is selecting the default-banner.bmp. The only workaround I have found is to rename my image to default-banner.bmp. I've just tried with my own image for the dialogs and had the same problem - AI reverts to default-dialog.jpg.

The path problem appears to be similar. I've put [WindowsVolume][ProductName] as the path for the application (and other variations) under Install Parameters but the path offered when running the MSI is always Program Files/Manufacturer/App Name.

Tips appreciated.

Thanks Bob
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Cannot set dialog images or paths

Hi Bob,
The banner bitmap worked fine before but now it reverts to the default-banner.bmp.
I'm not sure why you are encountering this behavior. Are you moving the project or the bitmap? Also, are you handling the project in a special way?
Once the banner and dialog images are specified, their paths in the project should remain the same (Advanced Installer shouldn't change them automatically).
The path problem appears to be similar. I've put [WindowsVolume][ProductName] as the path for the application (and other variations) under Install Parameters but the path offered when running the MSI is always Program Files/Manufacturer/App Name.
Please note that the install path is set per-build, like the banner and dialog images. Are you using multiple builds for your project? If so, you need to configure each build. Please note that the current build can be changed by using the "Build" combo on the toolbar.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bobwill
Posts: 4
Joined: Fri May 08, 2009 4:32 pm

Re: Cannot set dialog images or paths

Ah, I hadn't spotted that both those are set per build as well. That's the answer; thanks very much for your prompt help.

Bob

Return to “Common Problems”