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
- :
- Determine current sequence with InstallScript
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
May 28, 2008
11:01 AM
Determine current sequence with InstallScript
Dear all!
I'm desperately looking for a way to determine the current sequence with InstallScript.
Is there a property which i could query to find out whether the InstallScript was run during UI- or Execution Sequence?
Thanks in advance for your help!
Michael
I'm desperately looking for a way to determine the current sequence with InstallScript.
Is there a property which i could query to find out whether the InstallScript was run during UI- or Execution Sequence?
Thanks in advance for your help!
Michael
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 28, 2008
12:50 PM
I think MsiGetMode will help you distinguish immediate from deferred execution, for example, but offhand I can't think of distinguishing the UI sequence from Execute sequence at run time.
Perhaps add a set-property custom action to the beginning of the UI and Execute sequences, each setting a custom private property (in_ui_sequence and in_execute_sequence, for example), and calling MsiGetProperty or MsiEvaluateCondition from InstallScript to see which is defined?
Perhaps add a set-property custom action to the beginning of the UI and Execute sequences, each setting a custom private property (in_ui_sequence and in_execute_sequence, for example), and calling MsiGetProperty or MsiEvaluateCondition from InstallScript to see which is defined?
