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
- :
- Re: How to get Package Information from Suite Installer during installation?
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
‎Aug 04, 2017
12:46 AM
How to get Package Information from Suite Installer during installation?
Hello friends,
I have a situation where i need to know the name of the package that is being installed.
Situation: During Package installation, if any particular package installation fails, then we need to some how get the Package name [preferably in any property], to display an error message "Failed installing [Package 1]:" in the Installation Completed screen
How can i get the Package name in any property which i can use in Installscript? Is there any default property which keeps track of this information.
Please suggest.
Thanks
I have a situation where i need to know the name of the package that is being installed.
Situation: During Package installation, if any particular package installation fails, then we need to some how get the Package name [preferably in any property], to display an error message "Failed installing [Package 1]:
How can i get the Package name in any property which i can use in Installscript? Is there any default property which keeps track of this information.
Please suggest.
Thanks
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2017
09:10 AM
I would set a property (PackageName) for each package using 'Events' at the bottom of of the 'Common' screen on the 'Packages' page.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2017
09:42 AM
rguggisberg wrote:
I would set a property (PackageName) for each package using 'Events' at the bottom of of the 'Common' screen on the 'Packages' page.
Thanks for your response. We thought of this idea initially but discarded it as in my scenario, i need to do it for 89 packages, in that case it will be bit tough...
For smaller suites, its a good soln.
Any other suggestions, people?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2017
09:44 AM
Can you use the text string that you probably have for each packages display name?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2017
09:59 AM
rguggisberg wrote:
Can you use the text string that you probably have for each packages display name?
Okay, And how can i use the text string? i mean what should be the logic. The text string will be holding the package name, how i will come to know which package has failed?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2017
10:15 AM
ok... I see your point. You are still back at having to do that for all 89 projects. 😞
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2017
05:28 AM
I haven't tried this myself but IS 2015/2016 have several objects available for inspection which *may* help you resolve this. Search the online help for Object Reference for Expressions in Advanced UI and Suite/Advanced UI Projects.
In particular there is a Parcel Object which has a member called Name which may be what you're after. You'll need the package GUID to get this information though.
In particular there is a Parcel Object which has a member called Name which may be what you're after. You'll need the package GUID to get this information though.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)