Solved

Cannot see Image in the Custom Dialogs in Windows Installation project

Posted on 2015-02-23
10
333 Views
Last Modified: 2015-02-24
I'm stuck with banner bitmap image on installer project. I've added custom dialog and added a image in it to show as banner bitmap, but image doesn't show up on machines other than development machine.

When running the installer banner image shows up just fine on development machine, but it's not showing up on other machines(QA). We are using ".bmp" type which is supported on all machine for banner bitmap on custom dialog.

Any ideas as what could be blocking the image to not show up?
0
Comment
Question by:SHANCHAT972
  • 6
  • 4
10 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40628490
Probably depends on what msi-authoring tool you use. Look at the table Control, find the control where you expect the image, make a note of the value in the column "Text", find it in the table Binary, and see if you can export the binary data into a bmp.

You can upload the installation to this question (change file extension to .txt to bypass e-e's award-winning security), or you may want to create new trivial separate installation that would install one registry key, but demonstrated the problem with the bitmaps.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40628652
...one, somewhat anecdotal, possibility is that the image in fact does show up, but the background on the workstation in question has the same color.
0
 

Author Comment

by:SHANCHAT972
ID: 40628918
Thank you very much for your reply.

For the testing purpose, I created a test project on one of my development virtual machine and added a web setup project with custom image as banner bitmap on Welcome page. custom image is not showing up on welcome page, but default image("Default image that comes with visual studio setup project") showing just fine on other installation pages.

Interestingly when i take the setup.exe file to my local development machine, custom image start showing up. I'm guessing there must be some additional .Net component needs to be installed in order to custom image show up.

Do  you have any idea as which .Net component is needed to show up the custom images on installer dialogs?
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 40628998
Let's first verify that you did it right. I created sample solution at https://filedb.experts-exchange.com/incoming/ee-stuff/8407-WebSetup1.rar with custom bitmap made from the screenshot of your last comment, and when I tried it on another machine, I saw custom image as expected. Please take a look, maybe you did something differently. One nuance here is that you have to specify custom image as a file that is actually being deployed with the installation.
0
 

Author Comment

by:SHANCHAT972
ID: 40629025
Thanks a lot for sample project.  on my test project, custom image on your project showing up just fine on my local and my Virtual machine.

I did the same thing on my test project, but for some reason custom image is not showing up. I'm attaching test project which i created.

Could you please look into it as what is missing?

I greatly appreciate your help.. Thank you very much!
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40629045
I don't see any attachment.
0
 

Author Comment

by:SHANCHAT972
ID: 40629091
Sorry, attachement didn't go through.

I've uploaded the attachement here:  https://filedb.experts-exchange.com/incoming/ee-stuff/8408-WebApplication1.zip
0
 

Author Comment

by:SHANCHAT972
ID: 40629260
The only difference between my project and the one you sent me is version of visual studio. I'm using Visual Studio 2010 to create web setup project, whereas you used VS 2008.
0
 

Author Comment

by:SHANCHAT972
ID: 40629476
Hey Vadim Rapp,

I'm able to resolve the issue. image has to be in certain dimension and it has to be originally saved as ".bmp" file .

I had a .png file and just changed the extension to .bmp of the same. I created a new image and save it as .bmp and it started showing up on other machine.

Thanks for your help. you pointed me to the right direction.
0
 

Author Closing Comment

by:SHANCHAT972
ID: 40629477
Great help  along with quick responses..

The issue is resolved now.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now