Jump to content

Recommended Posts

Posted

Try this instead!

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Inf",1,,"%11%\rundll32 setupapi,InstallHinfSection AddTasks 128 %17%\RunOnceX.inf"


Posted

:hello:

Cannot use variables expansion in text setup mode :no: This is a fact.

Now, my RunOnceX.inf:

[Version]
Signature = "$Windows NT$"

[Prepare]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Instalacion de componentes"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000020
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Inf",,,"Planificando"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Inf",1,,"rundll32 setupapi,InstallHinfSection AddTasks 128 \WINDOWS\Inf\RunOnceX.inf"

[AddTasks]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Instalacion de componentes"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\1",,,"Reproductor de Windows Media 10"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\1",1,,"%01%\mp10setup.exe /c:""setup_wm.exe /Q /R:N /DisallowSystemRestore"" /q:A"

TXTSETUP.SIF:

[SourceDisksFiles]
RunOnceX.inf = 1,,,,,,,20,0,0

[HiveInfs.Fresh]
AddReg = RunOnceX.inf,Prepare

With these settings, setup doesn't launch any error, and the RunOnce box appears.

First, apply settings in order to install Media Player 10 after first logon (like gosh' guide). But, when I logon, no setup program appears. WMP10 is not installed at all.

Please, help me with this last phase. I almost got it!

Thanks again :rolleyes:

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...