Hoje vou explicar como criar um windows com instalação automatizada usando Nlite ( Today, I explain how to create windows unatted version using Nlite)
Programas a serem baixados: (softwares to download:)
Nlite: http://www.nlite.com/
E se você quiser integrar drivers no cd pode usar uns pacotes que um cara teve o trabalho de criar e atualizar quase sempre, chama driverpacks em ( If you want integrate driver's in your cd, you can use the packages of the driverspack.net)
driverpacks: http://www.driverpacks.net/
Nesse site você encontra para pacotes para a maioria dos dispositivos ( In this site have zip package for most popular hardwares)
E baixe o Ultraiso para editar ou extrair arquivos de .ISO ( search in web the ultraiso to make and extract files of the .ISO files)
Vamos começar: ( let's begin:)
Baixe um windows que não tenha sido fuçado na internet, que seja original, há diversos nos blogspot da vida, instale o Ultraiso para extrair os arquivos, crie uma pasta na raiz do seu windows chamada xp, e extraia os arquivos do windowspara lá. ( If you not have original windows, search on web the original ISO file, open this iso in Ultraiso to extract the files to especific folder on your hardrive, exemple: C:\xp )
Ok ..
Depois de alguns minutos da extração dos arquivos (After minuts of extracted files)
Voce pode ver os seguintes arquivos e pastas (You see this folders and files)

NOTA: ( NOTE:)
A pasta $OEM , Genuine, Programas, Ultima sessao. esses arquivos não existem, estou mostrando a pasta depois de tudo pronto ( This files and folder not exist, all this files and things, is product of the final process about windows silent install).
Esta pasta $OEM foi criada pelo NLITE depois do processo concluido, ( this folder, $OEM, was created after the process completed by Nlite)
Nesta pasta contem dados sobre a instalação silenciosa, e se você optou por colocar drivers usando driverpacks, os drivers serão guardados tambem nesta pasta, gostaria de lembrar que o Nlite faz modificação tanto na pasta OEM quanto na pasta I386, exemplo, na pasta i386 se voce escolheu durante o processo do nlite instalar arquivos .cab prontos ou atualizações do windows, o nlite irá criar uma pasta para guardar esses arquivos e registrará informações dentro de outros arquivos a forma de como execultar esses arquivos como no Winnt.sif entre outros.
O nome da pasta que vao parar todos os .cab descompactados e prontos para operar, chama-se: SVCPACK. veja na figura abaixo: ( This folder contains information on the silent installation, and if you chose to put drivers using driverpacks, the drivers are also stored in this folder, I would remember that Nlite is updated in both the OEM folder in the I386 folder, example, in the i386 folder is you selected during the process of nlite install files. cab ready or updates to Windows, nlite will create a folder to save these log files and other files information in the form of these files as execultar as Winnt.sif among others. The folder name that will stop all. Cab unpacked and ready to operate, is called: SVCPACK. see in the picture below: )

Todos os arquivos listados a direita são arquivos extraidos dos .cab depois do processo finalizado do nlite, todas as funções para executar eles estão em outros arquivos modificados dentro da i386 como foi dito. meus arquivos .cab que achei prontos foram esses. há diversos na internet por ai. (All files are listed to the right of the extracted files .cab after finishing the nlite process, to perform all the functions they are in other files modified in the i386 as it was said. my. cab that I thought these were ready. there are several on the Internet there.)
Adicionados nesta parte do processo do nlite: (Added in this part of the process of nlite)

PRIMEIROS PASSOS DO NLITE: ( FIRST STEPS OF NLITE)

Escolha o idioma e click em proximo: ( Chose the language and click next )

Nesta proxima imagem ( In this next picture)

E agora, escolha os metodos que preferir, eu não escolhi instalar service pack pois a minha iso já veio com service pack 3 integrado. (Now, select the method you prefer, I chose not install service pack because my iso already came with service pack 3 integrated.)






AGORA ESSE PROCESSO CHAMA RUNONCE, este processo serve caso você não tenha arquivo .cab de algum programa, mas quer que algum programa seja instalado apos a instalação do windows antes de entrar na tela do desktop, essa linha de comando vai chamar um arquivo que você vai criar dentro da pasta chamada: PROGRAMS, dentro desse caminho: xp\SUPPORT\PROGRAMS, dentro dessa pasta voce vai no menu iniciar do windows, procure pelo bloco de notas, escreva dentro dele MEUS PROGRAMAS, salve-o nesta pasta PROGRAMS e renomei trocando instalar.txt para instalar.cmd , os dados que voce vai colocar dentro desse arquivo vou passar nas proximas imagens. (NOW THAT PROCESS DRAWS RunOnce, this process is if you have not archive. Head of a program, but want a program is installed after the installation of windows before entering the desktop screen, this command line will call a file that you will create in the folder called: PROGRAMS, in this way: xp\SUPPORT\ PROGRAMS, inside that folder you will in the Windows Start menu, look for the notebook, write my programs in it, save it and rename this folder PROGRAMS instalar.txt switching to instalar.cmd, the data you will put in this file I pass in the next images.)

NO NLITE: ( IN NLITE), VEJA ( SEE)



Como funciona: O nlite criou uma linha para executar esse arquivo, esse arquivo criou uma rotina com a ordem dos arquivos que serão executados, com função de "wait" para um programa esperar o outro terminar de instalar para instalar o outro, nao atropelar tudo ou instalar tudo ao mesmo tempo dando erro de varias instalações ao mesmo tempo. (How it works: The nlite created a line to run this file, this file has a routine with the order of the files that will run in terms of "wait" for a program expected to install the other end to install the other, not shove everything or install it at the same time giving an error of several facilities at the same time.)
VEJA A MINHA PASTA SUPORT ( see the my support folder)
- ADDONS [ aqui eu guardei os meus .cab prontos] ( in this folder I save the my .cab files)
- Bootable CD [ aqui eu guardei o arquivo para tornar o cd do windows bootavel] ( in this folder I save the boot file of windows)
- Programs [ aqui eu guardei todos os meus programas que não são. táxi mas que eu quero que eles tambem sejam instalados, Lembrando que voce pode achar na net muitos programas que são de instalação silenciosa como arquivos. msi. exe, dai voce pode usar esse método para instalar esses programas, se voce nao achou arquivos. cab tente procurar esses execultaveis chamados de instalação silenciosa.] (here I kept all my programs that are not. taxi but I also want them to be installed, remember that you can find the net many programs that are silent as the installation files. msi. exe, then you can use this method to install these programs if you do not find files. try searching the cab execultaveis called silent install)
- Temas [ coloquei aqui temas no formato .theme, exemplo, royale.theme e carreguei esse tema nas configurações do nlite, uma aba proxima a essa do runonce chamada temas.] (issues raised here in. theme, example, and I loaded royale.theme this topic in nlite settings, a tab next to that of call RunOnce themes)
-TOOLS [ essa pasta ja tinha no windows ] ( this is folder have after..)
Agora que tudo esta pronto, voce ja configurou todo o Nlite, click em proximo até aparecer a parte iniciar processo: (Now that everything is ready, you have configured all the Nlite, click Next until you start the process:)
Depois de concluido, É NESTA PARTE QUE VOCE VAI MINIMIZAR ESSA JANELA, VAI ABRIR O PROGRAMA DRIVERPACKS BASE, VAI DESCOMPACTAR SEU ARQUIVOS EM QUALQUER OUTRO LUGAR, QUE NAO SEJA DENTRO DA PASTA DO WINDOWS, CRIE UMA PASTA NA RAIZ C:\DRIVERPACKS , OBSERVE QUE ELE VAI DESCOMPACTAR um monte de pastas, copie os drivers que voce baixou no site e cole dentro da pasta chamada DriverPacks, rode o programa, eu prefiro utilizar o metodo 1 apesar de dar um erro que eu utrapassei os 4000 caracter que serao gravados em um determinado arquivo, pois utilizo esse cd do windows para instalar drivers em outros computadores, dai eu só mando escanear dentro do cd, agora utilizando o metodo 2, os arquivos de driver zipados continua zipados, e o windows nao procura drivers dentro de arquivos .zip 7zip ou algo do tipo. procure algum tutorial na internet como utilizar o driverpacks base. depois que o programa terminar, pode fechar ele e volte para o nlite para continuar o processo abaixo. (After completed, and in this part you WILL MINIMIZE this window, will open the DRIVERPACKS PROGRAM BASE, WILL Unzip your file in any place other than inside of the Windows folder, create a folder in the root C: \ DRIVERPACKS, NOTE he will Unzip a bunch of folders, copy the drivers that you downloaded the site and paste in the folder called DriverPacks, run the program, I prefer to use method 1 to make a mistake while I utrapassei the character that 4000 will be recorded in a file, use the cd because the windows drivers to install on other computers, then I just scan in the cd command, now using the method 2, the driver files zipped zipped continues, and no windows drivers search within files. zip 7zip or something. look like a tutorial on the Internet using driverpacks base. after the program ends, you can close it and get back to nlite to continue the process below.)
na cor azul, escolha como vai se chamar seu cd do windows. esse será o nome do cd. depois vamos escolher o arquivo de boot, SE VOCE ESQUECER DESSA PARTE, JOGOU TODO TRABALHO FORA !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DANGER !!!! CHOSE BOOT FILE! pois um cd sem boot não instala o windows, nao aparece aquela msg "pressione qualquer tecla para iniciar o cd" agora pelo amor de deus, antes de testar seu cd, muda na bios da sua placa mae para dar boot por cd, se não você vai achar que algo deu errado, pois se nao tiver abilitado lá, não irá dar boot e não vai aparecer o programa de instalação do windows. (in blue, choose how it will draw your Windows CD. this is the name of the cd. then we choose the boot file, If you forget that Party, played ALL WORK OUT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DANGER! CHOS BOOT FILE! because without a boot cd does not install the windows, no message appears that "press any key to boot cd" now for the love of god, before testing your cd, change the bios of your motherboard to boot from a CD, if not you will find that something went wrong, because if you do not allow it, will not boot and will not appear the installer of windows.)
vou disponibilizar os dois arquivos de boot para voce criar a pasta la dentro do SUPORT, BOOTABLE CD. dai vc fique atento la embaixo para escolher o formato do arquivo, se não nao vai aparecer o arquivo. escolha o arquivo marcado na imagem. depois passe para proxima imagem para continuarmos. (I will make the two files to boot to create the folder inside the support, bootable CD. then you stay tuned down to choose the file format, otherwise the file will not appear. select the file marked in the picture. then go to next image to continue.)

Depois que voce escolheu o arquivo de boot chamado: Microsoft Corporation.img, e definiu o nome do seu cd, agora pode clickar em criar iso para criar seu arquivo .ISO, ele vai te perguntar onde vc quer salvar esse arquivo, voce da um nome pra ele, pode ser o mesmo nome que voce deu para o cd, depois que criou o arquivo. para nao ficar jogando cd fora, testando se algo deu errado, se algum programa nao funcionou direito, ou algum erro durante a instalação que voce venha repetir o processo, voce nao fique perdendo cd, utilize um programa chamado virtualbox , esse programa permite que vc dentro do windows crie uma partição virtual e possibilita que voce instale o windows dentro dessa partição sem afetar seu windows, ou seja, tecnicos usam esse programa para rodar junto na mesma maquina linux e windows ao mesmo tempo. (After you chose the file named boot: Microsoft Corporation.img, and set the name of your cd, you can now click on create to create your iso file. ISO, it will ask you where you want to save this file, you the one name for him, may be the same name you gave to the cd, after you created the file. cd not to be playing out, testing if something went wrong, if some program does not work right, or some error during installation that you will repeat the process, you do not get lost cd, use a program called VirtualBox, this program allows you within the windows create a virtual partition and allows you to install Windows in that partition without affecting your windows, or use the technical program to run on the same machine with linux and windows at the same time.)
ESPERE !!! WAIT WAIT. don't make iso. nao crie a iso !

vamos integrar a instalação do office junto e de modo silenciosa.
podemos fazer isso bem simples.
veja
Copie a pasta do office completa do office para: \SUPPORT\PROGRAMS\office
agora vamos fazer o seguinte, vamos criar a instalação silenciosa para o office, bem simples isso.
vai no menu iniciar, executar, digite: cmd
se nao abrir nada, procure no menu iniciar o prompt de comando,
no prompt de comando voce vai digitar: (ESPAÇO) cd/
para voltarmos para a raiz do sistema
we integrate with the installation of office and silent mode. can do this very simple. see Copy the folder full of office of office to: \SUPPORT\PROGRAMS\office Now we do the following, we will create a silent installation for the office, and that simple. vai in start menu, run, type: cmd nothing if not open, look in the menu start the command prompt, at the command prompt, you will enter: brackSPACE cd/ to go back to the root system
agora que voce está em c:\ vamos caminhar usando esse comando CD até chegar a pasta onde esta o office ok. entao para ir entrando nas pastas voce precisa ir digitando cd, nome da pasta e dar enter. (Now you're in c: \ using this command we walk up the CD folder that the office ok. then go into the folders you need to type cd, and the folder name to enter.)


essa parte abaixo marcando ou desmarcando, voce escolhe se a nova instalação do office 2007 vai remover as versoes antigas como a 2003, eu escolhi para nao remover, tem pessoas que eu conheço que nao se adaptaram ao 2007, tenho instalado os dois em minha maquina. lembrando que ao marcar isso, voce poderá instalar posteriormente o 2003. (this part marking or clearing below, if you choose a new installation of Office 2007 will remove the older versions such as 2003, I chose not to remove, I know people have not adjusted to 2007, have both installed on my machine . remembering that in this book, you can then install the 2003.)

esqueça as partes riscadas de preto, não usaremos, nessa janela abaixo voce escolherá o que deverá ser instalado ou nao no metodo silencioso. basta marcar com o x e acompanhar ao lado quantos megas a instalação vai dar depois de tudo instalado. (forget the parties crossed the black, no use, that you choose below the window to be installed or not the method silencer. just check with oxe monitor alongside many megs the installation will give after everything installed.)

nessa imagem abaixo voce pode mudar o nome do icones que serão instalados no menu iniciar, no meu caso eu removi o microsoft para ficar mais curto e removi alguns icones e funçoes do office que eu sei que nao preciso daqueles links no menu iniciar. (this picture below you can rename the icons to be installed in the start menu, in my case I remove Microsoft to be short and removed some icons and functions of the office that I know do not need those links in the start menu.)

agora, depois que fez a ultima modificaçao, vamos salvar o arquivo .MSP, esse arquivo que tornará a instalação do office silenciosa, salve ele dentro da pasta do office e depois vamos criar um outro arquivo para carregar esse arquivo install.MSP com uma linha de comando para que funcione, pois se voce tentar testar depois esse arquivo install.msp para ver se ta funcionando, vai se deparar com um erro, pois ele não funciona como executavel, ele ainda precisa receber uma linha de comando do tipo DOS para fazer funcionar e quem vai dar essa linha de comando será o arquivo install.cmd que voce criou dentro da pasta office, lembrando, esse arquivo tem a mesma propriedade do que o arquivo da pasta PROGRAMS, ele só tem uma linha e nao tem o comando "wait" pois ele nao precisa esperar nenhum outro programa ser instalado, pois ele é o ultimo programa da lista. a função ECHO em DOS, funciona apenas como quebra de lina, paragrafo, "isso pra quem nao entende nada de DOS, pequena explicação" (Now, after making the last change, we will save the file. MSP, this file will make the installation of office silent, save it into the folder of the office and then we will create another file to load this file with a line install.MSP of command to work, because if you try to test later this file to see if install.msp ta working, will encounter an error because it does not work as executable, it still must receive a command line to do the type of work and who will give the command line will be install.cmd file that you created inside the Office folder, remembering, this file has the same property of the file folder of programs, it only has one line and do not have the command " wait "because he does not have to wait no other program is installed because it is the last program from the list. The echo function in DOS, works just as broken lina, paragrafo, "that you who know nothing about DOS, short explanation")

vamos criar o arquivo install.cmd, abra o bloco de notas, salve este arquivo dentro da pasta do office como install.cmd, depois click neste arquivo e click em editar, dentro voce irá colar o mesmo conteudo do outro arquivo parecido que voce fez desse, lembrando as linhas que mudam apenas. fique atento. (install.cmd we will create the file, open the notebook, save the file into the folder of office as install.cmd, then click on this file and click edit, you will paste in the same content in another file like you did that, recalling the lines that change only. stay tuned.)
save file.

se acaso voce queira testar o funcionamento do seu office com instalação silencioza, lembramos que se sua maquina tiver office voce precisa desinstalar pelo painel de controle, depois voce abre o pronpt de comando, navegue ate a pasta do office e digite: setup.exe /adminfile install.MSP
nada irá acontecer, espere alguns minutos e confira no menu iniciar o office instalado sem perguntar nadinha a voce. (if you want to randomly test the functioning of his office with silencioza installation, remember that if your machine has office you must uninstall the control panel, then you open the pronpt command, navigate to the folder of the office and type: setup.exe / adminfile install.MSP nothing happens, wait a few minutes and check the start menu installed without asking the office to shadow you.)

volte para a pasta anterior click em instalar.cmd e click para editar ele, no final desse programa voce vai adicionar a linha que vai entrar dentro da pasta do office, que irá chamar o install.cmd, esse que por sua vez vai chamar o install.MSP que vai fazer o trabalho da instalação silenciosa.
foi tirado o comando "wait" da linha pois como ele é o ultimo programa a ser instalado, ele nao precisa esperar mais nenhum outro terminar. (return to the previous folder and click on instalar.cmd click to edit it at the end of this program you will add a line that will go into the folder of office, which will call the install.cmd, which in turn will call the install.MSP that will do the work of the silent installation. was taken from the command "wait" because the line as he is the last program to be installed, it need not expect any other conclusion.)
Bom, agora voce pode voltar no Nlite e clickar em criar ISO, salvar essa iso e testar com o virtualbox, se ela tiver boa utilize o Nero com a função gravar arquivo de imagem ou projeto salvo para gravar o cd. (Well, now you can go back in Nlite and click on create ISO, save and test the iso with VirtualBox, if it has good use Nero to burn the image file function or project except to record the cd.)
Bom pessoal é isso ae. ( well', is it !) keep credit's.
PARA BAIXAR OS ARQUIVOS QUE EU CRIEI: install.cmd , instalar.cmd etc. faça o download aqui dos arquivos utilizados no projeto. ( to download files of this project, click in here:)
http://www.4shared.com/file/99058172/76f4e6ce/tutorial_nlite_driverpacks_office2007.html
para acessar minha pasta de arquivos virtual acesse:
http://www.4shared.com/dir/10660934/3654aae7/sharing.html
Tutorial criado por: Tom Costa.
Meta tags:
TITLE Assistente de instalacao Addons
for %%i 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 "%%i:%tagfile%" set cddrive=%%i:
CLS
@ECHO OFF
%SOURCE%\SUPPORT\PROGRAMS\instalar.cmd
setup.exe /admin
setup.exe /adminfile CUSTOM.MSP
unattend your setup
office customization tool
office 2007
http://www.msfn.org/board/lofiversion/index.php/t72392.html
6 comentários:
MARAVILHA de POST...
muito bom o post, mas não entendi como criar as linhas de comando dentro do instalar.cmd ficou meio vago para mim e não deu certo aqui se puder me ajudar agradeço
ademarfreymuth@yahoo.com.br
Excelente post
Parabens
Parabéns. Excelente post
Você não consegue colocar para download o OFFICE 2007 cab? Eu tinha no pen, baixei uma vez em 3 partes mas perdi, fiquei só com a parte 2 e faz muita falta.
Postar um comentário