|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.