Jump to content

RunOnce


Recommended Posts

Hello again,

I know its a kind newbie question, but how can I run runonce in Windows 7?

I know there's others ways to install softwares in Windows setup, but Im looking for some way to properly text AutoIt files without having to use VMWare or hundreds of time wasters setups - RunOnce would be perfect.

I know it can be done, since nForce drivers use this method sometimes.

Tks! :)

Link to comment
Share on other sites


exactly like has been done since XP


SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "RunOnceEx - Testing Applications" /f
REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY%\1001 /VE /D "Avast Antivirus 5.0 free" /f
REG ADD %KEY%\1001 /V 101 /D "REGEDIT /S D:\APPS\Avast_Antivirus_5.x_Free\Avast_Antivirus_5.x_Free1.reg" /f
REG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\Avast_Antivirus_5.x_Free\setup_av_free.exe /SP- /VERYSILENT /NORESTART" /f
REG ADD %KEY%\1001 /V 103 /D "CMD /C DEL \"%SystemDrive%\Users\Public\Desktop\avast! Free Antivirus.lnk\"" /f

rundll32.exe iernonce.dll,RunOnceExProcess

Edited by maxXPsoft
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
  • Recently Browsing   0 members

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