By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,028 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,028 IT Pros & Developers. It's quick & easy.

HELP - Installation Project: Reinstallation Problem

P: n/a
I put together an installation program and it works great the first time.
The problem I have is that we want the users to be able to rerun the
installation without needing to uninstall the older package first. How can
I set up the package to overlay the existing installation without forcing
the
user to run an uninstall first?

Thanks,
Rob Brown

P.S. If this is not the proper forum to post this question, please direct me
to the correct one.
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Nevermind. I was finally able to locate the information I needed here:
http://msdn.microsoft.com/library/en..._by_installing

"Rob Brown" <robemail@NoSpam_excite.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
I put together an installation program and it works great the first time.
The problem I have is that we want the users to be able to rerun the
installation without needing to uninstall the older package first. How can I set up the package to overlay the existing installation without forcing
the
user to run an uninstall first?

Thanks,
Rob Brown

P.S. If this is not the proper forum to post this question, please direct me to the correct one.

Jul 19 '05 #2

P: n/a
With a .net installation, there are no registry updates.
So, all you should need to do is overwrite the existing
files in the project - to the single directory where they
are installed. So, you shouldn't need to deinstall.

The process should just be to get the user out of the
application to clear all locks, and then run the
installation program.

Or, am I missing something?

Steve.
-----Original Message-----
I put together an installation program and it works great the first time.The problem I have is that we want the users to be able to rerun theinstallation without needing to uninstall the older package first. How canI set up the package to overlay the existing installation without forcingthe
user to run an uninstall first?

Thanks,
Rob Brown

P.S. If this is not the proper forum to post this question, please direct meto the correct one.
.

Jul 19 '05 #3

P: n/a
In the .Net IDE, when you click the Setup Project in the Solution Explorer,
the Properties window contains ProductCode, ProductName and UpgradeCode.
This information gets stored on the client's workstation. You can see the
ProductName from the Add/Remove Programs window. If you try to reinstall,
apparently msiexec checks the code values, determines that a previous
version exists and throws an error that you must first uninstall the
previous version. The link below solved the problem for me:
http://msdn.microsoft.com/library/en..._by_installing
"Steve" <s_*******@hotmail.com> wrote in message
news:08****************************@phx.gbl...
With a .net installation, there are no registry updates.
So, all you should need to do is overwrite the existing
files in the project - to the single directory where they
are installed. So, you shouldn't need to deinstall.

The process should just be to get the user out of the
application to clear all locks, and then run the
installation program.

Or, am I missing something?

Steve.
-----Original Message-----
I put together an installation program and it works

great the first time.
The problem I have is that we want the users to be able

to rerun the
installation without needing to uninstall the older

package first. How can
I set up the package to overlay the existing

installation without forcing
the
user to run an uninstall first?

Thanks,
Rob Brown

P.S. If this is not the proper forum to post this

question, please direct me
to the correct one.
.

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.