Jump to content

Recommended Posts

Posted (edited)

Hi,

had a few problems with setup from usb key (t-13) but could fix it.

but one big problem still remains.

all addons (7-zip, cd-burnerxp) created with roexadd and run AFTER t-13 (before first logon) can't be installed.

i get the screen "installing components" with the list of the addons but i get the error for each program -> xxx.setup.exe not found.

all addons in t-13 are succesfully installed.

so i tried to copy i386 a second time directly to the usb stick (Driver:\i386) and now it works.

so the path for svcpack is for t-13 ok but not for runonceex??

hope somebody can help me there

svcpack.inf

[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\SVCPACK"
......
[SetupHotfixesToRun]
aio-runtimes.exe
ROExAdd.exe "CD_Burner_XP_Pro" "cdbxpsetup4.2.4.1430.exe" "/VERYSILENT_/NORESTART" "Installiere_Programme"
ROExAdd.exe "DivX" "DivX7.sfx.exe" "" "Installiere_Programme"
.....

nlite.cmd

for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
EXIT

Edited by GTR

Posted

Have you tried changing

[SetupData]
CatalogSubDir="\i386\SVCPACK"

to

[SetupData]
CatalogSubDir="\$WIN_NT$.~LS\i386\SVCPACK"

I can't find any references in Google for ROExAdd.exe, can you provide details?

Could it be seeking in hardcoded paths for the files in question, "cdbxpsetup4.2.4.1430.exe" for example?

Posted (edited)

roexadd will create runonceex entries in the registry

the path is \I386\SVCPACK\cdbxpsetup4.2.4.1430.exe

the path in the svcpack.inf is correct. roexadd will run without a problem.

e.g. ROExAdd.exe "DivX" "DivX7.sfx.exe" "" "Installiere_Programme"

results in something like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]
"TITLE"="Installiere Programme"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001]
@="DivX"
"1"="\\DivX7.sfx.exe "

so there is no path given for setup files and it seems runonceex try to find it on sourcedrive:\i386\svcpack\ as default

all of the new addons from german nlite are create with runonceex entries (roexadd)

http://www.german-winlite.de/wbb/index.php...p;threadID=1674

Edited by GTR
Posted (edited)

So you use svcpack just to add entries to RunOnceEx, using ROExAdd.exe.

I have no idea where RunOnceEx function defaults to when searching for an application to be started, especially in case of Setup from HD-like media, but what I'd do unless someone else comes with a better solution:

- use paths to the programs, there are many available ways, this may help:

http://www.msfn.org/board/index.php?showtopic=10407

http://msdn.microsoft.com/en-us/library/ms790174.aspx

- troubleshoot the setup process, there are number of log files in Windows directory, including an option RunOnceEx to write to a log file:

http://support.microsoft.com/kb/232509

edit: You may also try, although unreliable in the cases when USB stick doesn't get U: letter :

ROExAdd.exe "DivX" "U:\$WIN_NT$.~LS\I386\scvpack\DivX7.sfx.exe" "" "Installiere_Programme"

Or simpler- use put those programs in $OEM$\$1\Install for example and amend :

ROExAdd.exe "DivX" "%SystemDrive%\Install\DivX7.sfx.exe" "" "Installiere_Programme"

If %SystemDrive% doesn't work- use the referenced above path variables. Clean up \Install directory after Setup has completed if you wish.

Edited by ilko_t
Posted (edited)

thanks for your help. i really enjoy the comunity here.

i solved the problem now myself.

how should roexadd work:

it will take the path where roexadd is located (i386/svcpack/roexadd) and will add all necessary information to runonceex in the registry so runonceex.cmd is no longer needed.

(ROExAdd.exe "%NAME%" "%SETUPFILE%" "%PARAMETER%" "%TITEL%")

but it seems the program was bugged. i got a new version an everything is fine (replaced roexadd.exe on the stick).

the new roexadd.exe is attached with sourcecode....

greetings

ROExAdd_28.06.2009.zip

Edited by GTR

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