Jump to content

Newbe need help


Recommended Posts

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 :rolleyes: 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 off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Program Files\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "WinRar 3.3" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Program Files\WinRar\wrar330.exe /s

EXIT

I 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 one

REGEDIT /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" /f

3) 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


REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Program Files\WinRar\wrar330.exe /s

that 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 file

so say u have C:\Install as where u put all your programs

u would put

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\wrar330.exe /s

hope this explains a bit, goto http://unattended.msfn.org for more info

regards

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...