GTR Posted August 12, 2009 Posted August 12, 2009 (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 theresvcpack.inf[Version]Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600[SetupData]CatalogSubDir="\i386\SVCPACK"......[SetupHotfixesToRun]aio-runtimes.exeROExAdd.exe "CD_Burner_XP_Pro" "cdbxpsetup4.2.4.1430.exe" "/VERYSILENT_/NORESTART" "Installiere_Programme"ROExAdd.exe "DivX" "DivX7.sfx.exe" "" "Installiere_Programme".....nlite.cmdfor /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%iEXIT Edited August 12, 2009 by GTR
ilko_t Posted August 12, 2009 Posted August 12, 2009 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?
GTR Posted August 12, 2009 Author Posted August 12, 2009 (edited) roexadd will create runonceex entries in the registrythe path is \I386\SVCPACK\cdbxpsetup4.2.4.1430.exethe 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 defaultall 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 August 12, 2009 by GTR
ilko_t Posted August 12, 2009 Posted August 12, 2009 (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=10407http://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/232509edit: 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 August 12, 2009 by ilko_t
GTR Posted August 13, 2009 Author Posted August 13, 2009 (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....greetingsROExAdd_28.06.2009.zip Edited August 13, 2009 by GTR
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now