Indigo Rose Software
  #1  
Old 07-13-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
Stop a CustomAction from running

I need to stop a CustomAction from running.

The background is a Standalone and Network install. If I check the button for a Standalone install there are 2 folders to install to, INSTALLDIR and CommonFilesFolder. If the Network button is pressed I would like the CommonFilesFolder folder to be the same as the INSTALLDIR.

From a previous post called, Adding a Root Level Folder, I set up a CustomAction to rename CommonFilesFolder to INSTALLDIR.

I just cannot seem to figure out how to stop the CustomAction from being executed if the Network button is pressed.
Reply With Quote
  #2  
Old 07-13-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Use a condition on the custom action's component. I'm not sure on the details you're describing but it sounds like perhaps you could test whether CommonFilesFolder and INSTALLDIR are the same?
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 07-13-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
I made a mistake when setting up the CustomAction. Instead of the Scheduling being Immediate- First Sequence, I had it set as Immediate. So no matter what the CustomAction was run. So the new issue is trying to get the CustomAction to execute at all. I tried "DoAction" in the published events of a button, but no luck. I know I am missing something.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Losing Focus when TrueUpdate is running Elleah TrueUpdate 2.0 1 07-06-2005 08:07 AM
Stop MySQL Server? linhardt Setup Factory 6.0 3 06-30-2004 12:25 PM
Checking If a Particular Program is Running Desmond AutoPlay Media Studio 5.0 Examples 0 10-03-2003 02:31 PM
Determining if the user is running windows 98SE and NOT windows 98? rise4peace AutoPlay Media Studio 4.0 11 03-17-2003 03:21 AM
Prevent running of installed program cinder_blocks Setup Factory 5.0 2 04-12-2001 01:36 PM


All times are GMT -6. The time now is 09:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software