Indigo Rose Software
  #1  
Old 07-23-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
Download latest copy automatically?

Is there a standard way to build bootstrapper that can download latest MSI build automatically?

Any samples or recommendations on how to build latest version checker/downloader with SFWI ?
Reply With Quote
  #2  
Old 07-24-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
any ideas/help links/explanations please? I can see "default_download_setup.lua" does exist... What do I do with it? How does it work?

I would really like to have a "SFWI for dummies", but since it does not exist - I post all my questions here
Reply With Quote
  #3  
Old 07-25-2007
installshielduser installshielduser is offline
Forum Member
 
Join Date: Jul 2007
Posts: 23
I have been thinking about this also.

I see some installers do a dance at install time 'checking for the latest version' so that they for sure put the latest and greatest onto the PC.

I always assumed this was part of the whole MSI / windows installer engine...

IF my assumption is correct (hah!), then Setup Factry should be able to do it to, right?
Reply With Quote
  #4  
Old 07-25-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
The short answer to this is, yes it is possible. The long answer is that it is a fairly involved process.

In general, the approach that would need to be taken is to create your own bootstrapper configuration XML file and then under Build > Settings in the Boostrapper section select "Custom" and give it your bootstrapper configuration file path. Or, you can just build the bootstrapper bu running the "IRMakeBootstrap.exe" file (usually located in "C:\Program Files\Setup Factory for Windows Installer\Bootstrap") and passing it the configuration file on the command line. For details about the bootstrapper configuration file format, see the help file "IRMakeBootStrap.chm" in the same folder.

After you make your configuration file, you will have to make the main .lua script file that does the downloading. You will need to use the HTTP actions to perform the download.

In order to get an idea of what this should look like, go in and turn on the Standard bootstrapper options with the download option. Then perform a build. In the output folder (or the "Build Files" folder under it) you should see the files: bootstrapper_main.lua and bootstrap_config.xml. Take a look at those files in a text editor to see what they do.

We are working on developing a full IDE application for creating and editing bootstrapper configuration and script files with a color syntax code editor, etc. However, it is in the early stages of development and is probably at least a month off.

Hopefully the above will get you going. We will be happy to help you over the humps as you work through this process.
Reply With Quote
  #5  
Old 07-25-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
Brett, thank you for the very detailed response... The process you described sounded way too complex. Do you think that your new magic tool will help us with creating "downloadable" installations? If yes - we would rather wait for this new tool and implement "downloadable" flavor of our installer later.
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
Web download, and Install Sheritlw Setup Factory 7.0 Discussion 6 03-21-2007 03:34 PM
Something weird is happening in my project after copy to desktop function clubsoda AutoPlay Media Studio 6.0 0 02-01-2006 08:59 AM
Bug? Http download error not recorded by GetHTTPErrorInfo() Ken Gartner TrueUpdate 2.0 1 03-16-2005 08:56 AM
HOWTO: Download and Install Files from the Web Support Setup Factory 6.0 Knowledge Base 0 10-23-2002 02:16 PM


All times are GMT -6. The time now is 03:31 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