Jump to content

Recommended Posts

Posted

I got very suprice trobol my RunOnceex work but i do not see them

should be like this

wasz1.jpg

But i see only blue screan

asa1.jpg

Programs do install good.

maby somebody can helo me THX


Posted

Ensure you are using the RunOnceEx key in the registry, as using the RunOnce key would have that effect.

Posted

THX MHz but you can explain me litle more here is my RunOnceEX.cmd

cmdow @ /HID
@echo off



for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi


REG ADD %KEY%\010 /VE /D "Open WPI" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\GROM\WPI\wpi.exe" /f

EXIT

In other system (difrend lenguage) i have some but this work good

Posted

you're missing the title

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Programs" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\mpc.exe" /f

REG ADD %KEY%\005 /V 2 /D "%systemdrive%\Install\ccsetup.exe /S" /f

REG ADD %KEY%\005 /V 3 /D "%systemdrive%\Install\oodefrag.exe" /f

REG ADD %KEY%\005 /V 4 /D "%systemdrive%\Install\7zSetup.exe" /f

Posted (edited)

Now i got my RunOnceEx like this

cmdow @ /HID
@echo off

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Instalowanie Programow" /f


for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi



REG ADD %KEY%\010 /VE /D "Open WPI" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\GROM\WPI\wpi.exe" /f

but i do not see instalation sorry.

Do not open box where you can see progres instalation.

Programs and .vbs script work and do instalation only i do not see progres.

THX for good answer

Yurek3

Edited by Yurek3
Posted

I thinking i got trobol in my folder i386 flile cnd.exe or cmdow.exe is not good.

Maby Antivirus do some not good for thisone file.

I'm not shure

Posted

Yurek3,

That RunOnceEx.cmd only executes WPI.exe. Your problem is after WPI selection is complete and how the installations are handled. The installations are perhaps executed directly from WPI and the config files or are using the registry. The WPI forum may have some idea of method of operation used.

Posted

I do not think so WPI do this in other instalation (othet lenguage0 all is some and work good

my cmlines file

[COMMANDS]

"bucio.cmd"
"REGEDIT /S Royale5.reg"


"REGEDIT /S RegTweaks.reg"

"REGEDIT /S Quicklaunch.reg"

"cscript cmdlines.vbs"

"RunOnceEx.cmd"

but i wil try your idea ,skip Wpi and i will see work script from cmlines.txt or not

THX for answer

Posted

i didnt understand....if WPI is executed..then wht is the role of its in this installation? if u want to install progs. via runonceex then why u put WPI? it is not showing in this screen!!

sorry i may be wrong..caz i havent used WPI from many months! so i dont know its functionality is changed or what?

another reason may be your COMPRESS command is bad? ( may be )

might be it wasnt executed properly..thts y installation is on hold as ur command hasnt executed yet!

Posted (edited)

Instalation programs in WPi is much bether of regular RunonceEx ,you can see progres instalation and more functions.

I did try instalation i VM no WPI

cmlines.txt

[COMMANDS]

"cscript cmdlines.vbs"
"regedit /s Royale5.reg"

Looks is like this

saw1.jpg

but should be

wasz1.jpg

This is script RougeSpear see here http://www.msfn.org/board/index.php?showtopic=71890

BTW amit_talkin you know directory i386 this is yours, you did der some suprice functions

I know was long time ago, but maby you remember whot you did.

i very like your job is nice ,rezotution before T-39 did very suprice me and more.

THX for your and other guys answer

Yurek3

Edited by Yurek3
Posted

I did try other i386 directory and all wos good only thisone did do not work (sorry all work but i can do see RunOnceEx box ,no progers instalation.)

Maby somebody nows whot file can do this sytuation.

I thinking i do not havent in i386 some file whot do cooperation in Cmdow in RunOnceEX.

Somebody can help me and expline o will very glad.

Posted
you're missing the title

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

I agree. If no title is given, the whole process will continue normally,

except that you won't see a progress window.

This is why MHz thought that you used RunOnce key instead of RunOnceEx.

RunOnce gives no progress window.

What I see (I could be wrong) is that you check whether you added a title.

Also, I don't know whether the word "TITLE" should be translated into your language.

Posted (edited)

Language it is english

my cmlines.txt looks lkie this

[COMMANDS]

"bucio.cmd"
"REGEDIT /S Royale5.reg"
"REGEDIT /S RegTweaks.reg"
"cscript cmdlines.vbs"

i skip do not use now RunOnceEx and troubul got some All work but i do not see progres window.

i do use other i386 direcrory all work good i see window.

why i thinking some file is broukup or not existing in i386 directory.

Edited by Yurek3

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