Results 1 to 5 of 5

Thread: Minor Patch

  1. #1
    Join Date
    Nov 2001
    Posts
    53

    Minor Patch

    Hello,

    I have a simple question regarding the Installation of a monor patch. I know that there are some documents about that topic, but I do not fully understand these. Maybe you can give me a good answer:

    I would like to create a minor upgrade that just replaces one dll in the original installation. What do I have to do?

    Thanks for your help

    Jürgen

  2. #2
    Join Date
    Oct 2001
    Posts
    4,852
    I think this should work:

    1. Open your Express project and do a Save As (so you don't lose the original)
    2. Go to the Files View and replace that dll with the newer version
    3. Rebuild the setup uncompressed
    4. Browse to the release location and open Setup.ini
    5. Enter the following as the value of CmdLine:

    REINSTALLMODE=voums REINSTALL=ALL

    6. Save setup.ini and close
    7. Now run this setup

    This should cache this msi on the target machine and update the setup with the newer DLL (assuming the newer DLL has a newer version number). If this works try manually deleting this DLL from the system and then doing a repair. This SHOULD reinstall the updated DLL.
    Chandima Rajakaruna
    Macrovision Corporation

  3. #3
    Join Date
    Nov 2001
    Posts
    53
    Thank you ,
    but I have two little questions

    1. As far as I understand this means manual work for the users. FIrst running the new setup to cache the new msi and then doing a repair... Isn´t it possible to just send out a small setup.exe file that only contains the dll and copies and integrates it to the target machine?

    2. And I have the problem, that I make single file setups. When I first make an uncompressed setup, edit the setup.ini. How can I make a single file setup then?

    Thanks for your patients

    Jürgen

  4. #4
    Join Date
    Oct 2001
    Posts
    4,852
    1. If you have already installed the version and you run the setup you created according to the steps I gave, it WON'T go in to repair mode. It will just be just a setup with an Install Welcome, Setup Progress, and Setup Complete dialog. So you will be simply sending a Setup.exe. What you are trying to do is part of true Msi Patching. InstallShield Express does NOT support patching. Installshield Developer has this support.

    As an alternative try the following:

    1. Create a new project
    2. Go to General Information View and set the "Use Add/Remove Programs" property to "No"
    3. Go to Files view and add the new DLL (hopefully it has a newer file version number than the one you are replacing).
    4. Build and install

    This should replace the file. If it doesn't try running this new setup with the following command line:

    Setup.exe /v"REINSTALLMODE=amus"

    2. You could always repackage the uncompressed build in to a Self extracting exe file using something like Package For The Web (free from our website).
    Chandima Rajakaruna
    Macrovision Corporation

  5. #5
    Join Date
    Nov 2001
    Posts
    53
    Thank you !!!

Posting Permissions

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