colornokia Posted July 30, 2004 Share Posted July 30, 2004 Hello guys. I found your site few days ago. I'm interested to make Unattended XP CD. I have a few questions.1) I want to use the RunOnceEx window. So I understand a big part of the things but i'm not sure that i'm on the rght way For example i want to install WinRar. I want to install it in program files. So RunOnceEx.cmd file should look lite this one?cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Program Files\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "WinRar 3.3" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Program Files\WinRar\wrar330.exe /sEXITI should put the installation exe in C:\XPCD\$OEM$\$1\Program Files\WinRar\ right?2) How to add a key to registry. I know that with start.cmd should look like this oneREGEDIT /S %systemdrive%\install\Applications\flashget\register.reg and in RunOnceEx.cmd should be like that one?REG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg" /f3) So my computer is with xp Bulgarian edition with i386 directory on hard disk (no Xp bulgarian edition cd ). So is possible to copy over the original i386 directory (in my xp english disk) the i386 dir from my hard disk and have normal working xp bulgarian cd. Is there a problem if i use the other files from the original xp cd Link to comment Share on other sites More sharing options...
MCT Posted July 30, 2004 Share Posted July 30, 2004 REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Program Files\WinRar\wrar330.exe /sthat is incorrect.. thats pointing 2 where the program is located... the .exe file has a predefined path that it will install 2.. which is program files\winrar.. u are just telling setup where 2 look for the fileso say u have C:\Install as where u put all your programsu would putREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\wrar330.exe /shope this explains a bit, goto http://unattended.msfn.org for more inforegards Link to comment Share on other sites More sharing options...
colornokia Posted July 30, 2004 Author Share Posted July 30, 2004 So the programs will install to program files Thanks Link to comment Share on other sites More sharing options...
Aaron Posted July 30, 2004 Share Posted July 30, 2004 You need to put a " /f at the end of that Winrar line though. 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