playahater Posted November 7, 2004 Share Posted November 7, 2004 OK .. I have a few problems ... BIG problems ... I have made my own UI and everything was going well untill XP logs on for the first time and when it should start RunOnceEx.cmd and start installing the apps it said to me that the path to applications and regtweak isn`t seem to be valid ..I have made an UI which installs all apps from CD and it seems that installation can`t find those applications ... i have btw followed the Unattended PDF guide and did exactly what was written about choosing the UI to install all apps from CD, and at the first install xp was searching for applications on my hdd on D partition because the first line in RunOnceEx.cmd is "IF EXIST D:\CD.txt set CDROM=D:" ... But then i have deleted the first two lines and then the first line was "IF EXIST F:\CD.txt set CDROM=F:", and off course my cd rom was F and that was OK but RunOnceEx.cmd still couldn`t install apps and registry because the paths were invalid ( "F:\ Software\Diskeeper\Diskeeper.msi" couldn`t be found ) ... i have put the "CD.txt" on cd ( as shown on the picture below ) but didn`t put anything in the file .. what did i do wrong ... ??? I used the Microsoft Virtual Machine Trial.Can anyone, PLEASE help me to solve this problem ... i have attached here the screenshot of the directories of my UI and RunOnceEx.cmd ... please help. Thanx in advance ... cmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications :::: Made By Playahater" /fREG ADD %KEY%\015 /VE /D "Diskeeper 9.0" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\diskeeper\Diskeeper.msi /QB" /fREG ADD %KEY%\020 /VE /D "Flashget 1.65" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\flashget\fgf165.exe /S" /fREG ADD %KEY%\025 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Powertoys\TweakUi.exe /qb" /fREG ADD %KEY%\030 /VE /D "WinRar 3.40" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WinRar 3.40\WinRAR.v3.40.exe /s /W" /fREG ADD %KEY%\040 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\wmp10\mp10setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\045 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi" /fREG ADD %KEY%\050 /VE /D "Adobe Acrobat Reader 6.01" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\Adobe Reader\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""REG ADD %KEY%\050 /VE /D "IrfanView 3.91 with Plugins" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\iview391\iview391.exe /silent /desktop=0 /group=1 /allusers=0 /assoc=1 /fREG ADD %KEY%\050 /V 2 /D "%CDROM%\Software\iview391\IrfanView-all_plugins.exe /silent" /fREG ADD %KEY%\060 /VE /D "Winamp 5.05 Pro Full" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\Software\winamp\Winamp.msi\" /qn Xname="xxxxxxxxxxxxx" Xkey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 \" /fREG DELETE=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /fREG ADD %KEY%\100 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\100 /V 1 /D "REGEDIT /S %CDROM%\Software\RegTweaks.reg" /fREG ADD %KEY%\110 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\110 /V 1 /D "%CDROM%\Software\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
Alanoll Posted November 7, 2004 Share Posted November 7, 2004 have you tried REMOVING the trailing spaced after assing CDROM?you have SET CDROM=D:_ with the _ representing the SPACE Link to comment Share on other sites More sharing options...
Vadikan Posted November 7, 2004 Share Posted November 7, 2004 Try an alternative script of setting %CDROM%. FOR %%d 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 %%d\CD.txt SET CDROM=%%dBTW, you don't have to go through the whole unattended installation process in order to test RunOnceEx. Just run RunOnceEx.cmd on your virtual machine and reboot. Link to comment Share on other sites More sharing options...
playahater Posted November 7, 2004 Author Share Posted November 7, 2004 Wooohoooo ... Thanx a LOT ... I`ll check out the combination with VAD`s code ... I think that everything will be OK this time ... I`ll post reply when i try out ....Thanx ... Link to comment Share on other sites More sharing options...
maxXPsoft Posted November 7, 2004 Share Posted November 7, 2004 after assingAlanollI didn't know you spoke that way, Link to comment Share on other sites More sharing options...
playahater Posted November 10, 2004 Author Share Posted November 10, 2004 OK .. i have tried to install my Unattended XP using the line for cd rom and the setup is displaying me every time that the "asms" file is missing ...I repeat that I didn`t change anything except the cd rom line in RunOneEx.cmd ...Try an alternative script of setting %CDROM%. FOR %%d 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 %%d\CD.txt SET CDROM=%%d BTW, you don't have to go through the whole unattended installation process in order to test RunOnceEx. Just run RunOnceEx.cmd on your virtual machine and reboot.Anyone have any idea how to solve this problem ..Setup was running OK untill i did that ...What did I do wrong ??? Link to comment Share on other sites More sharing options...
JPamplin Posted November 10, 2004 Share Posted November 10, 2004 Hmm. OK, I'm nit-picking here, but wouldn't a better way to writeFOR %%d 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 %%d\CD.txt SET CDROM=%%dbe something like this, which moves the colon into the IF EXIST...FOR %%d 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 %%d:\CD.txt SET CDROM=%%d:I dunno if that would work, but I always try to write really tight code.Just my 2 cents,JP Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted November 10, 2004 Share Posted November 10, 2004 asms error is common, you have used nlite i'm sure. just rebuilt your cd and everything will be ok Link to comment Share on other sites More sharing options...
mazin Posted November 11, 2004 Share Posted November 11, 2004 Issues to be fixed:1 == Adobe Acrobat Reader 6.01 string is wrong.2 == These keys:REG ADD %KEY%\050 /VE /D "IrfanView 3.91 with Plugins" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\iview391\iview391.exe /silent /desktop=0 /group=1 /allusers=0 /assoc=1 /fREG ADD %KEY%\050 /V 2 /D "%CDROM%\Software\iview391\IrfanView-all_plugins.exe /silent" /fshould be:REG ADD %KEY%\055 /VE /D "IrfanView 3.91 with Plugins" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Software\iview391\iview391.exe /silent /desktop=0 /group=1 /allusers=0 /assoc=1" /fREG ADD %KEY%\055 /V 2 /D "%CDROM%\Software\iview391\IrfanView-all_plugins.exe /silent" /f3 == Also, Winamp string has to be fixed.4 == This line:REG DELETE=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /fshould be:REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /f5 == This key:REG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi" /fShould be:REG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb" /fAlso, it's said many times on several threads that NET Framework can't be installed from a CD if the MSI is used. SFX it!6 == Is this a cracked copy of WinRAR?REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WinRar 3.40\WinRAR.v3.40.B1_Cracked.exe /s /W" /fIt, also, needs fixing because of spacing in its path! Link to comment Share on other sites More sharing options...
playahater Posted November 11, 2004 Author Share Posted November 11, 2004 Wooowww ... how many mistakes ... Ok .. i will fix all of them ... And, concerning the error .. no i dind`t use nlite .. as a matter of fact, i didn`t use any of apps for making the UI ... I`ve used the winnt.sif, command.txt and runonceex.cmd ... nothing more ... I`ll try to fix the runonceex.cmd ... to put FOR %%d 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 %%d:\CD.txt SET CDROM=%%d:I`ll fix all of these mistakes and i`ll post the result ... BIG thanx to all of YOU ... P.S. - 6 == Is this a cracked copy of WinRAR?REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WinRar 3.40\WinRAR.v3.40.B1_Cracked.exe /s /W" /fHmmmmm ... Link to comment Share on other sites More sharing options...
playahater Posted November 14, 2004 Author Share Posted November 14, 2004 Not done ... I still get the above mentioned error ...I have tried burninng my cd with lower speed, cause i have seen here in forums that that might be the solution, but I still get an error messages.I have fixed all errors from runoneex.cmd put it where it belongs and burn the cd with the lowest possible speed and ... nothing .. error again ...I don`t understand .. i didn`t, as far as I know , touch anything else except the cmd file since the last half succesful install ... ( half succesful cause apps would have not installed )I even try to locate the asms dir on the cd during the setup and nothing .. it just won`t recognize it ...Anyone has an idea ?? ... General modifications are: Integrated SATA Drivers, changed uxtheme.dl_, added a few apps and registry and that`s it ... I dind`n use any of utilities such as nlite, ktool etc. ....Pleeeeeeeeeaseeeeee help ... i don`t know what to do .. i have fuc*e* up my xp and need format C a.s.a.p. and only xp installation i have is this Unattended which btw doesn`t work ... Link to comment Share on other sites More sharing options...
Astalavista Posted November 17, 2004 Share Posted November 17, 2004 humm... sounds like one of your files or some of them has become corrupted.happened to me once before. just get a Fresh Windows XP Pro or Corp.and start from SCRATCH.... another word of advice.. invest in a CDRW mediagood luckp.s. u are not allowed to talk about pirated or cracking or any of that stuff. Link to comment Share on other sites More sharing options...
Vadikan Posted November 17, 2004 Share Posted November 17, 2004 Hmm. OK, I'm nit-picking here, but wouldn't a better way to writeFOR %%d 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 %%d\CD.txt SET CDROM=%%dbe something like this, which moves the colon into the IF EXIST...FOR %%d 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 %%d:\CD.txt SET CDROM=%%d:I dunno if that would work, but I always try to write really tight code.Just my 2 cents,JPI don't see why it shouldn't work Thanks for the tip. Link to comment Share on other sites More sharing options...
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