Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating MSI and setup.exe in VS2005

Status
Not open for further replies.

JScannell

Programmer
Jan 9, 2001
306
US
I've successfully created a deployment project and it produces setup.exe and <project>.msi file from within VS 2005. the problem is, if the particular application I'm trying to install already exists, the setup won't let me proceed. I need to delete the app through Control Panel first.

Is there a way I can create my setup program so it will overwrite the app if it already exists?


Also, the setup.exe and <project>.msi files get created in a folder named Setup1.Release. I don't know where the Setup1 came from other than the default project name was setup1, but I changed it to <project>

I'm using Windows XP operating system.

Thanks in advance,

Jerry Scannell
 
Increase the version number.
I believe there is an option in the setup project to overwrite existing files, but increasing the version number works.

If [blue]you have problems[/blue], I want [green]source code[/green] AND [green]error messages[/green], none of this [red]"there was an error crap"[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top