Mikep7779 Posted March 16, 2005 Share Posted March 16, 2005 I was reading http://gosh.msfnhosting.com/using_runonceex.htmI did what it said Hoever it did not tell me where to put in the textsetup.sifrunonceex.inf = 1,,,,,,,20,0,0new.inf = 1,,,,,,_x,,3,3And when i run the setup i get that textsetup.sif is corupt at line 1, where i put the first parimiter...Any help?My english isnt that good so dont be harsh Link to comment Share on other sites More sharing options...
hohner Posted March 16, 2005 Share Posted March 16, 2005 I use the RunOnceEx.cmd method of unattended install for my third party applications.All I did to make this work was..create a file with called cmdlines.txt which contains the following:[COMMANDS]"RunOnceEx.cmd" Save this in your $OEM$ folder.Also in the $OEM$ folder, place your RunOnceEx.cmd file.Here's what mine looks like:cmdow @ /HID@Echo OffSET PP=%SystemDrive%\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Unattended Program Installation" /fREG ADD %KEY%\000 /VE /D "Alcohol 120" /fREG ADD %KEY%\000 /V 1 /D "%PP%\Install\Alcohol\setup.msi /passive /norestart" /fREG ADD %KEY%\000 /V 2 /D "REGEDIT /S %PP%\Install\Alcohol\alcohol.reg" /fREG ADD %KEY%\001 /VE /D "Nero Burning ROM 6.0.0.6" /fREG ADD %KEY%\001 /V 1 /D "%PP%\Install\Nero\Nero6606.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /fREG ADD %KEY%\002 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\002 /V 1 /D "%PP%\Install\Winrar\Winrar_330.exe /s" /fREG ADD %KEY%\003 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\003 /V 1 /D "%PP%\install\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qn /norestart" /fREG ADD %KEY%\004 /VE /D "DVD Decrypter 3.2.5.0" /fREG ADD %KEY%\004 /V 1 /D "%PP%\Install\DVDDecrypter\Setup.exe /S" /fREG ADD %KEY%\005 /VE /D "Adobe Acrobat 6 Professional" /fREG ADD %KEY%\005 /V 1 /D "%PP%\Install\adobe6\AcroPro.msi /passive /norestart" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /S %PP%\Intall\Adobe6\acropro.reg" /fREG ADD %KEY%\006 /VE /D "DVD Shrink 3.2.0.15" /fREG ADD %KEY%\006 /V 1 /D "%PP%\Install\DVDShrink\dvdshrink32setup.exe /silent" /fREG ADD %KEY%\007 /VE /D "Spybot Search & Destroy 1.3" /fREG ADD %KEY%\007 /V 1 /D "%PP%\Install\Spybot\spybotsd13.exe /SP- /VERYSILENT /NORESTART" /fREG ADD %KEY%\100 /VE /D "Removing temporary files & rebooting" /fREG ADD %KEY%\100 /V 1 /D "%PP%\Install\cleanup.cmd" /fEXIT In the I386 directory, open the file winnt.sif (assuming you have created one with windows sp2 deployment tools) and remove any [GuiRunOnce] entries you may have.I did not edit or change any other files.This will install the apps at before the first user logon. Some install progress is displayed for some of the apps, I prefer to see what's going on.Hope this helps you. Link to comment Share on other sites More sharing options...
Mikep7779 Posted March 17, 2005 Author Share Posted March 17, 2005 Ok, the install went fine, but it didnt copy the files to my hard drive.....cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\adobe70\adobe70.msi" /fREG ADD %KEY%\010 /VE /D "Abc Torrent" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\ABC\ABC-win32-v2.6.9.exe /S" /fREG ADD %KEY%\015 /VE /D "FireFox 1.0.1" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Firefox\Firefox101_Silent_en-US.exe" /fREG ADD %KEY%\025 /VE /D "Nero Burning ROM 6.6.0.8" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\Install\Nero\Nero-6.6.0.8.exe /SILENT /NOREBOOT /SN=xxxxxxxxxxxxxxxxxxxxxxxx /WRITE_SN" /fREG ADD %KEY%\030 /VE /D "Cpl Mouse Fix" /fREG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\Install\mouse_fix.reg" /fREG ADD %KEY%\040 /VE /D "K++ Codec Pack." /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Codecs\klmcodec125.exe /silent" /fREG ADD %KEY%\045 /VE /D "Ventrilo 2.20" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\ventrilo\ventrilo-2.2.0-Windows-i386.exe /q" /fREG ADD %KEY%\046 /VE /D ".Net Framework" /fREG ADD %KEY%\046 /V 1 /D "%systemdrive%\Install\dotnetfx\netfx.msi /q" /fREG ADD %KEY%\050 /VE /D "itunes" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\itunes4.7.msi" /fREG ADD %KEY%\051 /VE /D "Java 5.0.2 Upadate 2" /fREG ADD %KEY%\051 /V 1 /D "%systemdrive%\Install\java.exe" /fREG ADD %KEY%\052 /VE /D "Alcohol 120%" /fREG ADD %KEY%\052 /V 1 /D "%systemdrive%\Install\Alcohol120\Setup.msi /quiet /norestart" /fREG ADD %KEY%\053 /VE /D "Adobe Photoshop CS" /fREG ADD %KEY%\053 /V 1 /D "%systemdrive%\Install\adobepscs\setup.exe" /fREG ADD %KEY%\099 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\099 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITthats what my RunOnceEx.cmd says, i have all the files in\$OEM$\$1\InstallIdeas? Link to comment Share on other sites More sharing options...
Mikep7779 Posted March 17, 2005 Author Share Posted March 17, 2005 btw, does the REG ADD %KEY%\000 /V 2 /D "REGEDIT /S PP%\Install\Alcohol\alcohol.reg" /fDisable the virtual drive, if so can you post it? Link to comment Share on other sites More sharing options...
hohner Posted March 17, 2005 Share Posted March 17, 2005 The Alcohol reg file does not disable the virtual drive, it will configure it on first start up. If you don't want the virtual drive I suggest changing the options in Alcohol after it is installed.Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\SOFTWARE\Alcohol Soft\Alcohol 120%\Info]"UserName"="your username""Company"="your company""SerialNo"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"[HKEY_LOCAL_MACHINE\SOFTWARE\Alcohol Soft\Alcohol 120%\Info]"UserName"="your username""Company"="your company""SerialNo"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Note: the serial number should be enclosed in quotes just like your username, I'm not sure what happened but I didn't type the & #34; so just ignore them and put a " there. Link to comment Share on other sites More sharing options...
Mikep7779 Posted March 17, 2005 Author Share Posted March 17, 2005 any awnswer to my other question? Link to comment Share on other sites More sharing options...
hohner Posted March 17, 2005 Share Posted March 17, 2005 No sorry, I'm not sure why it didn't install your apps. Double check your install paths maybe. Did you reverse the changes you made to the textsetup.sif?Anyone else have any ideas? Link to comment Share on other sites More sharing options...
wullieb1 Posted March 17, 2005 Share Posted March 17, 2005 Nero won't instal because you have 45 instead of 25.Can't see anything else wrong though.All your apps are in the correct path on the cd?? Link to comment Share on other sites More sharing options...
Alanoll Posted March 17, 2005 Share Posted March 17, 2005 OEMPreInstall=YES in WINNT.SIF maybe? Link to comment Share on other sites More sharing options...
Stinger12348 Posted March 17, 2005 Share Posted March 17, 2005 I took this straight from Gosh's pageFirst, create a file called runonceex.inf and put your runonceex settings in it. Then put it into your i386 folder. Edit txtsetup.sif and put this:runonceex.inf = 1,,,,,,,20,0,0That way runonceex.inf will be copied to the %windir%\inf folder. Also add what's in bold below to txtsetup.sif:[HiveInfs.Fresh]AddReg = hivedef.inf,AddRegAddReg = hivesys.inf,AddRegAddReg = hivesft.inf,AddRegAddReg = hivecls.inf,AddRegAddReg = hiveusd.inf,AddRegAddReg = hivesxs.inf,AddRegAddReg = dmreg.inf,DM.AddRegAddReg = new.inf,newhiveCreate new.inf and put it in your i386 folder. In txtsetup.sif add this line:new.inf = 1,,,,,,_x,,3,3Also in dosnet.inf add these lines:d1,runonceex.infd1,new.inf 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