VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
VB.Net Installer Question...Please help Posted by natloz on 25 May 2004 at 1:55 PM
I have a project that I have finished.
I have created the Setup Project and have successfully installed using the Windows installer built into my project (MSI file, ini file etc...)

I made some changes to a couple of forms. What is the best method for updating the end-users computer with the changes.

The installer does not work, it says to uninstall first (it works after unistalling through ADD REMOVE PROGRAMS and then re-installing with the changes).

I want to update without unistalling.
\\--||--//
<NATLOZ>
//--||--\\
Report
Re: VB.Net Installer Question...Please help Posted by Xtreme.NET on 25 May 2004 at 8:39 PM
in my case what i do is to make a small patch program and replace the exe and other neccessary files needed to put the update in place

"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."[i]1Thess. 5:16-18[/i]

Report
Re: VB.Net Installer Question...Please help Posted by natloz on 26 May 2004 at 7:00 AM
You would think that the installer would be smarter and be able to overwrite if it detects a change in the files.

\\--||--//
<NATLOZ>
//--||--\\

Report
Re: VB.Net Installer Question...Please help Posted by natloz on 27 May 2004 at 9:19 AM
: You would think that the installer would be smarter and be able to overwrite if it detects a change in the files.
:
: \\--||--//
: <NATLOZ>
: //--||--\\
:
:

SOLUTION:

I change the VERSION property of the Setup Project, a have the Uninstall Previous Versions property set to True. Now the install will first auto-uninstall any previous version, and will put my new program in place. Works like a charm.

\\--||--//
<NATLOZ>
//--||--\\

Report
Re: VB.Net Installer Question...Please help Posted by sjharpermcse on 27 May 2004 at 9:22 AM
if you aren't changing a lot of files, you could probably use XCopy. Look in the VB.Net Documentation for how to do this. Maybe another solution. Probably something that would be used more with websites than with applications. But just a thought.



: : You would think that the installer would be smarter and be able to overwrite if it detects a change in the files.
: :
: : \\--||--//
: : <NATLOZ>
: : //--||--\\
: :
: :
:
: SOLUTION:
:
: I change the VERSION property of the Setup Project, a have the Uninstall Previous Versions property set to True. Now the install will first auto-uninstall any previous version, and will put my new program in place. Works like a charm.
:
: \\--||--//
: <NATLOZ>
: //--||--\\
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.