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
- :
- Install Sequence..
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
‎Sep 18, 2008
03:40 AM
Install Sequence..
Hi,
In my code I've same custom being called twice once in UI Seq. and then in Exec Seq.
How can i check through code about running seq, it is UI or Exec??
Regards,
Mayank
In my code I've same custom being called twice once in UI Seq. and then in Exec Seq.
How can i check through code about running seq, it is UI or Exec??
Regards,
Mayank
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
10:45 AM
You can determine some stages through MsiGetMode(), such as whether you are running in deferred execution, rollback, or commit. I'm not sure if it's possible to differentiate immediate execution of the execute and UI sequences though.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
12:04 PM
As an aside, I've never actually had a reason to do this though. You can either schedule the CA to run only once ( so full UI it'll run during the UI and silent install it'll run in the exec ).
I'm curious what your CA is trying to do that would require you to actually run it twice and need to know the context that it's running in.
I'm curious what your CA is trying to do that would require you to actually run it twice and need to know the context that it's running in.