I'm testing out AI and trying to understand autoupdates. Here's what I've done:
Created a .NET app that simply shows the current version number.
Created a splash screen app that shows a splash screen and which will call the autoupdater. (this might be integrated with the main app later, but we use a separate splash screen in the product now that is the launcher.) The splash screen uses the sample code to run a process and call the installer with the /checknow option.
I then created three AIPs:
The main AIP that creates the MSI and points to my update location on the web.
One to create a MSP
One to create the updates text file.
I start with both apps being version 1.0.0.0 and my AIP being 1.0.0.0 and create the first MSI and drop it into a 1.0 folder
I then update everything to 1.1 keeping the same product id and create my second MSI and drop it into a 1.1 folder
I create my MSP off of the diff between the two.
I create my .TXT file
I drop the MSP and my .TXT on my updates location, then install 1.0 of the software. I run the main EXE to make sure it really is 1.0, then I run the splash.exe. Every time it quickly reports back that the software is up to date.
The INI looks ok, and the updates.txt looks ok. I have no clue why it isn't updating. Is there a way to generate debug information from the autoupdater?
If you want to see my projects, I can zip up and email you the whole thing. Just tell me where to send it.
Thanks for your help.
FOLLOW US
Get the latest news in Application Packaging