Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 08-02-2007, 03:22 PM
VBuild_Rookie VBuild_Rookie is online now
Registered User
 
Join Date: 05-07-2004
Posts: 23
MSBuild

I got a step using the MSBuild action....everything works and publishes. but on the publish.htm there is version line that should be set to the version I just publish. When I do the publishing thru the IDE the version number on the publish.htm page gets updated with the version I'm publish. ie. 2.2.3.4 or what ever...but with MSbuild action in VBP it doesn't get updated and I do have the property ApplicationVersion set to the latest build number....it creates the correct folders and all but that number on the publish.htm doesn't get update....is there a away to do that?
Reply With Quote
  #2  
Old 08-03-2007, 10:36 AM
VBuild_Rookie VBuild_Rookie is online now
Registered User
 
Join Date: 05-07-2004
Posts: 23
Clickonce not updating?

I have a VBP build process that uses MSBuild to update the clickonce site. I first did the clickonce deployment in the IDE to setup all the proper files and publish.htm ..etc.. Now I want to release another version of the software like version 10 .....I see that my MSBuild action uploads all the proper files and changes the setup.exe....but when my users/testers launch the app they don't get the latest version which is version 10 in this case. They still have version 9 on their pc. But if the unistall version 9 and go to the clickonce url they will get version 10. I also tried using the Make VS.Net action and passing the /p arguments....i.e. InstalUrl. PublishDir...etc...

What do I need to do to make the users get the latest code?

I wanted to add....If I do the publishing from the IDE for version 10 then it works....meaning the users/testers would get the latest versions.....So I'm not sure what I have to do in VBP to mimick the IDE.
Reply With Quote
  #3  
Old 08-03-2007, 11:37 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
MSBuild does not deploy publish.htm, but the Install button on that page is just a link to setup.exe, so as long as the updated setup.exe is run by the user (copy publish.htm to the deployment folder or create an html page with a link to setup.exe) they should get the latest version.

You can also use the Make VS.NET action (which ultimately calls MSBuild) to build and publish: http://www.kinook.com/Forum/showthre...?threadid=1401
Reply With Quote
  #4  
Old 08-03-2007, 12:38 PM
VBuild_Rookie VBuild_Rookie is online now
Registered User
 
Join Date: 05-07-2004
Posts: 23
the setup.exe does get update...from what I can tell it gets changed everytime I run the MSbuild action since the timestamp reflects the change. ALso the users are running that setup.exe they are not going to the url they just relaunch the app from start-> program files....but they don't get the message that there has been an update blah blah....but if I do the upload (publishing) thru the IDE the users can relaunch the app thur start -> program files and they do get the update message and can install version 10 in the above exmaple....is there a property that I need to set that maybe set going thru hte IDE..

from what I understand MSBuild action would use the project file and its setting unless I pass in overrides for them via the property arguments...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:41 PM.


Copyright © 1999-2023 Kinook Software, Inc.