Announcement

Collapse
No announcement yet.

Disable AutoPlay Menu after software install.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable AutoPlay Menu after software install.

    I need to disable AutoPlay Menu after software is installed. I've read the old posts and can't get it to work.
    Obviously I'm doing something wrong. I've created a MODIFY REGISTRY action on a Mouse Click event (the Install button), and a READ FROM REGISTRY on PROJECT STARTUP.
    Please explain this again.
    After I get this working, I need to add a Mouse Click event to delete the key to allow the customer to reset, if needed.
    TIA,
    Terry

  • #2
    Re: Disable AutoPlay Menu after software install.

    Hi,

    Perhaps you could explain (in detail) what you wish to accomplish and the steps that you have taken so far in order do so.

    Outlining the actions that you have used and the parameters that you are using always contains useful information. Also try outlining what happens when you run your Menu, what gets written into the registry? What was in the registry in the beginning?

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Disable AutoPlay Menu after software install.

      Sorry if I was vague. I was tired and tend to get too wordy at times.
      We have a CD that will have an installer created with Setup Factory.
      On the Auto Play Menu there is a button linked to the installer.
      At this point, we would like the Auto Play Menu to be disabled on subsequent CD use.
      Or even BETTER - disabled on successful completion of the installer.

      I have read.....
      Topic: Can you turn off AutoRun after the first time?
      and
      Topic: Prevent Autoplay from loading more than once?

      And have tried various combinations on the theme, but I guess I'm missing the concept.
      Currently I have....

      1)Project Startup - Read from Registry.
      Name = %RegVar%
      Default = FALSE
      Main Key = HKCR
      Sub Key = AccessLaw
      Value Name = Viewed
      Type = REG_SZ
      True if Exists = checked (tried unchecked also, but no go)

      2)Text Object on Mouse Click (install) - Modify Registry
      Action = Create Key
      Main Key = HKCR
      Sub Key = AccessLaw
      Name = Viewed
      Type = REG_SZ
      Action = Overwrite

      3)Text Object on Mouse Click (enable AutoPlay) - Modify Registry
      Action = Delete Key
      Main Key = HKCR
      Sub Key = AccessLaw
      Name = Viewed
      Type = REG_SZ
      Action = Overwrite

      When install is clicked it writes the following....
      Reg export = [HKEY_CLASSES_ROOT\AccessLaw]
      When Enable AutoPlay is clicked it deletes it.
      Viewing from within Regedit....
      Name = (Default)
      Type = REG_SZ
      Data = (value not set)

      To test the compilation I created a test.iso with WinISO and mounted the image with Daemon Tools. It autoplays every time, regardless of the existance of the Reg Key.

      I hope that this is enough to go on, if not I'll gladly explain more.
      TIA,
      Terry

      Comment


      • #4
        Re: Disable AutoPlay Menu after software install.

        If you send your project file to [email protected] I can take a look if you like.

        ------------------
        Sincerely,

        Darryl Hnatiuk
        Indigo Rose Corporation

        Comment


        • #5
          Re: Disable AutoPlay Menu after software install.

          Thank You
          Just sent it.
          Please cc any reply to my email in your records.

          Thanks,
          Terry

          Comment

          Working...
          X