Community Forums
Results 1 to 4 of 4

Thread: Can I create patch

  1. #1
    Join Date
    Jun 2006
    Posts
    10

    Can I create patch

    Hi, if I make a installer with just InstallScript and not use "InstallScript/MSI" project can I still make a patch for updating my application. If so how do I do that.

    Also can I do the following

    Make a installer with InstallScript Project. With the application there is a 200MB data file which is a third party file. This file is updated and provided to us every month or 2. Every version of this file has a different name like dataJan2006.aaa and the next month we would get dataFeb2006.aaa. Now the data between both the files are mostly same with few additions and subtractions. Since the files are soo big I want to create a path that would only take the binary diff of the file and create a small patch to update the target file and rename it.

    Is that possible if so how can I do that.

    Thanks heaps

  2. #2
    MichaelU's Avatar
    MichaelU is offline InstallShield Software Engineer
    Join Date
    Jan 2004
    Location
    Schaumburg, IL
    Posts
    4,683
    InstallScript supports the idea of differential releases (see the help), but my recollection is it works on the file level. So unless you renamed the file such that it was always the same in your package, I don't think it could work. I believe MSI patches also function at file level for binary differencing, so it wouldn't be any better of an alternative for this need.
    Michael Urman - Staff Software Engineer - Flexera Software: InstallShield Team

  3. #3
    Join Date
    Jul 2006
    Posts
    4

    SQl in Patches

    am new to Installshield 12 .....Can a patch have SQL script ?.

  4. #4
    Join Date
    Nov 2002
    Location
    Akron
    Posts
    325
    To answer your question, it depends on your project type. In the past, using MSI projects to patch the database via SQL statements are difficult. It depends on how you do it. When using an Install Shield script project and making a differential patch, it is really simple. In the differential patch, there are before and after events that allow you to write customize code to update your database. So in the before update event, you can stop services or programs from accessing your database. Copy your new files in. Then in the after update event, run your SQL updates and restart your applications.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •