|
#1
|
|||
|
|||
|
Terminate setup if specific application is running?
Can I pre-check if specific application is running without writing custom action?
If custom action is the only one way - how do I wire it up to terminate installation? The help section on "Terminate Installation" action is way too short and does not have any samples... Alex |
|
#2
|
||||
|
||||
|
An easier way to do this would be to use the bootstrapper, and script it in Lua. The bootstrapper has the ability to check for other processes and window handles, so you could easily make the launching of the MSI conditional on that information.
As for doing it without the bootstrapper, I think you'd need to use a custom action of some kind to detect whether the target application is running (I don't know if there is any built-in mechanism to do this in MSI, so it would probably need to be done using a DLL or some VB script or something). To exit the installation, you would add a Terminate Installation action and sequence it after your custom "app detection" action with a condition based on the result of that "app detection" action.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
Quote:
Thank you |
|
#4
|
||||
|
||||
|
See the following actions (under "Action Reference") in the IRMakeBootStrap.chm help file:
Application.Exit System.EnumerateProcesses Window.EnumerateProcesses Window.EnumerateTitles The Scripting Guide chapters will be useful as well. The default bootstrap scripts are located in the Bootstrap\Data subfolder (e.g. Bootstrap\Data\default_embed_setup.lua) and can be read using a text editor. (Note: do not modify the default files, make a copy first.)
__________________
--[[ Indigo Rose Software Developer ]] |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Setup Factory and VS 2005 | vazir786 | Setup Factory 7.0 Discussion | 4 | 01-13-2006 09:47 PM |
| New Features in Setup Factory 7.0 | Ted Sullivan | Setup Factory 7.0 Discussion | 0 | 08-12-2004 01:13 PM |
| HOWTO: Distribute an AutoPlay Application with Setup Factory 6.0 | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-25-2002 03:33 PM |
| HOWTO: Make an AutoPlay Application Expire | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-09-2002 11:10 AM |
All times are GMT -6. The time now is 09:46 PM.









Linear Mode

