bonedaddy Posted September 2, 2004 Share Posted September 2, 2004 Ok Cypherbit finally got around to testing your creation.Batch fileEcho.color 0cECHO Installing Nero.7z Burning ROM 6.3.1.20ECHO Please wait...start /wait %systemdrive%\install\hotfiles\nero\unpack.cmdstart /wait %systemdrive%\install\hotfiles\nero\setup.exe /silent /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_snREGEDIT /S %systemdrive%\install\hotfiles\NeroCheck.reg REGEDIT /S %systemdrive%\install\hotfiles\register.reg unpack cmdCLS @echo offcolor ec7z.exe x -y "%systemdrive%\Install\hotfiles\Nero\Nero.7z" -o"%systemdrive%\Install\hotfiles\"EXIT added to nLite cmd for clean up DEL "%UserProfile%\Desktop\Nero StartSmart.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.lnk"then added the "nero burning rom" icon to my Quick Launch folder works finethanks bonedaddymade a few changes to work in batch just minor ones Link to comment Share on other sites More sharing options...
tommyp Posted September 2, 2004 Share Posted September 2, 2004 Thought I can add my $.02. I crafted a mini batch file that will hopefully help out with automating this process. It's probably not the cleanest as I'm not really an IT guy. If you have winrar, you can run the CMD file directly, otherwise you'll need some editting. Create a new folder called whatever you like. Put three files into it. 1. The Nero installer renamed to "neroinstall.exe"2. The following file called FIX.CMDCLS@echo offECHO Deleting working files if previously runif exist files1.txt del /q files1.txtif exist files2.txt del /q files2.txtif exist files.txt del /q files.txtif exist filesfinal.txt del /q filesfinal.txtif exist swap.cmd del /q swap.cmdEchoEcho extracting Nero"%ProgramFiles%\winrar\rar.exe" x neroinstall.exeEcho Get directory listing (delete folder names and working files)dir /B /S > files1.txtfindstr /C:. files1.txt > files2.txtfindstr /v "fix.cmd fix2.cmd files1.txt blank.txt filter.txt neroinstall.exe" files2.txt > files.txtdel /q files1.txtdel /q files2.txtEcho Make final listing of files to swap findstr /i /G:filter.txt files.txt > filesfinal.txtdel files.txtEcho Preparing zerobyte fileEcho. > blank.txtfor /f "usebackq delims==" %%1 in (filesfinal.txt) do echo copy /y blank.txt "%%1" >>swap.cmdswap.cmd3. Last file is called FILTER.TXT. It's just list what files you want as zero byte files. There's no need to put the full extension. Some of the guys on the forum started listing some zero byte ones on pages 3-5 of this thread. Maybe someone is crafty on figuring a textline approach of creating an SFX installer to add to this CMD file. Hope this helps us figure out a quicker way to make a smaller installer. Link to comment Share on other sites More sharing options...
^_^ Posted September 4, 2004 Share Posted September 4, 2004 This works for me Place it in Your main_batch.cmd and You can do both the install and register it at the same time ECHO Installing Nero 6.3.1.20ECHO Please wait...start /wait %systemdrive%\install\Nero\nero63120.exe /silent /noreboot /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_snECHO./ SwedenXPthis always works for me Link to comment Share on other sites More sharing options...
tysidor Posted November 12, 2004 Share Posted November 12, 2004 For anyone who cares I have been using a method that I haven't seen mentioned. Is what I did was create a registry entry and add it to my $OEM$ folder and then I altered my cmdlines.txt to run the registry entry. This allowed the registry entry to take place before the installation process. Then I used the following switches in my start.cmd to install silently. It worked perfect. Hope this helps some people. Example of cmdlines.txt[COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg""REGEDIT /S Nero6RegEntry.reg""REGEDIT /S Norton2004Key.reg"Example of my Nero6RegEntry.regWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero - Burning Rom\Info]"Company"="""Serial6"="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX""User"="Your Name"Example of my start.cmdECHO.ECHO Installing Nero Burning ROM v6.6.0.1ECHO Please wait...start /wait %systemdrive%\install\Applications\Nero6\nero6.6.0.1.exe /silent /norebootECHO. 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