oak777 Posted March 28, 2008 Posted March 28, 2008 this is my RunOnceEx.cmd content:-mdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "WinRar" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\apps\winrar\winrar.exe /s" /fREG ADD %KEY%\015 /VE /D "Daemon Tools" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\apps\DaemonTools\daemon.exe" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\apps\DaemonTools\sptd.exe add /q" /fREG ADD %KEY%\020 /VE /D "Msn Live Messenger 8" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\apps\msn\msn.exe" /fREG ADD %KEY%\025 /VE /D "DotNet Framework 2" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\apps\dotnet\dotnetfx.exe /q:a /c:\"install /l /q\"" /fREG ADD %KEY%\030 /VE /D "yahoo messenger" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\apps\yahoo\ayahoo.exe" /fREG ADD %KEY%\035 /VE /D "Winamp" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\winamp\awinamp.exe" /fREG ADD %KEY%\040 /VE /D "Adobe Flash 9" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\apps\flash\flash.exe /s" /fREG ADD %kEY%\045 /VE /D "directx March2008" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\apps\dx\dx_r_march2008.exe" /fREG ADD %KEY%\050 /VE /D "Java Virtual Machine" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\apps\java\javatrig.exe /q" /fREG ADD %KEY%\055 /VE /D "K-lite Codec " /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\apps\codec\klmcp.cmd" /fREG ADD %KEY%\060 /VE /D "Real player 11"REG ADD %KEY%\060 /V 1 /D "%systemdrive%\apps\real\real.exe -s" /fREG ADD %KEY%\065 /VE /D "Symantec AV Corp 10.1.5" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\apps\sav\sa.msi /quiet /passive /qn /norestart REBOOT=ReallySuppress" /fREG ADD %KEY%\070 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fEXIT=====everything is installed but windows live messenger and k-lite codecs , can u help me?
gunsmokingman Posted March 28, 2008 Posted March 28, 2008 I would check to make sure the path is correct for messenger.As to the klite, you have it install from a cmd, there could bea problem with that.
oak777 Posted March 28, 2008 Author Posted March 28, 2008 i make folder on c:\apps\codec and c:\apps\msn andi copy files to it , i execute the command and everything works fine, when i make unattended installation there is hard disk activity but i find nothing when windows starts.
Smiley357 Posted March 28, 2008 Posted March 28, 2008 What happens when you type this in the command prompt? C:\apps\yahoo\ayahoo.exe /f If nothing happens type C:\apps\yahoo\ayahoo.exe /? and see what switches are given.Also, there is an "a" infront of yahoo.exe is that correct? I have never installed yahoo so dont know what the exact name is for the exe.
oak777 Posted March 28, 2008 Author Posted March 28, 2008 ayahoo.exe is a file i have made with a tool which would install yahoo silently and it works great when i call it from the command line
oak777 Posted March 28, 2008 Author Posted March 28, 2008 i don't have a problem with yahoomy problem with " msn and k-lite codecs"i execute the commands at t-12 , msn was used to be installed at that time.. anyway do you think they need they system to make the first logon?
Smiley357 Posted March 28, 2008 Posted March 28, 2008 (edited) You can try putting them in a bat file. Without using the tool or having the exe to play with I guess I can’t help much. But if you say it installs from the command line then this is the same thing. This is how I would do it with a bat files.Start.bat@echo offSET KEY1="HKLM\SOFTWARE\Microsoft\Windows\Currentversion\RunOnce"REG ADD %KEY1% /f /v "INSTALL" /d "C:\apps\msn\Install.bat"Shutdown –r –t 3Install.bat@echo offC:\apps\msn\msn.exeI know this is off topic but have you ever used Trillian? Edited March 28, 2008 by Smiley357
oak777 Posted March 28, 2008 Author Posted March 28, 2008 i removed msn silent switches and installed windows on virtual machine, i got a msg " virtual memory minimum too low" then i get " can't write in registry key " wd0200" can't remember the exact name, i searched the form , that error related to dotnet unattended installation.. i think i have to shift the dotnet installation down.====no i haven't heard of that.
oak777 Posted March 29, 2008 Author Posted March 29, 2008 well i solved the problemnow i install application at the first logonnot at t12everything is fine
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