August 26, 200619 yr 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, 200619 yr by PatrickEmpire
August 26, 200619 yr 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, 200619 yr by T D
August 26, 200619 yr Author CODE Tags People, CODE tags!!CLSEXITWhat is CODE Tags People, CODE tags!!
August 26, 200619 yr [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, 200619 yr by mazin
August 26, 200619 yr 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, 200619 yr by Yzöwl
August 26, 200619 yr Author [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, 200619 yr by PatrickEmpire
August 26, 200619 yr 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, 200619 yr by Yzöwl
August 26, 200619 yr 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, 200619 yr by Takeshi
August 26, 200619 yr 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.
August 27, 200619 yr Author 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
August 27, 200619 yr 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.
August 27, 200619 yr Man, I got lost wit your scripts. How come you install office from a CMD and from RunOnceEx at the same time?
August 28, 200619 yr 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.
August 29, 200619 yr Author 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.
August 29, 200619 yr 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!!??!?!!?
Create an account or sign in to comment