cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nagash_42
Level 3

How to change/create xml files with a doctype?

I'm building a Basic MSI project and would like to save some values to a xml file during installation. This xml file needs to have a doctype declaration so that the installed application can later use it, but I can't find a way to configure a doctype in InstallShield. Even when I import a xml file with the correct doctype to begin my settings for InstallShields xml file changes, the doctype is stripped.

I also tried including a dummy file with the doctype but without the values in my project, but then the installer complains on installation that it can't open the file...

How can I create a doctype'd xml file?
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

InstallShield has no support for creating DOCTYPE declarations in XML files. However with the experimental update in another thread (http://community.acresso.com/showthread.php?p=429835#post429835) an existing DOCTYPE declaration will be maintained. If you can install a base version of the XML file that already includes the DOCTYPE, this may do what you need.
0 Kudos