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

Thread: How do I get rid of [DATABASEDIR]?

  1. #1
    Join Date
    Apr 2002
    Location
    Cambridge, UK
    Posts
    31

    How do I get rid of [DATABASEDIR]?

    For some reason that I cannot fathom, ISX2011 has decided I need the [DATABASEDIR] which I am not using at all. It is set to the default value [INSTALLDIR]Database, but I am not using it. When I test my install I now get a subdirectory \Database with no files in it. I have the setting about not including subdirectories with no files but this still doesn't get rid of it. I don't use the [DATABASEDIR] and I cannot find any reason why Installshield feels it must create this directory.

    Advice anyone?

    Thanks
    Jonathan

    PS I have built 2 complete installs for sister products and the other install does NOT do this. I can see in the msi the directory is to be created but I want to eliminate it from the ise (InstallShield) project rather than have to tweak the msi all the time.

  2. #2
    Join Date
    Oct 2001
    Location
    Schaumburg, IL
    Posts
    2,031
    You can open your .ise project file in Orca.exe and delete the entry that creates the [DATABASEDIR] directory.

    Hope that helps.
    Hidenori Yamanishi - Senior Software Engineer - Flexera Software: InstallShield Team

  3. #3
    Join Date
    Apr 2002
    Location
    Cambridge, UK
    Posts
    31
    Hi Hidenori,

    I tried this before I posted but wasn't convinced I wouldn't just corrupt the database altogether.

    I renamed the file extension from ise to msi & opened in ORCA.
    Under CreateFolder I deleted two entries which listed Databasedir (for my install these were ISX_DEFAULTCOMPONENT7 & ISX_DEFAULTCOMPONENT48 in my install)
    I saved from ORCA and renamed the extension from msi to ise & opened in ISX2011.
    I then rebuilt the install.

    Testing the install showed this was enough to get rid of the spurious \Database directory but still left me with questions as to what I was doing and why it was ever there.
    Should I also delete the ISX_DEFAULTCOMPONENT7 & ISX_DEFAULTCOMPONENT48 from the Component table when editing the ise in ORCA?
    If I do that, how do I know what these component are and whether I've not broken some other part of my install.

    Besides all this - the bigger questions are
    - why has ISX done this? (I never use the [DATABASEDIR])
    - why can't I find this entry using the ISX GUI and remove it (rather than resort to ORCA)?
    - why hasn't the remove unused directories stopped this directory being created?

    Thank you for you time
    Jonathan

  4. #4
    Join Date
    Apr 2002
    Location
    Cambridge, UK
    Posts
    31
    Some additional information.

    Running the ICE tests on the MSI package resulting from the above edits to the ISE & rebuilding the install in ISX2011 I found there were a number of ICE18 errors, teo of which related to this problem (I never understand why the others get there, but that is another issue!).

    KeyPath for Component: 'ISX_DEFAULTCOMPONENT7' is Directory: 'DATABASEDIR'. The Directory/Component pair must be listed in the CreateFolders table.

    and

    KeyPath for Component: 'ISX_DEFAULTCOMPONENT48' is Directory: 'DATABASEDIR'. The Directory/Component pair must be listed in the CreateFolders table.

    I assume that my earlier post about needing to do more was correct. I'm not that used to editing with ORCA and I'm not sure what is safe to delete and what is linked to other parts of the information.

    So if I go back tot he ISE and delete these two components from the Component table using ORCA, then rebuild from that edited ISE using ISX2011, will this be enough?

    What are these two components? Where can I find them listed from within the ISX2011 GUI? How do I find out what else they are doing?

    Thanks
    Jonathan

  5. #5
    Join Date
    Oct 2001
    Location
    Schaumburg, IL
    Posts
    2,031
    My assumption is that you had a file under the DATABASEDIR folder one-time. InstallShield creates a component for the file internally, but it does not delete the component automatically when the file is removed from the folder because it is potentially shared by other resources such as INI file changes. For now you need to delete the components and CreateFolder entries manually using Orca. The Express edition does not provide the UI that allows you access to components.
    Last edited by hidenori; 12-14-2010 at 01:45 PM.
    Hidenori Yamanishi - Senior Software Engineer - Flexera Software: InstallShield Team

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
  •