We are planning on pushing lots of updates of our product and we always want the user to install the latest and greatest. We're trying to determine the best way to do this. Getting the latest setup.exe is not possible - but pulling the latest .msi and .cab is possible.
We are looking at the Bootstrapper's "Retrieve from on-line location" as a possible way to support this while "Create EXE setup file" is checked.
My preliminary tests indicate this is doable. I put the .msi and .cab file on the server. Most importantly my custom setup dialog activity is indeed stored in the .msi file and I see uploading a new .msi does indeed push the update for new installs.
My question centers around the setup.exe that is created. How generic is it? Can I use this across multiple versions of setup? New product code vs. same product code? Ideally setup.exe would just have the URL to where to pull the .msi and .cab and that's it. The .msi would then be in charge of the rest of the process.
In talking to Bogdan, he said different Product Version'ed setup.exe's with the same Product Code should not be distributed. Instead they should just be used for patch creation. In the following example each new version would result in a patch for existing customers.
1.0.1
1.0.2
1.0.3
While an old 1.0.1 install would pass through a 1.0.2 and 1.0.3 patch process as they're released, we don't want new customers to install 1.0.1 and then immediately have to patch to 1.0.3. Ideally the user would launch "setup.exe with online retrieval" and get 1.0.3 right from the start.
So my process would be as follows:
- Create build 1.0.1 with a setup101.exe product101.msi and product101.cab
- User is given setup101.exe and product101.msi and product101.cab are placed on server.
- User installs at SiteA
- A week goes by
- Create build 1.0.2 with a setup102.exe product102.msi and product102.cab
- Create a patch for 1.0.1 to 1.0.2 and deploy to patch server
- Replace product101.msi with product102.msi on server
- Replace product101.cab with product102.cab on server
- SiteA pulls the patch and updates itself to 1.0.2
- User then runs setup101.exe at SiteB, when it goes to pull the latest msi and cab it will get the 102 versions.
FOLLOW US
Get the latest news in Application Packaging