Call URL before and after install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Staggan
    Forum Member
    • Apr 2006
    • 94

    Call URL before and after install

    We are having some problems where users seem to register and download our software but never then login.

    Is there any way I can call a URL when the installer starts and a different one when the installation ends? We would use this to estimate installs started and not finished to locate potential issues.

    Thanks
  • Ulrich
    Indigo Rose Staff Member
    • Apr 2005
    • 5130

    #2
    After you made sure that the computer has network connectivity, you could use HTTP.Submit() to send a ping to a form, using the same form in both events (e.g. On Startup and On Post Install), but sending a different value for a certain parameter to signal the start and the end of the installation.

    Example:
    Code:
    -- On Startup
    HTTP.Submit("http://www.domain.com/form.php", {event="started"}, SUBMITWEB_POST);
    
    -- On Post Install
    HTTP.Submit("http://www.domain.com/form.php", {event="finished"}, SUBMITWEB_POST);
    It would be your task to write a form to intercept and log/store the information received on the server, which could be done with a log/text file, database, etc.

    Ulrich

    Comment

    Working...
    X