Announcement

Collapse
No announcement yet.

How to create a stub installer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to create a stub installer

    We have some download locations that are still well linked but we cannot redirect them and think it best to replace the installer with one that downloads and runs the latest installer from our main download site (the one that is kept up to date).

    So I am thinking of stub installer like the browser makers insist on using, ie: download a small installer file which then downloads the real installer.

    Any hints or tips as to how to do this using SUF will be most appreciated.
    ArtistScope - Copy Protection & DRM Software

  • #2
    I have found some help for using HTTP.Download but there are errors in the code that is recommended. For example this following line gives an error...

    Code:
    crc_value = File.GetCRC(SessionVar.Expand("%AppFolder%\\setup.exe");
    But replacing the missing closing bracket still gives an error...

    Code:
    crc_value = File.GetCRC(SessionVar.Expand("%AppFolder%\\setup.exe"));
    ArtistScope - Copy Protection & DRM Software

    Comment


    • #3
      Actually, this line is correct with the added closing bracket...

      Code:
      crc_value = File.GetCRC(SessionVar.Expand("%AppFolder%\\setup.exe"));
      The examples given in the Help document need to be amended.
      ArtistScope - Copy Protection & DRM Software

      Comment

      Working...
      X