Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Posts
    8

    Grin Reboot system on Serial Number Verification Failure

    Certain portions of our install program do not require special access where as some parts do. When a user tries to run one of the special areas and doesn't have a proper serial number, I need the system to reboot.

    If the correct serial number is entered, a reboot is not necessary.

    However it will automatically abort if it is invalid and leaves the machine in an unwanted state (administrator). Does anyone know how I can force a reboot.

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Check out the Batch files here:
    http://www.robvanderwoude.com/rundll.html

  3. #3
    Join Date
    Oct 2003
    Location
    Manchester NH
    Posts
    13
    Although I haven't tried to force a reboot when aborting, I do have the user reboot (Yuke I hate it but it is necessary) after completing an install by setting the %DoReboot% variable to true. I do use a dialog to allow them to delay the reboot until later with a stern waring that this must be done as some point...

    But I would image you could do something similar to accomplish what you need.

    Just a thought,
    Barbara

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    This is a link to a thread for AMS, but I wrote a DLL that will reboot the computer for you. Its simple enough to.

    Reboot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts