Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
Re: Can you turn off AutoRun after the first time?
Hi,
I'd have to think that because your cd was burned with the autorun file that any cd player would naturally read that file...can't think of a "block"...may I ask what the "downside" is to the cd opening up in "autoplay"?
Best Regards
cm
Originally posted by skrause:
After my customer puts the cd in for the first time I want them to be able to check a box to turn off the auto play.
Re: Can you turn off AutoRun after the first time?
The reason I want them to turn it off is because they will put the cd in many times to get files off of it. It would get really annoying to have the popup screen show everytime.
Also, an AutoPlay splash screen with your logo pops up before the one I created does. Is this a Demo Version only thing.
Re: Can you turn off AutoRun after the first time?
I don't know if it works with all versions of windows or all set-ups of CD drives, but it works for Windows 98 and 95 ...
You can avoid autoplay from auto starting your CD by holding the shift key down when inserting the CD in the drive. You have to keep it pressed long enough for the drive to read the TOC but then it won't autostart menu or whatever on the CD.
I guess you can only explain it to the reciever of your CD and whether or not they follow your instructions to avoid the autostart, is up to them.
Hope this helped ...
Re: Can you turn off AutoRun after the first time?
Just one more note to Mark's reply that you might want to think about ...
If you put a button in your menu to write to the registry and have the menu read that registry entry causing it to exit before the menu can start, you will have to consider that your end user will have to know how to edit the register to delete the entry that your button made before your menu can work on their machine again. Unless you have written a program for your end user to just run and it will fix the entry, you may end up with a lot of inqueries concerning the fact that they can't seem to get the menu to work any more.
I would stick with the shift key myself; nothing really to screw up by holding in the shift key ...
Re: Can you turn off AutoRun after the first time?
Hi,
I would not recommend turning off a users autorun feature because other CDs would not autorun.
1) On PROJECT STARTUP, have a READ FROM REGISTRY action. Use these settings:
Name: %RegVar%
Default: FALSE
Main Key: HKEY_CLASSES_ROOT
Sub Key: Your Product Name
Value Name: Viewed
And Check TRUE if Exists.
2) On PROJECT STARTUP, have a MODIFY REGISTRY action. Use these settings:
Registry Action: Create Key
Main Key: HKEY_CLASSES_ROOT
Sub Key: Your Product Name
Name: Viewed
Type: REG_SZ
Add a Boolean Condition: “%RegVar% = “FALSE”
3) On PROJECT STARTUP, have a CLOSE/EXIT action. Give it the Boolean Condition, make it: %RegVar% = True.
Note that you do not have to have the first action on PROJECT STARTUP, you could have it associated to a button, or a YES/NO dialog, or whatever event you choose. If you do decide to move it then, simply get rid of the Boolean Condition associated with the second action.
mark.
MSI Factory The Next Generation Intelligent Setup Builder
Comment