This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- XML Configuration
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2012
07:37 AM
XML Configuration
Hi,
very newbie to InstallShield so please bear with me.
I have managed to produce an installer which deploys the required Win32 app/file, set up the registry based on user input (default folder locations and the like), and create a new, or upgrade an existing, SQL catalogue.
Different clients of ours require differnent files installed. I was hoping to hve an XML configuration file along the lines of...
file1.txt
file2.txt
file1.txt
file2.txt
etc....
then in InstallScript MSI simply set one property, the client name, in this case to abc or def then read in and set InstallScript variables to the rest of the configurations held in the XML document.
In the above example a LIST type variable containing the files needed for the specific client.
Is this doable without having to COM out to VB or C# and modify the ISM?
What's the best way?
Thanks,
Keith
very newbie to InstallShield so please bear with me.
I have managed to produce an installer which deploys the required Win32 app/file, set up the registry based on user input (default folder locations and the like), and create a new, or upgrade an existing, SQL catalogue.
Different clients of ours require differnent files installed. I was hoping to hve an XML configuration file along the lines of...
etc....
then in InstallScript MSI simply set one property, the client name, in this case to abc or def then read in and set InstallScript variables to the rest of the configurations held in the XML document.
In the above example a LIST type variable containing the files needed for the specific client.
Is this doable without having to COM out to VB or C# and modify the ISM?
What's the best way?
Thanks,
Keith
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2012
12:13 PM
Have you tried InstallShield Collaboration and possibly the DIM Editor? It doesn't result in quite as concise a file as what you describe, but I think it might fit the rest of your described scenario. If you do require a file as concise as you describe, then you will probably need to explore the COM automation options in InstallShield.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2012
12:28 PM
I will look into these.
I started looking at including an xml file into the Support Files area then opening it with CreateObject in a CustomAction but even that's giving me gip, even though I have the right file path with SUPPORTDIR etc...
Thanks,
Keith
I started looking at including an xml file into the Support Files area then opening it with CreateObject in a CustomAction but even that's giving me gip, even though I have the right file path with SUPPORTDIR etc...
Thanks,
Keith