Sign in to follow this  
Followers 0
vegaslaptop

Continue After Reboot

7 posts in this topic

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

Share this post


Link to post
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!

Share this post


Link to post
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


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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.

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0