PatrickEmpire Posted August 26, 2006 Share Posted August 26, 2006 (edited) I used xp64 OS.My batch _file.cmd is below:CLS@echo offTITLE Windows XP64 SP1 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applicationsã€Âwindows updatesã€Âand registryECHO.ECHO Removing Wallpapers and Screensavers...DEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"ECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"ECHO.ECHO Installing MSN Messenger 8.1ECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /qn" ECHO.ECHO Installing Office2003XPECHO Please wait...start /wait %systemdrive%\install\Office2003XP\PRO11.msi /QBECHO.ECHO Installing daemon403-x64ECHO Please wait...start /wait %systemdrive%\install\applications\daemon403-x64\daemon403.exe /qb REBOOT=SuppressECHO.ECHO Installing alcoholECHO Please wait...start /wait %systemdrive%\install\applications\alcohol\setup.exe /qn Reboot=SuppressECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\installEXITMy winnt.SIF is below:; Generated by nLite 1.0.1[Data]AutomaticUpdates = "Yes"Autopartition = 0MsDosInitiated = 0UnattendedInstall = "Yes"[Unattended]UnattendMode = FullUnattendedUnattendSwitch = "Yes"OemPreinstall = "Yes"OemSkipEula = "Yes"FileSystem = *WaitForReboot = "No"NoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1DriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[SetupData]OSLoadOptionsVar = "/noexecute=alwaysoff"[Display]Xresolution = 800Yresolution = 600BitsPerPel = 32Vrefresh = 75[SystemRestore][SetupParams]SkipMissingFiles = "No"[GuiUnattended]EncryptedAdminPassword = "No"AdminPassword = *TimeZone = 220OEMSkipRegional = 1OemSkipWelcome = 1[Components][UserData]ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"ComputerName = HOMEFullName = "Patrick final version"OrgName = "Final Version"[RegionalSettings]LanguageGroup = 9SystemLocale = "0404"UserLocale = "0404"UserLocale_DefaultUser = "0404"InputLocale = "0404:e0020404"InputLocale_DefaultUser = "0404:e0020404"[Networking]InstallDefaultComponents = "Yes"[Identification]JoinWorkgroup = "WORKGROUOP"[GuiRunOnce]%systemdrive%\install\start.cmd I can not install automatically my applications after i create those script.Could someone help me to correct my script? Edited August 27, 2006 by PatrickEmpire Link to comment Share on other sites More sharing options...
T D Posted August 26, 2006 Share Posted August 26, 2006 (edited) CODE Tags People, CODE tags!!CLS@echo offTITLE Windows XP64 SP1 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applicationsã€Âwindows updatesã€Âand registryECHO.ECHO Removing Wallpapers and Screensavers...DEL "%systemroot%\*.bmp" /f /s /qDEL "%systemroot%\Web\Wallpaper\*.jpg" /f /s /qDEL "%systemroot%\system32\dllcache\*.scr" /f /s /qDEL "%systemroot%\system32\*.scr" /f /s /qECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Windows Update.lnk" /f /s /qDEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Set Program Access and Defaults.lnk" /f /s /qDEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Windows Catalog.lnk" /f /s /qECHO.ECHO Installing MSN Messenger 8.1ECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /qnECHO.ECHO Installing Office2003XPECHO Please wait...start /wait %systemdrive%\install\Office2003XP\PRO11.msi /QBECHO.ECHO Installing daemon403-x64ECHO Please wait...start /wait %systemdrive%\install\applications\daemon403-x64\daemon403.exe /qb REBOOT=SuppressECHO.ECHO Installing alcoholECHO Please wait...start /wait %systemdrive%\install\applications\alcohol\setup.exe /qn Reboot=SuppressECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\installEXIT Edited August 26, 2006 by T D Link to comment Share on other sites More sharing options...
PatrickEmpire Posted August 26, 2006 Author Share Posted August 26, 2006 CODE Tags People, CODE tags!!CLSEXITWhat is CODE Tags People, CODE tags!! Link to comment Share on other sites More sharing options...
mazin Posted August 26, 2006 Share Posted August 26, 2006 (edited) [Data]AutomaticUpdates = "Yes"Autopartition = 0MsDosInitiated = 0UnattendedInstall = "Yes"[Unattended]UnattendMode = FullUnattendedUnattendSwitch = "Yes"OemPreinstall = "Yes"OemSkipEula = "Yes"FileSystem = *WaitForReboot = "No"NoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1DriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[SetupData]OSLoadOptionsVar = "/noexecute=alwaysoff"[Display]Xresolution = 800Yresolution = 600BitsPerPel = 32Vrefresh = 75[SystemRestore][SetupParams]SkipMissingFiles = "No"[GuiUnattended]EncryptedAdminPassword = "No"AdminPassword = *TimeZone = 220OEMSkipRegional = 1OemSkipWelcome = 1[Components][UserData]ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"ComputerName = HOMEFullName = "Patrick final version"OrgName = "Final Version"[RegionalSettings]LanguageGroup = 9SystemLocale = "0404"UserLocale = "0404"UserLocale_DefaultUser = "0404"InputLocale = "0404:e0020404"InputLocale_DefaultUser = "0404:e0020404"[Networking]InstallDefaultComponents = "Yes"[Identification]JoinWorkgroup = "WORKGROUOP"[GuiRunOnce]%systemdrive%\install\start.cmdNothing wrong in your WINNT.SIF!I just don't know what this is: OSLoadOptionsVar = "/noexecute=alwaysoff" Edited August 26, 2006 by mazin Link to comment Share on other sites More sharing options...
Yzöwl Posted August 26, 2006 Share Posted August 26, 2006 (edited) What is CODE Tags People, CODE tags!!When you are posting large chunks of code you should be, as stated in the announcement, using code tags.To do that you typeFirst lineSecond lineThird lineFourth lineFifth lineSixth lineSeventh line - This one is a relatively long line which could wrap onto the next line possibly spoiling the flow of textEighth lineNinth lineTenth lineEleventh lineTwelfth lineThis will produce thisFirst lineSecond lineThird lineFourth lineFifth lineSixth lineSeventh line - This one is a relatively long line which could wrap onto the next line possibly spoiling the flow of textEighth lineNinth lineTenth lineEleventh lineTwelfth line Edited August 26, 2006 by Yzöwl Link to comment Share on other sites More sharing options...
PatrickEmpire Posted August 26, 2006 Author Share Posted August 26, 2006 (edited) [Data][GuiRunOnce]%systemdrive%\install\start.cmdNothing wrong in your WINNT.SIF!I just don't know what this is: OSLoadOptionsVar = "/noexecute=alwaysoff"I don't know OSLoadOptionsVar = "/noexecute=alwaysoff" as well. I use nlite to create my winnt.sif, but i can not install automatically my applications.I don't know why?in my $OEM$ folder, i have cmdlines.txt and RunOnceEx.cmdcmdlines.txt:[COMMANDS]"RunOnceEx.cmd"RunOnceEx.cmd:[CODE]cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D \"Installing Applications \" /fREG ADD %KEY%\005 /VE /D \"MSN Messenger 8.1\" /fREG ADD %KEY%\005 /V 1 /D \"%systemdrive%\install\MsnMsgs.msi /qn\" /fREG ADD %KEY%\010 /VE /D \"Office 2003 \" /fREG ADD %KEY%\010 /V 1 /D \"%systemdrive%\install\Office 2003\PRO11.msi /QB\" /fREG ADD %KEY%\060 /VE /D \"Alcohol 120 \" /fREG ADD %KEY%\060 /V 1 /D \"%systemdrive%\install\alcohol\setup.exe /qn Reboot=Suppress\" /fREG ADD %KEY%\060 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" REG ADD %KEY%\065 /VE /D \"Cleaning Up and Rebooting\" /fREG ADD %KEY%\065 /V 1 /D \"%systemdrive%\install\cleanup.cmd\" /fEXITUntile now, have you found some problems about my script? I have put all of my office 2003 in E:\XPCD\$OEM$\$1\install\Application\Office2003XP , but nothing happen!!! who can help me to find why those applications can not install automatically Edited August 26, 2006 by PatrickEmpire Link to comment Share on other sites More sharing options...
Yzöwl Posted August 26, 2006 Share Posted August 26, 2006 (edited) If you check your text against my example, you will see that you have forgotten to use the 'forward slash' in your closing code tag. You may also notice that your coded text contains far more than a dozen lines and would have been a more likely candidate for codebox tags!<Edit>Okay it appears that you've done it whilst I was composing the reply....and thank you usually works well in most cultures!</Edit><Edit2>all the install lines in your cmd file are incorrect@CMDOW @ /HID ||@ECHO OFFSET "KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"REG ADD %KEY% /V TITLE /D "Installing Applications" /FREG ADD %KEY%\005 /VE /D "MSN Messenger 8.1" /FREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\MsnMsgs.msi /qn" /FREG ADD %KEY%\010 /VE /D "Office 2003" /fREG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\install\Office 2003\PRO11.msi\" /QB" /FREG ADD %KEY%\060 /VE /D "Alcohol 120" /FREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn Reboot=Suppress" /FREG ADD %KEY%\060 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" REG ADD %KEY%\065 /VE /D "Cleaning Up and Rebooting" /FREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\cleanup.cmd" /FEXIT</Edit2> Edited August 26, 2006 by Yzöwl Link to comment Share on other sites More sharing options...
Takeshi Posted August 26, 2006 Share Posted August 26, 2006 (edited) I don't know OSLoadOptionsVar = "/noexecute=alwaysoff" as well.HereI'm not against using nLite by any means, but you should try to understand what goes on behind the scene as well.These don't match, do they?E:\XPCD\$OEM$\$1\install\Application\Office2003XP%systemdrive%\install\Office2003XP\PRO11.msi Edited August 26, 2006 by Takeshi Link to comment Share on other sites More sharing options...
Yzöwl Posted August 26, 2006 Share Posted August 26, 2006 It also seems odd that you are suggesting to installOffice 2003 from \install\Office 2003andAlcohol 120 from \install\alcoholbutMSN Messenger 8.1 from \installIn order to successfully troubleshhot I'd suggest that you remain consistent in your structure and order. Link to comment Share on other sites More sharing options...
PatrickEmpire Posted August 27, 2006 Author Share Posted August 27, 2006 I don't know OSLoadOptionsVar = "/noexecute=alwaysoff" as well.HereI'm not against using nLite by any means, but you should try to understand what goes on behind the scene as well.These don't match, do they?E:\XPCD\$OEM$\$1\install\Application\Office2003XP%systemdrive%\install\Office2003XP\PRO11.msiWeather i have to change to this:E:\XPCD\$OEM$\$1\install\Application\Office2003XP%systemdrive%\install\Application\Office2003XP\PRO11.msi Link to comment Share on other sites More sharing options...
Yzöwl Posted August 27, 2006 Share Posted August 27, 2006 All of my responses so far have provided you directly with positive answers to aid in you successfully achieving your goals on this forum. You asked for help from more knowledgable people than yourself, they freely offered it and you've shown your appreciation by ignoring that help. Link to comment Share on other sites More sharing options...
mazin Posted August 27, 2006 Share Posted August 27, 2006 Man, I got lost wit your scripts. How come you install office from a CMD and from RunOnceEx at the same time? Link to comment Share on other sites More sharing options...
mmarable Posted August 28, 2006 Share Posted August 28, 2006 PatrickEmpire,As I suggested in your prior thread asking for help you really need to work on your project in steps. You are trying to do everything right away and when it doesn't work you ask for help yet ignore the help you get.You need to realize that creating an unattended setup that is going to do all the things that you are looking to do is going to take quite some time to develop. As I said before, don't jump in with trying to do several application installs until after you have mastered installing just a single app. Yes, it takes more time, but once you have your first app's install working the rest are that much easier.You're jumping all over the place looking for someone to give you some magical answer that's going to make it all work for you. Go back through the tutorials found here: http://unattended.msfn.org it explains everything in nice step by step guides. It's the documentation that everyone here has been referencing for years. Pick a method that you want to use to install your apps with and start with a single application. Once you have that working, then move on to add more applications.Again, follow the documentation here -> http://unattended.msfn.org you have to learn what is going on behind the scenes if you ever hope to be able to troubleshoot the problems you encounter. Link to comment Share on other sites More sharing options...
PatrickEmpire Posted August 29, 2006 Author Share Posted August 29, 2006 PatrickEmpire,As I suggested in your prior thread asking for help you really need to work on your project in steps. You are trying to do everything right away and when it doesn't work you ask for help yet ignore the help you get.You need to realize that creating an unattended setup that is going to do all the things that you are looking to do is going to take quite some time to develop. As I said before, don't jump in with trying to do several application installs until after you have mastered installing just a single app. Yes, it takes more time, but once you have your first app's install working the rest are that much easier.You're jumping all over the place looking for someone to give you some magical answer that's going to make it all work for you. Go back through the tutorials found here: http://unattended.msfn.org it explains everything in nice step by step guides. It's the documentation that everyone here has been referencing for years. Pick a method that you want to use to install your apps with and start with a single application. Once you have that working, then move on to add more applications.Again, follow the documentation here -> http://unattended.msfn.org you have to learn what is going on behind the scenes if you ever hope to be able to troubleshoot the problems you encounter.I have go to several weeks ago. And i have follow the way it teachs me, but useless.In the beginning , i haven't try any application by using nlite, it work successeful. Then integrate few applications to try in VMware, but it doesn't work.I know that i don't have to put batch file.cmd and runonce to run at the same time, but i put the two scrip at the same time because it is useless in turorial , so i try to make some differents way than http://unattended.msfn.org .Untile now, i have only successful in MSN by using script with nlite , but i don't know why it has successe. I use the same way to integrate as i use in MSN, but nothing happen. I think maybe i have ignored something .In fact, i have read http://unattended.msfn.org several times.Untile now, the only way i didn't try is that : Wheather i have to put GuiRunOnce in $OEM$ and Winnt.sif. I have put GuiRunOnce in $OEM$ instead of Winnt.sif , but it now works. I have also put GuiRunOnce in Winnt.sif but not in $OEM$, but i failure again. I will go throug to to master it.Perhaps i have some misunderstoods in the tutorial.After all, the tutorial isn't my native language.Man, I got lost wit your scripts. How come you install office from a CMD and from RunOnceEx at the same time?I install office from a CMD and from RunOnceEx at the same time because it doesn't work in tutorial.I have used the simple way which http://unattended.msfn.org has teach, but it doesn't work.In http://unattended.msfn.org ,it teach me put the content of my Office CD in $OEM$\$1$\install\Applications\Office 2003 , but it is useless. I have put the script which the link give me,but useless.Finally , i put CMD and RunOnceEx at the same time.All of my responses so far have provided you directly with positive answers to aid in you successfully achieving your goals on this forum. You asked for help from more knowledgable people than yourself, they freely offered it and you've shown your appreciation by ignoring that help.If i let you feel ignoring that help , i am so sorry, but i have follow the way some people teache me. Link to comment Share on other sites More sharing options...
CBR900RR Posted August 29, 2006 Share Posted August 29, 2006 I install office from a CMD and from RunOnceEx at the same time because it doesn't work in tutorial.I have used the simple way which http://unattended.msfn.org has teach, but it doesn't work.In http://unattended.msfn.org ,it teach me put the content of my Office CD in $OEM$\$1$\install\Applications\Office 2003 , but it is useless. I have put the script which the link give me,but useless.Finally , i put CMD and RunOnceEx at the same time.I too am having a problem with the last part of the tutorial, and the quide is in my native language.This command will perform a silent installation of Office XP using the Unattended.MST file you created in the Custom Installation Wizard to set your customized options. But we don't want to use the exact command shown above as this wouldn't exist when installing from a CD, so change:TRANSFORMS=C:\XPCD\$\$1\install\Applications\OfficeXP\Unattended.MST /qb-to...TRANSFORMS=Unattended.MST /qb-You cannot change this in the window... how DO you change it? Lastly, As you read at the end of Section 3, we needed to change the path in the TRANSFORM syntax in order for it to function. Below are the full batch commands you can use, so add these lines to your batch file:ECHO.ECHO Installing Office XP Professional with FrontpageECHO Please wait...start /wait %systemdrive%\install\Applications\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-That's it! That's it... BUT WHERE DO YOU PUT THIS!!??!?!!? 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