Trouble with VS 2005 Installer and Add\Remove Program entries

Giganews Newsgroups
Subject: Trouble with VS 2005 Installer and Add\Remove Program entries
Posted by:  DatabaseOgre (DatabaseOg…@discussions.microsoft.com)
Date: Tue, 1 May 2007

We have a web setup project in MS 2005. When our users run it on their server
the first time, it creates folders and files necessary for our web app to run
on their server. After which, the user manually assigns some required shares
on the newly created folders, along with some other IIS settings.

Our issue is when we create an update with a newer version number, even
though it correctly updates the files, it also creates an identical listing
in “Add/Remove Programs”, which we obviously don’t want. However, we don’t
want to uninstall the previous version because this removes the originally
created folders. That’s not typically a problem, but in this case, it means
the user has to recreate the shares on the newly created folders, just as
they did before. We want to avoid this.

So our question is, how can we have our web setup install over the existing
files, without having to uninstall the previous version and not have it list
the same setup name in “Add/Remove Programs”?

We assume we could somehow make our setup create the shares on the newly
reated folders via a shelled program (and do the other IIS settings) but
because of complexity and time, we were hoping a few setup tweaks could
resolve this issue. All other setup packages I’ve worked with simply replace
the existing entries in “Add/Remove Programs” whenever an update is made
(without having to uninstall the previous version) so it seems it should be
easy, but we’re not finding it.

Regards,

DatabaseOgre

Replies