RBCC Posted September 14, 2006 Share Posted September 14, 2006 [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1 DetachedProgram="%systemdrive%\install\t39.cmd"If this isn't right please post the edited version so it will work. John Link to comment Share on other sites More sharing options...
MGadAllah Posted September 15, 2006 Share Posted September 15, 2006 did you tried it yet?If yes, what was the result? Link to comment Share on other sites More sharing options...
mazin Posted September 15, 2006 Share Posted September 15, 2006 This is mine:[GuiUnattended]AdminPassword=123EncryptedAdminPassword=NOAutoLogon=NoAutoLogonCount=0DetachedProgram = "%SystemDrive%\Install\Utils\GUIstart.bat" Link to comment Share on other sites More sharing options...
RBCC Posted September 15, 2006 Author Share Posted September 15, 2006 Does it have to be a .bat instead of a .cmd file? John Link to comment Share on other sites More sharing options...
mazin Posted September 15, 2006 Share Posted September 15, 2006 I read that a CMD does not work for some people, so I decided to use a BAT and it works just fine.That's it. Link to comment Share on other sites More sharing options...
MGadAllah Posted September 15, 2006 Share Posted September 15, 2006 @ mazinwhere in the forum I can find a tutorial for creating such one, because search did not helped yet!? Link to comment Share on other sites More sharing options...
mazin Posted September 15, 2006 Share Posted September 15, 2006 No need to a tutorial. You just put the following line under [GuiUnattended] in WINNT.SIF:DetachedProgram = "%SystemDrive%\Install\Utils\GUIstart.bat"Let GUIstart.bat (or whatever name.bat) do whatever you want it to do at T-39.In my situation, GUIstart.bat is in %SystemDrive%\Install\Utils. Link to comment Share on other sites More sharing options...
RBCC Posted October 22, 2006 Author Share Posted October 22, 2006 Please Help!! This doesn't run detachedprogram, can someone please edit it? I have tried it with quotes and not, whats wrong John;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=YES TargetPath=\WINDOWS[GuiUnattended] DetachedProgram=%SYSTEMDRIVE%\install\t39.bat AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1[userData] ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="John Marshall" OrgName="Golden Computers" ComputerName=*[setupParams]UserExecute = %SYSTEMDRIVE%\install\t9.BAT[TapiLocation] AreaCode=541[RegionalSettings] LanguageGroup=13,17,3,2,5,16,4,12,15,7,8,10,11,9,6,14,1[setupMgr] ComputerName0=Golden-28453 ComputerName1=Golden-00628[branding] BrandIEUsingUnattended=Yes[Proxy] Proxy_Enable=1 Use_Same_Proxy=1 HTTP_Proxy_Server=192.168.0.1:87[identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[WindowsFirewall]Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall]Mode = 0[GuiRunOnce]%SYSTEMDRIVE%\Install\reboot.cmd Link to comment Share on other sites More sharing options...
Yzöwl Posted October 22, 2006 Share Posted October 22, 2006 What about this idea DetachedProgram = CMD.EXE Arguments = "/C CALL or START whatever.BAT or another.CMD" Link to comment Share on other sites More sharing options...
mazin Posted October 23, 2006 Share Posted October 23, 2006 It works for me the way I posted. However, Yzöwl's code is much safer to use. Link to comment Share on other sites More sharing options...
Yurek3 Posted October 23, 2006 Share Posted October 23, 2006 (edited) GuiUnattended]AdminPassword=123EncryptedAdminPassword=NOAutoLogon=NoAutoLogonCount=0DetachedProgram = "%SystemDrive%\Install\Utils\GUIstart.bat"You write your winnt.sif lie this you will aler instalation password -123- but when you whant use RunOnceEx.cmd your instalation will sot and you will need write 123 passwordGuiUnattended]AdminPassword=123EncryptedAdminPassword=NOAutoLogon=YesAutoLogonCount=2DetachedProgram = "%SystemDrive%\Install\Utils\GUIstart.bat"Now will work bether do not stop.[UserData]ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXFullName="John Marshall"OrgName="Golden Computers"ComputerName=*Thi is not goodshould be[UserData]ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXFullName="John Marshall"ComputerName=SomenameOrgName="Golden Computers" Edited October 23, 2006 by Yurek3 Link to comment Share on other sites More sharing options...
pmshah Posted October 25, 2006 Share Posted October 25, 2006 What about this ideaDetachedProgram = CMD.EXE Arguments = "/C CALL or START whatever.BAT or another.CMD"Thank you very much for your code. It works flawlessly for me. What I have done is instead of putting all the expanded drivers in $oem$\$1\Drivers folder I have created a self extracting cab file encompassing all the drivers I need. Unlike M$ expand utility this executable automatically recreates directory structure also! The folder size has gone down from 75 mb to 45 mb. All the drivers are now available to the installer. I delete the executables & the .cmd file at the last stage of the installation.I am now going to try the same trick with $Prog & $Doc folders to see if I can save further space. Link to comment Share on other sites More sharing options...
RBCC Posted November 3, 2006 Author Share Posted November 3, 2006 Thank you for all your help! Link to comment Share on other sites More sharing options...
RBCC Posted February 21, 2007 Author Share Posted February 21, 2007 could someone write a tutorial that what kinds of things you can install with detached program? thank you John 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