hi, sorry about my bad english :)
so, i would like to use my web setup project, not just to
create the virtual directory on IIS, but to update
my 'bin' and 'js' directory (with more files) in the
future(on onother version of my .msi),
the problem happen when i try update my site running other
(newer) version of myproject.msi. cause it always
uninstall and then install again, creating one more time
my virtual directory... this is bad!
i just need launch the "repair" and this should just
update some directorys, whitout uninstall (this happen
when the version of .msi was changed)..
exist any way to do that?!
thanks for help!
joao paulo melo
joaopancinha[ rem#ove ]@gmail.com
joao.melo[ rem#ove ]@benner.com.br
szeying.tan - 02 Mar 2005 17:37 GMT
you have to be careful with changing the productversion property of
your setup project within the VS environment as this will change your
packagecode and productcode, which results in the installer recognizing
your package as a major upgrade.
to do minor updates, you want to increment the project's version
property, accept the changes to the code, and set the productcode
property back to the original product you were updating. this way, when
you run the resulting package, it will recognize that the product is
already installed, but it's a different package, hence comparing the
updates needed. to install this package, you can do the following to
force a reinstall.
msiexec /I mypackage.msi REINSTALL=ALL REINSTALLMODE=VOMUS
this way, the "repair" option is not an uninstall/reinstall, but a
minor upgrade taking place.
good luck :)