How to setup and deployment project? I need some helps

Posted on 2005-04-20
Last Modified: 2010-04-23
hi all,

I have a problem with setup and deployment project.

I do a setup and deployment project by using a wizard or a setup project. After I add my exe file and some dll files in the application folder and run the msi file, I notice that the exe file and dll file's version are not the latest version of my exe or my dll.

example :

aaa.dll latest version is 2.0
bbb.dll latest version is 3.0
exe file created at 21 april 2003 6 pm

my msi files will load

aaa.dll version 1.0 which is i created few hours before version 2.0 created.
bbb.dll also version 2.0
exe file will be 21 april 2003 4 pm

I need a big help here, I stuck on this for a whole day. :(

Thanks in advance for helping me

Question by:cutemouse
    LVL 9

    Accepted Solution

    You need to do a rebuild on your application before doing a rebuild on the setup files as well. What I usually do is go to the project properties and add this to be rebuild.

    The you can just do a rebuild all on the project and it will compile your program, then compile the setup and deployment which must be done anytime you rebuild your application.
    LVL 2

    Expert Comment

    Don't add the exe file directly by browsing your computer, add the special item "output of project <your project name>".
    LVL 9

    Expert Comment

    Yes I do object!!

    My answer was correct and although he hasn't come back and said anything I think that my answer should deserve the points. But would love to know from the author the result of his/her situation though.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    779 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

    15 Experts available now in Live!

    Get 1:1 Help Now