0 Comments

Some times Microsoft Visual Studio 2008 will not re-create all *.msi packages when I rebuild all setup projects. Maybe this has something to do with source files not changing?
To get around this problem, I just delete the *.msi pacakge before build with a Pre-Build event.

Select you’re setup project, press F4 to open properties window
In the PreBuildEvent textbox enter:

cd "$(TargetDir)"
del *.msi

image

image

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts