Jump to content

Continue After Reboot


Recommended Posts

Hello everyone,

I am wokring on a Norton Systemworks Premier 2005 Unattended Installation and I was wondering if there is a way to restart my AutoIT script after the initial installation restart of NSP 2005? Something that will maybe use the Shutdown Event Tracker? Any ideas appreciated. :whistle:

Thanks

Link to comment
Share on other sites

What is the RunOnce key? I did a search in the help file could not find it. Is it a function?

Thanks for the fast response!

<{POST_SNAPBACK}>

It is a registry key, read up on RegWrite


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

it's a registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

you have create a value in the RunOnce example

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\MyApp,"REG_SZ","c:\test\myapp.exe")

This is not the only solution to your problem

I have a script that creates a bat in the all user start up, the bat starts a script that then deletes the bat and continues on.

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...