JustinJAH Posted April 29, 2006 Share Posted April 29, 2006 TweakUI installed fine but none of the others. I couldnt remember the command to make it delet the install files once its completed as well any help would be great thankscmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Creative Suite 2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe Creative Suite 2.exe /fREG ADD %KEY%\010 /VE /D "Macromedia Dreamweaver 8" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Macromedia Dreamweaver 8.exe /fREG ADD %KEY%\020 /VE /D "ZoneAlarm Security Suite" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\ZoneAlarm Security Suite.exe /fREG ADD %KEY%\025 /VE /D ".NET Framework 2" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\dotnetfx.exe /fREG ADD %KEY%\030 /VE /D "Sun Java 1.5.6" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Java_1_5_0_06.exe /fREG ADD %KEY%\035 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\TweakUiPowertoySetup.exe /fEXIT Link to comment Share on other sites More sharing options...
ajua Posted April 29, 2006 Share Posted April 29, 2006 you're missing the final quotes on every command.should be like this:REG ADD %KEY%\001 /VE /D "Microsoft .NET Framework 1.1 SP1" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\netfx11sp1\netfx.msi /qn" /fREG ADD %KEY%\002 /VE /D "Microsoft .NET Framework 2.0" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\netfx20\install.exe /q" /fREG ADD %KEY%\003 /VE /D "Microsoft DirectX 9.0c Abr 2006" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\directx\dxsetup.exe /silent" /fREG ADD %KEY%\004 /VE /D "Microsoft IntelliPoint 5.5" /fREG ADD %KEY%\004 /V 1 /D "%cdrom%\Programas\intellipoint\ip55.msi mm=14 /qn REBOOT=ReallySuppress" /ffor cleaning and deleting add this at the final lines of your scrip just before EXIT:REG ADD %KEY%\200 /VE /D "Cleaning & Rebooting" /fREG ADD %KEY%\200 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fcleanup.cmd file can contain any commands you want to run. i strongly recommend you to read the whole unattended guide to get this kind of things to work. Link to comment Share on other sites More sharing options...
JustinJAH Posted May 1, 2006 Author Share Posted May 1, 2006 ok i figured out what i was doing wrong. is there anyone to have two exe's open at once, or even to say have a notpad open up. the first exe that i want to open isnt a installer just a program and the second one is a actual installed but i havent found a way to have them both open up any ideas? 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