Indigo Rose Software
  #1  
Old 08-20-2007
gd55 gd55 is offline
Forum Member
 
Join Date: Aug 2007
Posts: 1
auto launch

Hi.
I'm new to this forum so I don't know if this item has been covered.

Is it possible to have the installed program automatically launch immediately after installation?
Reply With Quote
  #2  
Old 08-21-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
It can be done using a Custom Action. See Actions > Custom Actions on the menu. You will need to run a "Run Executable" custom action and schedule it appropriately.
Reply With Quote
  #3  
Old 08-29-2007
idrake idrake is offline
Indigo Rose Customer
 
Join Date: Aug 2007
Posts: 5
Brett, I need this too and I'm tired of noodling around. I have the right custom action, but I can't get it to run after the Finish button is clicked on the last dialog.

Do you know what the correct settings are? If I can just get over this last hurdle, I'll be buying your product. I must say, besides this frustration, it's been awesome.
Reply With Quote
  #4  
Old 08-29-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Ok, here is a step-by-step:

(this example assumes that the main program executable is in your file list and is being installed)
  1. Select Actions > Custom Actions from the menu.
  2. Add a Run Executable action
  3. Set the Run Executable properties to:
    • Settings tab
      • Location: Installed with product
      • File ID: <find the file in your project>
    • Attributes
      • ID: RunProgram
      • Scheduling: Immediate
      • Return: Async no wait
      • <do not enter any Timing entries>
  4. Click OK to accept the custom action and then OK again to get out of the Custom Actions dialog
  5. Select Project > Dialogs
  6. Select the Advanced Edit mode.
  7. In the tree, go to InstallUISequence > Install Completed Successfully
  8. Select the "ExitDialog" dialog
  9. Double-click the Finish button
  10. Select the Published Events tab
  11. Click Add to open the Published Event Properties dialog and set the properties to:
    • Event: DoAction
    • Arguments: RunProgram
    • Condition: 1
  12. Click OK
  13. Move the event above the EndDialog event
  14. Click OK until you are back out to the main screen

That should do it. I have attached a sample project file for your reference.
Attached Files
File Type: zip runprogramatendofinstall.zip (20.4 KB, 33 views)

Last edited by Lorne; 08-29-2007 at 10:14 AM. Reason: Added list formatting.
Reply With Quote
  #5  
Old 08-29-2007
idrake idrake is offline
Indigo Rose Customer
 
Join Date: Aug 2007
Posts: 5
Excellent instructions. Camtasia studio might be a huge time saver for you in the future.

I had tried just about everything except this combination of settings. I think the closest I came was having exactly what you described except for step 12!

Thanks.
Reply With Quote
  #6  
Old 09-01-2009
Saul2 Saul2 is offline
Forum Member
 
Join Date: Sep 2009
Posts: 1
Grin

I have done exactly as described by Brett and it worked wonderfully until I tried to override INSTALLDIR during installation.

I. e. I have a product being installed into c:\Program Files\MyApp\MyAppMain.exe by default. If user agrees with the default path then MyAppMain.exe is launched when he clicks Finish. But if user changes the default path to c:\Program Files\MyApp2 then installer simply exits on clicking Finish button.

I tried using "Full path with working folder" ([INSTALLDIR]\MyAppMain.exe) instead of "Installed with product" and got same behavior.

Any ideas?
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
Multi Theft Auto bule General Chat 3 02-06-2007 06:41 AM
auto proceed and auto fill HevnBoyz Setup Factory 7.0 Discussion 1 10-23-2006 10:54 AM
SF7 Auto Update - where does it go??... WillBellJr Setup Factory 7.0 Discussion 3 04-10-2006 04:55 PM
Quick Launch Folder csd214 Setup Factory 7.0 Discussion 1 01-03-2005 01:43 AM
Launch Program from C:\Program Files joey1barnes AutoPlay Media Studio 5.0 5 05-23-2004 12:49 AM


All times are GMT -6. The time now is 05:53 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