Dumi Posted January 26, 2005 Share Posted January 26, 2005 I red all the instructions on the site, but still i have a problem :- after I install the unattended windows with service pack 2 and the windows starts, when the RunOnceEx.cmd should install my programs, i get an error : ---- can't find d:\ software\winiso\winiso.exe and i get this error at every aplication that should be instaled. I created the RunOnceEx.cmd and followed the instructions about %systemdrive% should be replaced with %CDROM% like this :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:IF EXIST T:\CD.txt set CDROM=T:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-REG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\ daemon.exe /qn /Reboot=SuppressREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe/verysilent EXITNow, the problem is that I created the cmdlines.txt in the $OEM$ folders and I put the CD.txt in XPCD.So , I make the windows cd and I install it with virtual pc from my real cdrom.I didn't use virtual cd-roms in Daemon.After the install and the error, I search in My computer and i find my hard drive : Cand my cd-rom , with the windows xp in it, explore and i find D:\Software\winisoSo my question is : Why doesn't it work????What have I done wrong? Please help me.I think the switches are wright, because I found them in this forum.So , I'm crying for help : Please heeeelllpppp meeeeee!!!!!!!!.... Link to comment Share on other sites More sharing options...
Dahi Posted January 26, 2005 Share Posted January 26, 2005 Please use the Code button when you paste in your RunOnceEx.cmd to make it easier to read in future.You are missing " /f at the end of some of your REG lines.Also the Daemon tools folder has a space in it so you need to surround it with quotes.REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /fREG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "\"%CDROM%\Software\Daemon tools\daemon.exe\" /qn /Reboot=Suppress" /fEdit: corrected quotesYou also have a space in front of daemon.exe Link to comment Share on other sites More sharing options...
keytotime Posted January 26, 2005 Share Posted January 26, 2005 Also try posting more descriptive post title. Such as problem with RunOnceEx.cmd. Link to comment Share on other sites More sharing options...
dumi7 Posted January 26, 2005 Share Posted January 26, 2005 I red all the instructions on the site, but still i have a problem :- after I install the unattended windows with service pack 2 and the windows starts, when the RunOnceEx.cmd should install my programs, i get an error : ---- can't find d:\ software\winiso\winiso.exe and i get this error at every aplication that should be instaled. I created the RunOnceEx.cmd and followed the instructions about %systemdrive% should be replaced with %CDROM% like this :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:IF EXIST T:\CD.txt set CDROM=T:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-REG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\ daemon.exe /qn /Reboot=SuppressREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe/verysilent EXITNow, the problem is that I created the cmdlines.txt in the $OEM$ folders and I put the CD.txt in XPCD.So , I make the windows cd and I install it with virtual pc from my real cdrom.I didn't use virtual cd-roms in Daemon.After the install and the error, I search in My computer and i find my hard drive : Cand my cd-rom , with the windows xp in it, explore and i find D:\Software\winisoSo my question is : Why doesn't it work????What have I done wrong? Please help me.I think the switches are wright, because I found them in this forum.So , I'm crying for help : Please heeeelllpppp meeeeee!!!!!!!!.... I red all the instructions on the site, but still i have a problem :- after I install the unattended windows with service pack 2 and the windows starts, when the RunOnceEx.cmd should install my programs, i get an error : ---- can't find d:\ software\winiso\winiso.exe and i get this error at every aplication that should be instaled. I created the RunOnceEx.cmd and followed the instructions about %systemdrive% should be replaced with %CDROM% like this :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:IF EXIST T:\CD.txt set CDROM=T:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-REG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\ daemon.exe /qn /Reboot=SuppressREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe/verysilent EXITNow, the problem is that I created the cmdlines.txt in the $OEM$ folders and I put the CD.txt in XPCD.So , I make the windows cd and I install it with virtual pc from my real cdrom.I didn't use virtual cd-roms in Daemon.After the install and the error, I search in My computer and i find my hard drive : Cand my cd-rom , with the windows xp in it, explore and i find D:\Software\winisoSo my question is : Why doesn't it work????What have I done wrong? Please help me.I think the switches are wright, because I found them in this forum.So , I'm crying for help : Please heeeelllpppp meeeeee!!!!!!!!.... Link to comment Share on other sites More sharing options...
Astalavista Posted January 26, 2005 Share Posted January 26, 2005 REG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /fREG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\daemon.exe /qn /Reboot=Suppress" /fREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe /verysilent" /fdelete this... IF 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:IF EXIST T:\CD.txt set CDROM=T:replace with thisfor %%i in (C 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: Link to comment Share on other sites More sharing options...
Nologic Posted January 26, 2005 Share Posted January 26, 2005 Also missing a space between the exe and the switch for spykiller. Link to comment Share on other sites More sharing options...
dumi7 Posted January 26, 2005 Share Posted January 26, 2005 I red all the instructions on the site, but still i have a problem :- after I install the unattended windows with service pack 2 and the windows starts, when the RunOnceEx.cmd should install my programs, i get an error : ---- can't find d:\ software\winiso\winiso.exe and i get this error at every aplication that should be instaled. I created the RunOnceEx.cmd and followed the instructions about %systemdrive% should be replaced with %CDROM% like this :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:IF EXIST T:\CD.txt set CDROM=T:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-REG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\ daemon.exe /qn /Reboot=SuppressREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe/verysilent EXITNow, the problem is that I created the cmdlines.txt in the $OEM$ folders and I put the CD.txt in XPCD.So , I make the windows cd and I install it with virtual pc from my real cdrom.I didn't use virtual cd-roms in Daemon.After the install and the error, I search in My computer and i find my hard drive : Cand my cd-rom , with the windows xp in it, explore and i find D:\Software\winisoSo my question is : Why doesn't it work????What have I done wrong? Please help me.I think the switches are wright, because I found them in this forum.So , I'm crying for help : Please heeeelllpppp meeeeee!!!!!!!!.... After I' ve seen your sugesstions, I tried to modify and the final result was :[cmdow @ /HID@echo offfor %%i in (C 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\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /fREG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\daemon.exe /qn /Reboot=Suppress" /fREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe /verysilent" /fEXIT]and still no luck... ....This time I't didn't specify the full path. The error was like this : ---- Could not find \Software\Winiso\WINISO53_pmp4.exe and so an for every aplicattion. I really don't know what's wrong. I even tried with start.cmd and GuiRunOnce in win.sif and still no luck. Has someone any idea of what's wrong??Please tell me. I've search the forum, but I couldn't find the same error anywhere.Help!!......... Link to comment Share on other sites More sharing options...
Nologic Posted January 26, 2005 Share Posted January 26, 2005 Question do you have the "WIN51" file at the root of your CD...or CD.txt that you listed prior? 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