Page 1 of 2 12 LastLast
Results 1 to 5 of 9

Thread: BDE Meger Module is removing files during a Mindor Upgrade...

  1. #1
    Join Date
    Nov 2002
    Location
    Akron
    Posts
    325

    BDE Meger Module is removing files during a Minor Upgrade...

    Hello All,

    I have ran into a little snag here. I'm performing a minor upgrade and I used a suggested method that was posted here in the community. Here is the link "http://community.installshield.com/showthread.php?s=&threadid=107134&perpage=5&highlight=minor%20upgrade&pagenumber=1"

    Well, I did everything that was suggested except a couple of items. This is what I did.

    1) Created a new release with a new package code.

    2) In the new release view that I just created, I modified the "MSI command line arguments" to be "REINSTALLMODE=voums REINSTALL=ALL".

    3) Then I created the custom actions that I called "SetREINSTALL" and SetREINSTALLMODE" and set the value for both actions to be "{}".

    4) With the new custom actions, I inserted them in the appropriate places that is described in the link I provided.

    - Here is a quote from the link...
    i. Go to the Sequences view. Under Installation/User Interface insert both custom actions after CostInitialize. Give both of them a condition of "Not Installed"

    ii. Under Installation/Execute insert both custom actions after CostInitialize. Give both of them a condition of "Not Installed"

    5) Lastly, I created the funcitons that would be called as a result and I was able to perform custom scripting that I needed to do. They were the OnResumeUIAfter and OnResumeUIBefore function calls.

    This method works for me. However, I seem to have run into one little snag. My installation requires to use the BDE merge module. The drivers that I have specified in the BDEMERGE.INI file are being removed from the machine when I perform this minor upgrade. It is removing the files when the components are being updated during the file copy stage.

    Has anyone run into this problem where the BDE Merge Module is remove files durning an upgrade?
    Last edited by TheTraveler; 07-29-2003 at 04:21 PM.

  2. #2
    Join Date
    Nov 2002
    Location
    Akron
    Posts
    325
    I have an additional question. When you run a setup that would go into a minor upgrade mode, will it force the installation into silent mode? If so, then I have found the problem and answer.

    ==============================
    Link:"http://www.installsite.org/pages/en/bugs_msi.htm"
    ==============================
    BDE Merge Modules Fail in Silent Install

    Description:
    If you run your setup in silent mode using the /q command line switch, some of the files in the BDE merge modules don't get installed.
    Cause:
    Some components have conditions that are set by custom actions. These actions are only inserted to the User Interface sequence. In silent mode this sequence is not executed by Windows Installer.
    Workarounds:
    Set the properties MSSQL and ORACLE in a custom action if your setup runs in silent mode.
    Status:
    This problem is reproducible with the BDE 5.11 merge modules.
    Created: 2001-04-17
    ============================

    If this is indeed the problem, the work around mentions the properties for Oracle and MSSQL. Where are these properties and what do I do to set them too?
    Last edited by TheTraveler; 07-29-2003 at 04:27 PM.

  3. #3
    Join Date
    Nov 2002
    Location
    Akron
    Posts
    325

    Question

    Well, I ran the installation again and used this little bit of code to verify what installation mode I'm currently in.

    Code:
        if MODE = SILENTMODE then MyAddToLogFile("The installation is in Silent Mode.");
    elseif MODE = NORMALMODE then MyAddToLogFile("The installation is in Normal Mode.");
    elseif MODE = RECORDMODE then MyAddToLogFile("The installation is in Record Mode.");
    else                          MyAddToLogFile("The Installation Mode is Unknown.");
    endif;
    It turns out that the installation is in NORMAL mode. This means that the above mentioned problem shouldn't apply here.

    Does anyone else have any other idea?
    Last edited by TheTraveler; 05-19-2008 at 10:38 AM.

  4. #4
    Join Date
    Apr 2003
    Location
    Denver, CO
    Posts
    125
    Did you ever figure this out? I too am having the exact same problem but cannot figure it out.

    Thanks for any help.
    Thanks,
    Philip J. Hall

  5. #5
    Join Date
    Nov 2002
    Location
    Akron
    Posts
    325
    It has something to do with the BDEMERGE.INI file. For some reason, the merge module part of the installation is not accessing this file. Because of that, it won't satisfy a condition of installing the driver you have selected in the ini file. In fact, if the condition isn't met, it will remove the file. This, to me, is a bug. So I opened the merge module in Istall Shield Developer, took out the condition on the drivers we need to have installed, and rebuilt the merge module. I couldn't find any other way to do this. If you do, please let me know.
    Last edited by TheTraveler; 10-03-2003 at 10:15 AM.

Page 1 of 2 12 LastLast

Posting Permissions

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