Setup project force new file replacement on reinstall

25 pts.
Tags:
Microsoft Visual Studio
SQLite
Visual Studio 2008
Windows Application
Hello, I have a setup project that install a couple of projects and a couple of external files (one of which is a SQLite Database) - everything worked fine until i've recently modified the base database file included in the setup project. Now, every time i try to reinstall the project the new database file does not replace the previously installed one... Can i force it somehow in VS or make the setup realize this is a new version so the file gets replaced? It is not an assembly so i can't change the file version... Best Regards, Carlos Ouro

Answer Wiki

Thanks. We'll let you know when a new response is added.

A work around is to compile the project using Visual Studio 2005. The resulting installer file will first uninstall the application then install the updated version. Visual Studio 2008 does not do this.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    I would recommend to specify the software (including version) that you are using to create the installer.
    70,220 pointsBadges:
    report
  • Trutas
    I'm using a Deployment Project in Visual Studio 2008
    25 pointsBadges:
    report
  • Trutas
    This is driving me mad... I have a .sqlite database deployed with the .net 3.5 application - how am i supposed to release a second version??? The file just won't get replaced. There's got to be at least some workaround - i've been browsing the web for it for days... nothing. Not even changing the main application version in the deployment package. I've tried Microsoft support but haven't got an answer... This is ridiculous... there has to be some other way. -The only thing i don't want to have to try is to change the filename for every new version... but i'm getting close.
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following