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
- :
- How do I use the property table at the end of an 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
‎Dec 13, 2011
03:44 PM
How do I use the property table at the end of an installation?
I have an install I'm working on that collects some information before the copy of the files takes place. I'm storing this information in properties. I also have some hard coded info I'm putting in properties. This information is used by an installscript custom action at the end of the install.
The problem I'm having is that either the properties are blank at the end or I cannot use MsiGetProperty at the end.
Whenever I try to get the info it comes back blank.
If I take the same custom action and call it before the copy takes place it gets all the info.
So at some point do the properties get cleared out? Can this be stopped? When does it happen?
Or does MsiGetProperty stop working?
Does the handle to the installer change?
Thanks
Brandon
The problem I'm having is that either the properties are blank at the end or I cannot use MsiGetProperty at the end.
Whenever I try to get the info it comes back blank.
If I take the same custom action and call it before the copy takes place it gets all the info.
So at some point do the properties get cleared out? Can this be stopped? When does it happen?
Or does MsiGetProperty stop working?
Does the handle to the installer change?
Thanks
Brandon
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2011
06:00 PM
If by "at the end of the install", you meant Deferred Execute Sequence, you will find Obtaining Context Information for Deferred Execution Custom Actions useful.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 14, 2011
12:16 PM
As another angle on this, most information doesn't flow back from the execute sequence to the UI sequence. So if you're setting the property in the execute sequence, you will not see that value in a later query in the UI sequence.