Indigo Rose Software

Go Back   Indigo Rose Software Forums > TrueUpdate 3.5 > TrueUpdate 3.5 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2008
smc0862 smc0862 is offline
Forum Member
 
Join Date: Jun 2008
Posts: 17
Including Release Notes for multiple updates

Our product updater handles multiple versions of our product patches. What I'd like to do is to also supply Release Notes for each of the patches and have the correct one displayed to the end user so the end user can see what was fixed prior to applying the patch.

Currently I have an internal array in the server script for the patch data. I can add another array element to reference a unique release note file per patch.

What I need to know (if it's possible) is how to include these release note files into the updater as a resource so they get downloaded to the end user. Then I need to know how to display the Scrolling Text dialog using the correct release note file determined at runtime.

Thanks,

-Shawn
Reply With Quote
  #2  
Old 06-26-2008
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
Hi smc0862,

There is no built-in way to automatically upload files, or include additional resource files with your TrueUpdate project. However it is possible to download anything that you want using the HTTP.Download() action.

Once you have downloaded the file you can then read it's contents using a TextFile.ReadToString() action.

You can then set the contents of the ScrollingText control on the On Preload event of your screen using the: DlgScrollingText.SetProperties() action.

It may seem complicated but once you get used to scripting with TrueUpdate it's actually pretty straightforward.
__________________
MSI Factory The Next Generation Intelligent Setup Builder
Reply With Quote
  #3  
Old 06-30-2008
smc0862 smc0862 is offline
Forum Member
 
Join Date: Jun 2008
Posts: 17
Mark,

Thanks for the suggestion. I'll give this a try. Sounds like it will work how I want it to.

-Shawn
Reply With Quote
  #4  
Old 07-01-2008
smc0862 smc0862 is offline
Forum Member
 
Join Date: Jun 2008
Posts: 17
Mostly works...

Mark,

This mostly works and was quite easy to implement. What is happening now is the text file I created in NOTEPAD and uploaded to our website via FTP gets downloaded with the CRLF messed up (i.e. not converted back to a Windows recognizable format.

So the text in the Scrolling dialog is showing as 1 continuous line with block characters where the CRLF should be. I tried the HTTP.Download in both TEXT and BINARY options. Same result for both.

Thanks for any help.

-Shawn
Reply With Quote
  #5  
Old 07-01-2008
smc0862 smc0862 is offline
Forum Member
 
Join Date: Jun 2008
Posts: 17
Thumbs up Never mind...

I uploaded the text file in BINARY mode with FTP and used BINARY mode on the HTTP.Download and all is well.

Thanks for the help...

-Shawn
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INFO: JET and MDAC (Complete) Runtime Notes Desmond Setup Factory 6.0 Knowledge Base 0 11-28-2003 09:35 AM
INFO: JET 4.0 SP7-SP8 Runtime Notes Desmond Setup Factory 6.0 Knowledge Base 0 11-28-2003 09:34 AM
INFO: Microsoft Data Access Components 2.8 Runtime Notes Desmond Setup Factory 6.0 Knowledge Base 0 11-28-2003 09:20 AM


All times are GMT -6. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software