Solved

Install and Update Strategy what is the best way for my requirements for MSI and WIX?

Posted on 2013-06-01
4
417 Views
Last Modified: 2013-06-07
I have never used the installer or wix.  I am currently writing a small app .NET 4 / Windows 7 / x64 which I will distribute to people at work.  If there is one thing I have understood so far that is, to make sure I have my installer right before the first time I distribute otherwise updates will be difficult.

Here are my important points I think;

    1.  The app will contain registry entries and at least one file that the user will change so this file/s cannot be updated.  (thus a general major upgrade with full removal is not possible)

    2.   My thoughts are that the main app .exe file will probably get updated quite regularly as this is not some professional job, my users are my testers. For example if an error is found it might get updated every day or then every week.

   3.  Currently I plan to have a small .exe which will be the actual .exe that users start, this will check a shared drive for a new file (msi/installer file I assume) and if it is newer then it will copy to the client and install, then it will start the app.exe. (Thus using the command line and minor updates would be possible)

   4. Depending on how you suggest i do updates in 3 I would always like to have a "full" installer for any new person that comes along and wants to try it out.  

   5.  I am installing my app in the users own local folder and only using the current users registry so there is no need and I do not want any UAC prompts.  There are no .dll to register and I dont think any dependancies to install or check on. (I am not sure on the last one as I do need C++ Distributable but I think this is on all of the machines already).

It would be great if I only had one installer that either installed it new or updated an older version.

So can people make recommendations or point me in the right direction.  For example I have read I can use BURN and make two products, one for the stable stuff and one for the unstable stuff that is regularly updated, then do major upgrades on the stuff that changes.

I was hoping but am unable to confirm that I can always make one installer which simple has the whole project in it.  This will install the app on a new machine, or update on an existing machine and I can specify files to ignore if they already exist.  Likewise with registry keys, if the key already exists then do nothing, but if it does not exist then add it.

I am not necessarily looking for code, nor links to a tutorial, at this stage I am looking for how I should be in theory doing this with the correct catch words from you so that I can then put those words into Google to search and read up on your suggestions.
0
Comment
Question by:darbid73
  • 3
4 Comments
 
LVL 2

Expert Comment

by:IanNoble
ID: 39212726
ClickOnce deployment is one option, when it runs it will check for any updates and auto update if so.

http://en.wikipedia.org/wiki/ClickOnce
0
 
LVL 19

Author Comment

by:darbid73
ID: 39212775
Thanks for the response but using the installer and wix is how I want to go.  I don't want to learn click once, also my very unexperienced opinion is that it is too much of a black box I don't understand and is not transparent and also there is not one place where I can put the published files.
0
 
LVL 19

Accepted Solution

by:
darbid73 earned 0 total points
ID: 39215407
In the absence of someone making another suggestion it appears I need to use wix burn bootstrapper with at least 2 MSIs.  One MSI will be the stuff I update regularly and one the stuff I do not update regularly.  With this I can update that MSI I want updated and package it in the Burn boostrapper thing.

The Burn package will be therefore an update and install package and it will only do a major upgrade of the files I want.
0
 
LVL 19

Author Closing Comment

by:darbid73
ID: 39228409
As nobody has answered my question I see this as the answer.  I am happy to be corrected.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Data Saving 5 40
Form design in vb.net 7 21
C# DataGridView_RowsAdded event not firing 1 40
Format column on datatable 7 18
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now