Loading
Error 27520 while updating Doc type XML's
hi all,

 

I've been using a demo version of Installshield 2009 SP1 version 15

 

my requirement was to dynamically update an xml file which has doc type definitions. i did an import of the xml file to update the xml at runtime. but while installation the installer fires

 

error 27520 Error opening the xml file

 

i even learnt that this was a bug in the earlier versions and i tried the hotfix as well..but the fix i downloaded wasn't for my version of Installshield.

 

Please suggest me the workarounds for this issue and hotfixes if any.

  • 0_M Urman (Flexera Software)

    What project type are you working with? If Basic MSI, try backing up and replacing the file \Redist\Language Independent\i386\ISXmlCfg.dll with the one in the attached zip file. Then rebuild and try again. Note that this isn't not a 100% compatible replacement for the file; attempting to use the view's install/uninstall testing may fail and crash with this file in place. However it should include a fix for Issue IOB-000004430.
    Expand Post
  • I know you may have the problem solved, but here is a different approach that you can consider. If you are using an Install Shield Script project or a Install Shield Script MSI project, then this is a viable option for you. This link will demonstrate how you can use COM objects to open, read, modify, and save an XML document without the use of calling a DLL. You see, install shield script has the ability to create COM objects in the code. The link above reads and modifies a web.config file which is XML encoded.

     

    I hope you find this information informative.
    Expand Post
  • hey Michael,

     

    the dll fails to update the xml element contents dynamically.

     

    in the sense if i try to update the xml with a static content it works fine...but if i try to update with a property value as obtained by the UI dialog box ....it clears of the element contents.

     

    i've made sure i'm making use of public property by puttin it all caps...

     

    n thanks travaller...i'll have a look at the link suggested by you.

     

    can anyone help me ....atleast letme know which version has solution for updating a doctype xml with dynamic content...plz its real urgent...!!
    Expand Post
  • 0_M Urman (Flexera Software)

    Hmm. Does it fail that way with all properties, or only ones that you have the user insert - try with ones like [ProductName] or [INSTALLDIR] to see? I guess there may be more incompatibilities in this preview code than I'd hoped for. I'll see when I can find time to look into this.
  • 0_M Urman (Flexera Software)

    I found some time and have fixed the property resolution; I'll try to upload a new version as soon as possible (probably tomorrow).
  • yes Michael, it fails even with the [INSTALLDIR]

     

    i tried testing it with both [INSTALLDIR] and a userdefined property. It failed for both cases.

     

    i really appreciate your efforts mate, help regarding this issue will be of great help to me. Thanks for your time mate
    Expand Post
  • 0_M Urman (Flexera Software)

    Here's the updated version; follow the instructions from the previous post (second in this thread) for updating it, and notes on caveats. Let me know if this gives you any more trouble. :)
10 of 18

Loading
Error 27520 while updating Doc type XML's