The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

Updates found but not installed Options
RandomUser
#1 Posted : Wednesday, March 02, 2011 12:26:08 PM
Rank: Member
Groups: Member

Joined: 3/2/2011
Posts: 13
Location: Indian
I have an action created to Add & Replace by comparison in Application Directory.  I have an UpdateDisplay control added to my form.  I have added code for the CheckForUpdateAsync method and the CheckForUpdateCompletedEventHandler in my form code.  When I run my application the UpdateDisplay control shows that "An update is ready."  When you click the control it says that it applies the update and the update is complete, but then the UpdateDisplay control still shows "An update is ready."  When I right click on the UpdateDisplay control it shows that the current version is has not changed.  It shows the version number for the update that is available as well which is one number higher (1.0.4078.27250 vs. 1.0.4078.27249).  Right now I am manually changing the Assembly Version number in the AssemblyInfo.vb file.  I checked the registry to see if the RSA keys are the same and they were not so I changed the registry to match the key that was in my AppLife project settings under security.  I am not sure if I need to make some more manual changes in the registry or maybe create an action in the AppLife project to make changes to the registry.  Also, I published the original installer on folder on a network drive and the updates are being published to the same folder.  Maybe I need to put them in separate directories?
brianh
#2 Posted : Wednesday, March 02, 2011 12:51:11 PM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 362
Location: Minnesota

Hello,

 

If after an update, the version number has not changed, it very likely that the assembly that was built into the update package is not the version that you expect it to be.  You can check this by viewing the update's build log from the Manage Published Updates... dialog.  The log contains the file/assembly version number of files that are added to the update.

 

      Processing action "Add & replace files in <Application Directory>"...
          Copied WindowsFormsApplication2.exe (1.0.0.0/1.0.0.0)

 

Take a look at your build log and verify that the file version is what you expect it to be.

 

You shouldnt have to make manual changes to the registry.  The public key of your project never changes.

 

You can place the installer in your update folder.  The only restriction on update folders is that a folder can only hold updates for one application.

Brian Haas
Kinetic Jump Software
RandomUser
#3 Posted : Wednesday, March 02, 2011 1:18:59 PM
Rank: Member
Groups: Member

Joined: 3/2/2011
Posts: 13
Location: Indian
I reviewed the log and I found part of the problem.  The update package is the version that I expect it to be, but there are no files in it. In my Add & replace by comparison in - I had the wrong folder for "Current version folder for comparison".  I changed the folder and now it applied the update by it is saying that the application ID of director.xml does not match that of the controller.  I had changed the id in my controller because to match the one I saw in the AssemblyInfo.vb file.  I will try changing it back to see it that fixes it.  Right now it keeps saying "Checking for an update."
RandomUser
#4 Posted : Wednesday, March 02, 2011 1:23:03 PM
Rank: Member
Groups: Member

Joined: 3/2/2011
Posts: 13
Location: Indian
Nope that didn't fix the error.  I saved the ApplicationID that I changed.  I put it back in but it is still not working.  I may try starting over with a new applife project.
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.