Unable to get an upgrade to work

Posted on 2005-05-11
Last Modified: 2010-10-05
I am trying to create an upgrade in Installshield X, but when I generate an upgrade i get this message:

Val0010:      The data in component 'Win32Library.dll' differs from the previous setup.  However, this component will not reinstall in an upgrade scenario. Therefore, the changes will not be applied to the target system during the upgrade.

for all of my components.

All of my components have key files
All of the files are different from the prior version
I have set a new package code
I have retained the original upgrade code

In short, I have done everything it says I have to do and Installshield has told me that this should work. But it gives me this error and in fact it does not do an install.

I'd give a million points to solve this problem. Please help.
Question by:AaronAbend
    LVL 14

    Expert Comment

    Update the key file for the component so that the component will reinstall in an upgrade scenario.
    Add the altered data to another "New" component instead of the existing component.
    Do a major upgrade instead of a Small or Minor Upgrade.

    pasted from
    LVL 10

    Author Comment


    I had already done that and I may have found the problem. Apparently, if you are using visual source safe and have the assemblyinfo.cs file locked, Installshield has trouble obtaining the version information from that file - and the internally stored version information remains locked at the same version level. I ended up discovering this phenomenon by accident (no help at all from Installshield) and found I was unable to get the internal version number to change after rebuilding my app and then changing the version number in every conceivable location. I created a completely new installation project with the assemblyinfo.cs file unlocked (read/write instead of read only) and everything runs perfectly - new updates work just as advertised. I have not had time to confirm that locking the file causes the problem - it is quite possible there was something screwed up in the install project I had been using. At least it is all working now.

    I even got MSDE to install from the merge modules (working with Microsoft on that) and now have a deployment that includes our product and MSDE in just 15 MB.

    This problem is resolved.
    LVL 14

    Expert Comment

    learning and living..

    LVL 14

    Expert Comment


    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    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

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now