cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Brandon_Lowe
Level 6

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
Labels (1)
0 Kudos
(2) Replies
TsungH
Level 12

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.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos