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
- :
- Documentation Frustration
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
Apr 13, 2012
09:34 AM
Documentation Frustration
I have worked with InstallShield for years and have always been frustrated with their documentation. Here is an example:
From: http://helpnet.installshield.com/installshield17helplib/IHelpCompDest_SetFromScript.htm
dated 19 August 2010
Last line: ComponentSetTarget( MEDIA , "" , svEndUserSelectedPath);
From my IS2011 Help Library: Component Function: InstallShield 2011 » InstallScript Language Reference Dated July 2010
Because a Windows Installer-based installation uses features as the highest level of organization in installation projects, and not components, component-related functions are deprecated in InstallShield
I waste days trying to get something to work only to find your documentation is wrong.:mad:
From: http://helpnet.installshield.com/installshield17helplib/IHelpCompDest_SetFromScript.htm
dated 19 August 2010
Last line: ComponentSetTarget( MEDIA , "
From my IS2011 Help Library: Component Function: InstallShield 2011 » InstallScript Language Reference Dated July 2010
Because a Windows Installer-based installation uses features as the highest level of organization in installation projects, and not components, component-related functions are deprecated in InstallShield
I waste days trying to get something to work only to find your documentation is wrong.:mad:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2012
04:03 PM
There is an unfortunate inconsistency in this article in regards to step 3e. The step itself mentions using FeatureSetTarget to change a target path, but the sample code uses ComponentSetTarget. Work order 1-12NWKD is currently reported against this issue.
In regards to the Component functions, most of these functions should have a Feature equivalent by replacing 'Component' in the function name with 'Feature' (note this change was made around the DevStudio 9 release); mappings from old to new function names can be found in the article 'Script Changes: Lexicon Conversion'. In practice, for InstallScript projects, Component and Feature functions are the same and are just aliases for each other (with the exception of Feature functions added after this semantic change was made). This being the case, the help article's use of ComponentSetTarget should not cause any issues for setting a target path at runtime.
If any feature functions are used with MSI projects (Basic MSI, InstallScript MSI), the Feature functions must be used as no equivalent Component functions exist. However, the original article indicates that the content only applies to InstallScript projects (MSI projects do not have script defined folders).
In regards to the Component functions, most of these functions should have a Feature equivalent by replacing 'Component' in the function name with 'Feature' (note this change was made around the DevStudio 9 release); mappings from old to new function names can be found in the article 'Script Changes: Lexicon Conversion'. In practice, for InstallScript projects, Component and Feature functions are the same and are just aliases for each other (with the exception of Feature functions added after this semantic change was made). This being the case, the help article's use of ComponentSetTarget should not cause any issues for setting a target path at runtime.
If any feature functions are used with MSI projects (Basic MSI, InstallScript MSI), the Feature functions must be used as no equivalent Component functions exist. However, the original article indicates that the content only applies to InstallScript projects (MSI projects do not have script defined folders).
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)