Indigo Rose Software

Go Back   Indigo Rose Software Forums > Old Versions > AutoPlay Menu Studio 3.0

 
 
Thread Tools Display Modes
  #1  
Old 08-10-2000
user user is offline
Forum Member
 
Join Date: Aug 2000
Posts: 8
Running an exe Installed by Setup Factory

I am creating a menu which autoplays from a CD with the following options:
1) Install Software
2) Play software

When they click on install software, it runs the setup program created with setup factory off of the cd, which works perfectly using the %SrcDrv% variable. What I want to do is that when they click on "Play software" it launches an executable that Setup Factory installs in the %SCFolder%. Is there anyway to tell Autoplay to run the program located in whatever folder the software was installed into? Or possibly to tell it to look for a particular file and play it when it finds it?


Also, is there anyway to force them to install first before being able to play it? If they play without installing it will surely give them a message saying that it can't find the file its looking for.

Thank you
  #2  
Old 08-10-2000
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
Re: Running an exe Installed by Setup Factory

Hi,
What you should do is write the path that the user installs to into an INI file or into a registry, but I think that the registry is a better choice. So what you would want to do is store %AppDir% (which is where the users installs) into the registry, then use AutoPlay to read that key out of the registry. You will have to be careful though, making sure that AutoPlay reads the newest variable from the registry. So after the install you will have to update your menu somehow.
In order to force the install before the play what you could do is hide your PLAY button if it does not find the registry key that SUF installs.
I hope that this helps.

mark.
__________________
MSI Factory The Next Generation Intelligent Setup Builder
  #3  
Old 08-10-2000
user user is offline
Forum Member
 
Join Date: Aug 2000
Posts: 8
Re: Running an exe Installed by Setup Factory

Hi Mark,

Thank you for your reply. I'm having a problem though. I am very unfamiliar with adding things to the registry. WHen you say that I need to store %AppDir% in the registry, do I just choose "Create Key" from the System Editor, and type "%AppDir%" in the sub key?

You also mentioned that I will need to update my menu somehow because Autoplay needs to view the newest record in the registry. Do you have any suggestions as to how I would go about doing this?

Thank you.
  #4  
Old 08-11-2000
user user is offline
Forum Member
 
Join Date: Aug 2000
Posts: 8
Re: Running an exe Installed by Setup Factory

Hi Mark,

I just wanted to say that you are a God. Thank you so much for your help. I know it must be frustrating dealing with dummy questions like mine.

I also wanted to say that your software is absolutely beautiful. I'm am an absolute nut with no knowledge of this kind of stuff. Even the thought of looking at the registry was making me mad. But this program actually made it not only doable, but actually simple.

http://www.indigorose.com/ubb/images/icons/smile.gifThanks again and take care, http://www.indigorose.com/ubb/images/icons/smile.gif
Gary
 

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 Off
HTML code is On



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