C# Application
Built using CruiseControl.Net
The exe's file and assembly version are incremented with each succesful build (Currently 4.0.190.0)
Updater.exe is installed with the application and points to an internal webserver
When a build is kicked off, the exe gets built first. The version is then set in the aip file through:
Code: Select all
"C:\Program Files\Caphyon\Advanced Installer 6.4\AdvancedInstaller.com" /edit "C:\AutomatedBuilds\MsiBuildFile\QQ_Advanced_Installer_Trial.aip" /SetVersion -fromFile "C:\AutomatedBuilds\QuickQuote\bin\Release\QuickQuote.exe"
I then update the update text file. It looks like this:
Code: Select all
;aiu;
[Update]
Name=QuickQuote
URL=http://cx-dev/QuickQuote.exe
Size=79668882
FilePath=[APPDIR]QuickQuote.exe
Version=4.0.190.0
AutoCloseApplication=[APPDIR]QuickQuote.exe|;Quick
FileVersion: 4.0.190.0
Product Version: 4.0.190.0
I now go to my test box and check, it has an installed exe versioned 4.0.187.0
I launch my application and it goes out to check for an update. It sees that 4.0.190 is the newest version and prompts me to download it.
It download the installer and launches the installer. I'm then presented with the windows installer message "A more recent version of QuickQuote has already been installed."
Does anyone know why this is happening? The file that is installed is 4.0.187.0 the file being downloaded is 4.0.190.0 shouldn't that indicate a greater version?
Thanks