elmatadorbr Posted May 12, 2008 Posted May 12, 2008 (edited) Hi guys!I'm new on unattend install, and i having some problems...i get the idea about driverpacks, updates, themes, tweaks, etc...but the apps autoinstall are making me nuts!! I made some installations with autoit, others with silent switches, and about this everything is ok. But, why the script aren't working? It shows only a command prompt with a syntax error for every line:(RunOnceEx Method, huh?)cmdow @ /HID@Echo OffFOR %%i IN (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 %%i:\win51ip.SP2 SET CDROM=%%i:SET PP=%cdrom%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Instalando Programas" /fREG ADD %KEY%\000 /VE /D "WinRAR" /fREG ADD %KEY%\000 /V 1 /D "%PP%wrar370.exe /s" /fREG ADD %KEY%\001 /VE /D "Messenger 8.5" /fREG ADD %KEY%\001 /V 1 /D "%PP%WLM85.MSI" /fREG ADD %KEY%\002 /VE /D "O&O Defrag" /fREG ADD %KEY%\002 /V 1 /D "%PP%\oodefrag10pro\oodefrag.cmd" /fREG ADD %KEY%\003 /VE /D "Nero 8 Ultra Edition" /fREG ADD %KEY%\003 /V 1 /D "%PP%Nero.exe" /fREG ADD %KEY%\004 /VE /D "Picasa2" /fREG ADD %KEY%\004 /V 1 /D "%PP%\Picasa2\Picasa.cmd" /fREG ADD %KEY%\005 /VE /D "Office 2003" /fREG ADD %KEY%\005 /V 1 /D "%PP%office2003br.exe" /fREG ADD %KEY%\006 /VE /D "Flash" /fREG ADD %KEY%\006 /V 1 /D "%PP%flash.exe /silent" /fREG ADD %KEY%\007 /VE /D "Messenger Plus! Live" /fREG ADD %KEY%\007 /V 1 /D "%PP%Instalarmsgpluslive.exe" /fREG ADD %KEY%\008 /VE /D "..." /fREG ADD %KEY%\008 /V 1 /D "%PP%taskkill.exe /F /IM msnmsgr.exe" /fREG ADD %KEY%\009 /VE /D "Tweaks" /fREG ADD %KEY%\009 /V 1 /D "%PP%REGEDIT32 /s tweaks.reg" /fREG ADD %KEY%\010 /VE /D "DirectX Março 2008" /fREG ADD %KEY%\010 /V 1 /D "%PP%\directx\dxsetup /silent" /fEXITEDIT: SORRY!! posted on the wrong forum. Posting in xp forum! Edited May 12, 2008 by elmatadorbr
ajua Posted May 16, 2008 Posted May 16, 2008 make a search in this forum for FirstLogonCommands, i have posted about it before. Also, another user (sorry, i don't remember who) made a post explaining how to do it.
elmatadorbr Posted May 16, 2008 Author Posted May 16, 2008 make a search in this forum for FirstLogonCommands, i have posted about it before. Also, another user (sorry, i don't remember who) made a post explaining how to do it.Yeah, i've resolved this problem! The syntax is wrong and nlite requires i put the script on another place...Thanks a lot guys!!!!
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