Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / March 2005

Tip: Looking for answers? Try searching our database.

just update my directorys with a newer version of blah.msi

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joao paulo melo - 01 Mar 2005 11:48 GMT
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 :)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.