MSFN Forum: Newbe need help - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Newbe need help Rate Topic: -----

#1 User is offline   colornokia 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 30-July 04

  Posted 30 July 2004 - 05:19 AM

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


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 30 July 2004 - 05:25 AM

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

#3 User is offline   colornokia 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 30-July 04

Posted 30 July 2004 - 05:37 AM

So the programs will install to program files :) Thanks

#4 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01
  • OS:ME
  • Country: Country Flag

Posted 30 July 2004 - 05:42 AM

You need to put a " /f at the end of that Winrar line though.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy