none
There is no disk in the drive. Please insert a disk into drive X:."

    Question

  • Hi Folks,

    So, I have an application, written in C#,It has an installer, which has been written to disc and run from it. After Installation is finished - it launches. But when I close this app, eject the disc, and run application again from local drive - it gives me an error:

    MediaContectNotificationWindow:appName

    There is no disk in the drive. Please insert a disk into drive "D"

    If I press "Continue" or insert a CD (even an empty one!) and press "Try Again", everything works fine.

    I have read much topics, and much appropriate approach is written here (set Error mode to SEM_FAILCRITICALERRORS): "There is no disk in the drive" in an application that doesn't require it

    But, it seems to me, it will work only during program running.

    I suppose, that there are some dependencies in registry after the first launch, which I have to clear. What should I do to resolve this problem?

    • Moved by Kee Poppy Wednesday, August 29, 2012 3:36 AM (From:Windows Presentation Foundation (WPF))
    Tuesday, August 28, 2012 11:33 AM

All replies