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
- :
- Best way to create a list of Components and the Source/Destination paths??
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
‎Jul 18, 2008
02:08 PM
Best way to create a list of Components and the Source/Destination paths??
Is there any way of creating the list of Components and their Source/Destination paths in an InstallScript project? I have a very long list of Components, so the manual process takes too long.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
01:26 PM
When are you trying to create this list? At build time, or run time, or ...?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
01:28 PM
At any time is ok. This is for reporting/documentation and other similar purposes.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
02:16 PM
You can use InstallShield Automation on the .ism project file, for example:
P.S. This being VBScript code to run using cscript /nologo thisfile.vbs in a command prompt...
' change ProgID for your InstallShield version
set ism = CreateObject("ISWiAuto15.ISWiProject")
ism.OpenProject "InstallScript2009.ism"
for each comp in ism.ISWiComponents
WScript.Echo comp.name & " going to " & comp.Destination
next ' comp
ism.CloseProject: set ism = Nothing
P.S. This being VBScript code to run using cscript /nologo thisfile.vbs in a command prompt...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
02:22 PM
Thanks Robert, I will try that out.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)