Help - Search - Members - Calendar
Full Version: Unattended Windows Xp/2k Installer
The CD Forum > Bart's PE Builder > Plugins
bask
This plugin creates NU2MENU settings for unattended windows installation.
All rights, lefts and all other directions reserved smile.gif

Read MS deploy documentation for detailed answers files information. My answers files tuned to install windows with minimum additional components. Edit if you need more components and have unusable free disk space smile.gif

You need bootfix plugin, to enable automatic system restart without interaction.

You need winrar to prepare selfextracting files unattend_2k.exe and unattend_xp.exe, place the files into "files" folder inside plugin directory

How to prepare unattend_2k.exe:
1. Make selfextracting archive from w2k unattend.inf with folowing settings for winrar:
CODE
;The comment below contains SFX script commands

Path=.\%Temp%\Unattend2K
SavePath
Setup=notepad.exe unattend.inf
Silent=1


How to prepare unattend_xp.exe:
1. Make selfextracting archive from wxp unattend.inf with folowing settings for winrar:
CODE
;The comment below contains SFX script commands

Path=.\%Temp%\UnattendXP
SavePath
Setup=notepad.exe unattend.inf
Silent=1


Plugin file
UnattendWin.inf
CODE
; UnattendWin.inf
; PE Builder v3 plug-in INF file for Unattended_XP_installation
; Created by Victor Baskakov
; 27.01.2004 16:45
; http://www.nu2.nu/pebuilder/

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Unattended XP/2k installation"
Enable=1
Help="UnattendWin.htm"

[WinntDirectories]
a=Programs\UnattendWin,2

[SourceDisksFiles]
Files\*.*=a,,1

[Append]
nu2menu.xml, UnattendWin_nu2menu.xml


Plugin file fixed 2004.01.28
UnattendWin_nu2menu.xml
CODE
<!-- Nu2Menu entry for Unattended XP/2k installation -->
<NU2MENU>
    <MENU ID="Programs">      
 <MITEM TYPE="POPUP" MENUID="win_install">Windows XP/2000 installation</MITEM>    
     <MENU ID="win_install">
   <MITEM TYPE="POPUP" MENUID="XP_deploy">Windows XP</MITEM>
   <MITEM TYPE="POPUP" MENUID="2k_deploy">Windows 2000</MITEM>
     </MENU>
    </MENU>
<!-- Nu2Menu entry for Unattended XP installation -->
    <MENU ID="XP_deploy">
 <MITEM
     TYPE="ITEM"
     CMD="RUN"
     FUNC="@SetEnvVar('install_src_xp', @GetFolderDialog('Select Windows XP installation source. (folder where i386 located, for example F:\wxp_sp1)', @GetEnvVar('install_src_xp'))) @Reload()">
     1. Select Windows XP installation source (current=@GetEnvVar('install_src_xp'))</MITEM>
 <MITEM
     TYPE="ITEM"
     CMD="RUN"
     FUNC="@SetEnvVar('install_dst_xp', @GetFolderDialog('Select drive to install Windows XP. (for example C:\)', @GetEnvVar('install_dst_xp'))) @Reload()">
     2. Select Windows XP destination drive (current=@GetEnvVar('install_dst_xp'))</MITEM>
 <MITEM
     TYPE="ITEM"
     DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\UnattendWin\unattend_xp.exe))"
     CMD="RUN"
     FUNC="@GetProgramDrive()\Programs\UnattendWin\unattend_xp.exe">
     3. Prepare Answers File</MITEM>

 <MITEM TYPE="SEPARATOR"></MITEM>

 <MITEM
     TYPE="ITEM"
     DISABLED="@Or(
       @Not(@FileExists(@GetEnvVar('install_src_xp')\i386\winnt32.exe)),
       @Not(@GetEnvVar('install_dst_xp'))
         )"
     CMD="RUN"
     FUNC="@GetEnvVar('install_src_xp')\i386\winnt32.exe /tempdrive:@GetEnvVar('install_dst_xp')">
     Windows XP Installation</MITEM>
 <MITEM
     TYPE="ITEM"
     DISABLED="@Or(
       @Or(@Not(@FileExists(@GetEnvVar('install_src_xp')\i386\winnt32.exe)), @Not(@GetEnvVar('install_dst_xp'))),
       @Not(@FileExists(@GetTmpDir()\UnattendXP\unattend.inf))
         )"
     CMD="RUN"
     FUNC="@GetEnvVar('install_src_xp')\i386\winnt32.exe /unattend:@GetTmpDir()\UnattendXP\unattend.inf /tempdrive:@GetEnvVar('install_dst_xp')">
     Windows XP Unattended Installation</MITEM>    
    </MENU>    
<!-- /Nu2Menu entry for Unattended XP installation -->
<!-- Nu2Menu entry for Unattended 2k installation -->
    <MENU ID="2k_deploy">
 <MITEM
     TYPE="ITEM"
     CMD="RUN"
     FUNC="@SetEnvVar('install_src_2k', @GetFolderDialog('Select Windows 2000 installation source. (folder where i386 located, for example F:\w2k_sp4)', @GetEnvVar('install_src_2k'))) @Reload()">
     1. Select Windows 2000 installation source (current=@GetEnvVar('install_src_2k'))</MITEM>
 <MITEM
     TYPE="ITEM"
     CMD="RUN"
     FUNC="@SetEnvVar('install_dst_2k', @GetFolderDialog('Select drive to install Windows 2000. (for example C:\)', @GetEnvVar('install_dst_2k'))) @Reload()">
     2. Select Windows 2000 destination drive (current=@GetEnvVar('install_dst_2k'))</MITEM>
 <MITEM
     TYPE="ITEM"
     DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\UnattendWin\unattend_2k.exe))"
     CMD="RUN"
     FUNC="@GetProgramDrive()\Programs\UnattendWin\unattend_2k.exe">
     3. Prepare Answers File</MITEM>

 <MITEM TYPE="SEPARATOR"></MITEM>

 <MITEM
     TYPE="ITEM"
     DISABLED="@Or(
       @Not(@FileExists(@GetEnvVar('install_src_2k')\i386\winnt32.exe)),
       @Not(@GetEnvVar('install_dst_2k'))
         )"
     CMD="RUN"
     FUNC="@GetEnvVar('install_src_2k')\i386\winnt32.exe /tempdrive:@GetEnvVar('install_dst_2k')">
     Windows 2000 Installation</MITEM>
 <MITEM
     TYPE="ITEM"
     DISABLED="@Or(
       @Or(@Not(@FileExists(@GetEnvVar('install_src_2k')\i386\winnt32.exe)), @Not(@GetEnvVar('install_dst_2k'))),
       @Not(@FileExists(@GetTmpDir()\Unattend2k\unattend.inf))
         )"
     CMD="RUN"
     FUNC="@GetEnvVar('install_src_2k')\i386\winnt32.exe /unattend:@GetTmpDir()\Unattend2k\unattend.inf /tempdrive:@GetEnvVar('install_dst_2k')">
     Windows 2000 Unattended Installation</MITEM>
    </MENU>
<!-- /Nu2Menu entry for Unattended 2k installation -->
</NU2MENU>
<!-- /Nu2Menu entry for Unattended Win XP/2k installation -->


Plugin Help updated 29.01.2004 21:48
UnattendWin.htm
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <title>Unattended Windows XP/2000 installation</title>
</head>
<body>
<i>PE Builder v3 plugin</i>
<hr>
Plugin created by <a href="http://tel.co.ru">Victor Baskakov</a>
<br>rev 1.00
<h1>Unattended Windows XP/2000 installation</h1>

<h2>Unattend.inf</h2> is the answer file for Setup. An answer file is a way to script the answers for a series of graphical user interface (GUI) dialog boxes. <b>Unattend.inf</b> tells Setup how to interact with the distribution folders and files you create, and supplies Setup with all of the information that the end user provides during a typical Microsoft® Windows® setup. <br><br>For example, <b>Unattend.inf</b> contains a <b>FullName entry</b> in the <b>[UserData]</b> section that instructs Windows Setup to prompt the end user to provide a full name.
<br><br>Although the answer files for XP/2000 Setup ised in this plugin called Unattend.inf, for a network preinstallation you can name the file anything you like. For a CD-based Setup, you <b>must</b> name the answer file <b>Winnt.sif</b>.
<br><br>You can create or modify an Unattend.inf file by using a text editor</a><br>
<h2>HOWTO create selfextracting files</h2>
For WinRAR 3.20<br>
<br><pre>
1. Start WinRAR
2. Select your unattend.inf
3. "WinRAR\Menu\Commands\Add files to archive" (or press Alt+A)
4. In opened new window (caption:"Archive name and parameters") you have to do:    
    <b>At "General" tab:</b>
    4.1 Select compression metod: "Best"
    4.2 Archive format: "RAR"
    4.3 Archiving Options: select "SFX archive
    4.4 Archive name: "unttend_xp.exe" (or unattend_2k.exe)
    
    <b>At "Advanced" tab:</b><br><br>
    4.5 Press "SFX options" button<br><br>

5. In opened new window (caption: "Advanced SFX options") do:

    <b>At "General" tab:</b>
    
    5.1 Input field "Path to extract": type:"%Temp%\UnattendXP" (for XP template, or Unattend2k for 2k template)
    5.3 Unselect "Save and restore paths"
    5.2 Select "Create in the current folder"
    5.3 Input field "Run after extraction": "notepad.exe unattend.inf"
    
    <b>At "Modes" tab:</b>
    
    5.4 Silent mode: "Hide all"
    5.5 Overwrite mode: "Skip existing files"
    
    <b>At "Module" tab</b>
    
    5.6 Check that selected "Default.SFX Windows GUI RAR SFX"
    
6.    Press "OK" and "OK"<br><br></pre>

<hr>
<i>PE Builder
Copyright (c) 2002-2003 Bart Lagerweij. All rights reserved.</i><br>
</body>
</html>


Template for w2k unattend installation
w2k unattend.inf
CODE
;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated=0
   UnattendedInstall="Yes"

[MassStorageDrivers]
 ;"Win2000 Promise ULTRA100 (tm) controller (PDC20265)"=OEM

[OEMBootFiles]
 ;txtsetup.oem
 ;ultra.sys
 ;ultra.inf

[Unattended]
   UnattendMode=FullUnattended
   UnattendMode=DefaultHide
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINNT
   FileSystem=ConvertNTFS
   DriverSigningPolicy=Ignore
   OemPnPDriversPath = "winnt\driver~1"


[OEM_Ads]
 ;Background = "backgrd.BMP"
 ;Logo = "oemlogo.bmp"

[GuiUnattended]
   AdminPassword=password
   OEMSkipRegional=1
   TimeZone=145;russian (Moscow)
   OemSkipWelcome=1
   AutoLogon=Yes
   AutoLogonCount=1

[GuiRunOnce]
;"regedit /s settings.reg"
;"%windir%\temp\setup_00.bat"

[UserData]
   FullName="Put Your Name Here"
   OrgName=Put_Company_Name_Here
   ComputerName=Put_Computer_Name_Here
   ProductID=12345-12345-12345-12345-12345

[TapiLocation]
   CountryCode=7;russia
   Dialing=Tone;pulse
   AreaCode=095;Moscow

[RegionalSettings]
   LanguageGroup=5,1
   SystemLocale=00000419;russian
   UserLocale=00000419;russian
   InputLocale=0409:00000409,0419:00000419;english/russian

[Branding]
   BrandIEUsingUnattended=Yes

[Display]
   BitsPerPel = 16
   Vrefresh = 60
   Xresolution = 1024
   Yresolution = 768

[URL]
   Home_Page=about:blank
   Search_Page=http://www.ya.ru;your favorite search engine

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[Identification]
 ;JoinDomain=Put_Domain_name_here
 ;JoinWorkGroup=Put_workgroup_name_here

[Networking]
   InstallDefaultComponents=Yes

[Components]
   accessopt=off
   calc=on
   cdplayer=on
   certsrv=off
   certsrv_client=off
   charmap=on
   chat=off
   deskpaper=off
   dialer=off
   fp=off
   freecell=off
   hyperterm=off
   iis_common=off
   iisdbg=off
   iis_doc=off
   media_clips=on
   mswordpad=off
   paint=off
   pinball=off
   rec=off
   templates=off
   solitaire=Off
   minesweeper=Off
   objectpkg=off


Template unattend.inf for XP unattended installation
CODE
;SetupMgrTag
;WIN_XP unattendant installation file
; ver 1.10 20.01.2004 2:35
; developer Victor Baskakov

[Data]
   AutoPartition = 1
   MsDosInitiated = 0
   UnattendedInstall = Yes
 ;DisableAdminAccountOnDomainJoin = Yes
   UseBIOSToBoot = 1

[SetupParams]
 ;UserExecute="C:\folder1\folder2\example.exe /s1 /s2"
   
[MassStorageDrivers]
 ;"Win2000 Promise ULTRA100 (tm) controller (PDC20265)" = OEM

[OEMBootFiles]
 ;HAL_file_name
 ;SCSI_driver_file_name
 ;txtsetup.oem

[Unattended]
 ;OemFilesPath
 ;OemPnPDriversPath = "winnt\driver~1"
   AutoActivate = No
   CrashDumpSetting  =  0
   DUDisable = Yes
   DisableVirtualOemDevices = Yes
   DriverSigningPolicy = Ignore
   ExtendOemPartition = 0
   FileSystem = ConvertNTFS
   Hibernation = No
   OemPreinstall = Yes
   OemSkipEula = Yes
 ;OemFilesPath=$oem$
   OverwriteOemFilesOnUpgrade = Yes
   Repartition = No
   TargetPath = WinXP
   UnattendMode = FullUnattended
   UnattendSwitch = Yes
   WaitForReboot = No


[GuiUnattended]
   AdminPassword =
 ;AdvServerType = ServerNT
 ;Arguments = /n/s
   AutoLogon = Yes
   AutoLogonCount = 5
 ;DetachedProgram = "%SYSTEMDRIVE%\extras\install.exe"
 ;EncryptedAdminPassword = Yes
   OEMSkipRegional = 1
   OemSkipWelcome = 1
   ProfilesDir = "%SYSTEMROOT%\Profiles"
   ServerWelcome = No
   TimeZone = 145;Moscow

[GuiRunOnce]
;"regedit /s settings.reg"
;"%windir%\temp\setup_00.bat"

[UserData]
   ComputerName = "Put Your Computer Name Here"
   FullName = "Put Your Name Here"
   OrgName = "Put Your Company's name here"
   ProductKey = "12345-12345-12345-12345-12345"

[TapiLocation]
   CountryCode = 7;russia
   Dialing = Tone;Pulse
   AreaCode = 095;Moscow
   LongDistanceAccess = 9
   
[RegionalSettings]
   LanguageGroup = 5,1
   SystemLocale = 00000419;russian english 00000409
   UserLocale = 00000419;russian english 00000409
   InputLocale = 0409:00000409,0419:00000419;english, russian
   InputLocale_DefaultUser = 0409:00000409;english

[Branding]
   BrandIEUsingUnattended = Yes
 ;IEBrandingFile = MyFile.ins
   
[FavoritesEx]
 ;Title1 = MSN.url
 ;URL1 = http://www.microsoft.com/
 ;Title2 = MSNBC.url
 ;URL2 = http://www.msnbc.co

[Proxy]
   Proxy_Enable = 0
   Proxy_Override = <local>
   Use_Same_Proxy = 1
 ;FTP_Proxy_Server = http://proxyserver:80
 ;Gopher_Proxy_Server = http://proxyserver:80
 ;HTTP_Proxy_Server = http://proxyserver:80
 ;Secure_Proxy_Server = http://proxyserver:80
 ;Socks_Proxy_Server = http://proxyserver:80
   
[URL]
   Home_Page = about:blank
   Search_Page = http://www.ya.ru;edit for your favorite search engine
 ;AutoConfig = 1
 ;AutoConfigJSURL = http://configserver/autoconfig.js
 ;AutoConfigURL = http://configserver/autoconfig.ins
 ;Help_Page = http://configserver
 ;Home_Page = http://www.msn.com/
 ;Quick_Link_1_Name = "MS HomePage"
 ;Quick_Link_1 = http://www.microsoft.com/
 ;Quick_Link_2_Name = "MS Japan HomePage"
 ;Quick_Link_2 = http://www.microsoft.com/Japan

[Display]
   BitsPerPel = 16
   Vrefresh = 85
   Xresolution = 1024
   Yresolution = 768

[Identification]
 ;JoinDomain =
 ;DomainAdmin =
 ;DomainAdminPassword =
   JoinWorkGroup = "Put_Your_Workgroup_here"
 ;MachineObjectOU = "OU = myou,OU = myparentou,DC = mydom,DC = mycompany,DC = com"
   
[Networking]
   InstallDefaultComponents = Yes

[NetAdapters]
   Adapter1=params.Adapter1

[params.Adapter1]
   INFID=*    

[NetProtocols]
   MS_TCPIP=params.MS_TCPIP
   
[params.MS_TCPIP]
   DeadGWDetectDefault = No
   DNSDomain = "Your domain"
   DNSSuffixSearchOrder = "Your domain"
   DontAddDefaultGatewayDefault = No
 ;EnableICMPRedirect = No
   EnableLMHosts = No
   EnableSecurity = No
 ;ScopeID = REDMOND
 ;SyncDomainWithMembership = 1
   UseDomainNameDevolution = No
   AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
   SpecificTo = Adapter1
   DisableDynamicUpdate = No
   EnableAdapterDomainNameRegistration = No
   DefaultGateway = 192.168.140.1
   DHCP = No
 ;DHCPClassId = abc
 ;DNSDomain = "Your domain"
   DNSServerSearchOrder = 192.168.140.248, 192.168.140.249
   IPAddress = 192.168.139.18
   NetBIOSOptions = 1
   SubnetMask = 255.255.0.0
   WINS = Yes
   WINSServerList = 192.168.140.248, 192.168.140.249

;[MS_RAS parameters]
 ;AssignSameNetworkNumber = Yes
 ;AutomaticNetworkNumbers = No
 ;ClientCanRequestIPAddress = Yes
 ;ClientsCanRequestIpxNodeNumber = Yes
 ;DialinProtocols = TCP/IP
 ;IpAddressEnd = 193.1.1.200
 ;IpAddressStart = 193.1.1.100
 ;IPXClientAccess = ThisComputer
 ;Multilink = No
 ;NetworkNumberFrom = 0x000005ab
 ;RouterType = 3
 ;TcpIpClientAccess = ThisComputer
 ;UseDHCP = Yes

[Components]
   AccessOpt = Off
   AutoUpdate = Off
   BitsServerExtensionsISAPI = Off
   BitsServerExtensionsManager = Off
   IEAccess = Off
   OEAccess = Off
   Pop3Admin = Off
   Pop3Service = Off
   Pop3Srv = Off
   WMAccess = Off
   WMPOCM = Off
   calc = On
   cdplayer = Off
   certsrv = Off
   certsrv_client = Off
   certsrv_client = Off
   charmap = Off
   chat = Off
   clipbook = Off
   deskpaper = Off
   dialer = Off
   fax = Off
   fp = Off
   fp_extensions = Off
   fp_vdir_deploy = Off
   freecell = Off
   hearts = Off
   hypertrm = Off
   IEAccess = Off
   iis_common = Off
   iis_doc = Off
   iis_ftp = Off
   iis_inetmgr = Off
   iis_nntp = Off
   iis_nntp_docs = Off
   iis_pwmgr = Off
   iis_smtp = Off
   iis_smtp_docs = Off
   iis_webadmin = Off
   iis_www = Off
   iis_www_vdir_scripts = Off
   Iis_www_vdir_printers = Off
   iisdbg = Off
   indexsrv_system = Off
   licenseserver = Off
   media_clips = Off
   media_utopia = Off
   minesweeper = Off
   mousepoint = Off
   msmq_ADIntegrated = Off
   msmq_Core = Off
   msmq_HTTPSupport = Off
   msmq_LocalStorage = Off
   Msmq_MQDSService = Off
   Msmq_RoutingSupport = Off
   Msmq_TriggersService = Off
   msnexplr = Off
   mswordpad = Off
   objectpkg = Off
   objectpkg = Off
   paint = Off
   pinball = Off
   rec = Off
   reminst = Off
   rootautoupdate = Off
   rstorage = Off
   solitaire = Off
   spider = Off
   templates = Off
   TerminalServer=off
   TSWebClient=off
   WBEMSNMP=off
   WMAccess=off
   WMPOCM=off
   Wms=off
   Wms_admin_asp=off
   Wms_admin_mmc=off
   Wms_isapi=off
   Wms_server=off
   zonegames = Off
   
[Fax]
 ;ArchiveFolderName = %SystemDrive%\MsFax\SentItems
 ;ArchiveIncoming = True
 ;ArchiveIncomingFolderName = %SystemDrive%\MsFax\Inbox
 ;ArchiveOutgoing = True
 ;ArchiveOutgoingFolderName = %SystemDrive%\MsFax\SentItems
 ;Csid =
 ;FaxPrinterIsShared = True
 ;FaxPrinterName = MyFaxPrinter
 ;FaxUserName = PatC
 ;FaxUserPassword = 32*XXj
 ;ReceiveFaxes = True
 ;Rings = 3
 ;RouteFolderName = %SYSTEMDRIVE%\MsFax\NewFaxes
 ;RoutePrinterName = MyPrinter
 ;RouteToEmail = True
 ;RouteToEmailRecipient = PatC@fabrikam.com
 ;RouteToFolder = True
 ;RouteToPrinter = True
 ;SendFaxes = True
 ;SkipConfigWizardDeviceSettings = True
 ;SmtpNotificationsEnabled = True
 ;SmtpSenderAddress = PatC@fabrikam.com
 ;SmtpServerAddress = SMTP_1@fabrikam.com
 ;SmtpServerPort = 25
 ;SmtpServerAuthenticationMechanism = WindowsSecurity
 ;SuppressConfigurationWizard = True
 ;Tsid =

[InternetServer]
 ;PathFTPRoot = C:\Inetpub\Ftproot
 ;PathWWWRoot = C:\Inetpub\Wwwroot
 ;SA_InstallPath= C:\Inetpub\Wwwroot

[Shell]
 ;CustomDefaultThemeFile = "%SYSTEMDRIVE%\Themes\Windows Classic.theme"
   DefaultStartPanelOff = Yes
   DefaultThemesOff = Yes

[OsChooser]
 ;Description = "This is my description."
 ;Help = MyHelpTopic
 ;ImageType = Sysprep
 ;LaunchFile = "%Installpath%\%MachineType%\Vendortool.bin"
 ;Version = 123

[RemoteInstall]
 ;Repartition = Yes
 ;UseWholeDisk = Yes



[SystemFileProtection]
 ;SFCDllCacheDir = %SYSTEMROOT%\Windows\System32\Dllcache
 ;SFCQuota = FFFFFFFF
 ;SFCShowProgress = 0


[SystemRestore]
   CheckpointCalendarFrequency = 7;days
   CheckpointSessionFrequency = 10;hours
   MaximumDataStorePercentOfDisk = 10
   RestorePointLife = 30;days
   
[Uninstall]
   DisableCompression = No
   EnableBackup = No
 ;PathForBackup = "%SYSTEMDRIVE%\Backup

[Homenet]
 ;Bridge = MyAdapter1, MyAdapter2
 ;EnableICS = Yes
 ;ExternalAdapter = MyAdapter3
 ;InternalAdapter = MyAdapter4
 ;InternetConnectionFirewall = MyAdapter3
 ;InternalIsBridge = No
 ;ShowTrayIcon = Yes

[PCHealth]
   ER_Display_UI = 0
   ER_Enable_Applications = None
 ;ER_Enable_Kernel_Error = 1
   ER_Enable_Reporting = 0
 ;ER_Enable_Windows_Components = 1
 ;ER_Exclude_EXE1 = notepad.exe
 ;ER_Exclude_EXE2 = explorer.exe
 ;ER_Exclude_EXE3 = iexplore.exe
   ER_Force_Queue_Mode = 0
 ;ER_Include_EXE1 = notepad.exe
 ;ER_Include_EXE2 = explorer.exe
 ;ER_Include_EXE3 = iexplore.exe
   ER_Include_MSApps = 0
   ER_Include_Shutdown_Errs = 0
   RA_AllowFullControl = 0
   RA_AllowToGetHelp = 0
   RA_AllowUnsolicited = 0
   RA_MaxTicketExpiry = 600


end of topic no files croped
bask
Sorry, there was small typo in UnattendWin_nu2menu.xml, now fixed
bilou_gateux
Look very interesting.

It's just what i'm looking for a long time ago.

I'm going to try your fine works.

And reports any problem encountered.

Many thanks.

Can you give the link to download bootfix plugin or the post related to this stuff ?
bask
this plugin included with PE Builder, no additional file download required
bilou_gateux
OK, i've never enable this plugin and forget about his existence in PEBuilder.

But another question, i have WinRAR 3.20 and i don't find where i should give WinRAR the path to the code file wich contains SFX script commands.
I launch WinRAR GUI, select my unattend.inf file click Add file to archive, creates a SFX archive in the general options dialog, click to Advanced SFX options but don't find how to pass SFX scripts command.
I use a localized version of WinRAR a translate back the menu in english in this post to explain what i do. Maybe i don't use the real words ?

Not a PEBuilder or plugin related question but maybe can you help me ?

Thanks
bask
OK step by step about creating selfextracting files:
i will include it in help file.

CODE
1. Start WinRAR
2. Select your unattend.inf
3. "WinRAR\Menu\Commands\Add files to archive" (or press Alt+A)
4. In opened new window (caption:"Archive name and parameters") you have to do:
    
    At "General" tab:
    
    4.1 Select compression metod: "Best"
    4.2 Archive format: "RAR"
    4.3 Archiving Options: select "SFX archive
    4.4 Archive name: "unttend_xp.exe" (or unattend_2k.exe)
    
    At "Advanced" tab:
    
    4.5 Press "SFX options" button

5. In opened new window (caption: "Advanced SFX options") do:

    At "General" tab:
    
    5.1 Input field "Path to extract": type:"%Temp%\UnattendXP" (for XP template, or Unattend2k for 2k template)
    5.3 Unselect "Save and restore paths"
    5.2 Select "Create in the current folder"
    5.3 Input field "Run after extraction": "notepad.exe unattend.inf"
    
    At "Modes" tab:
    
    5.4 Silent mode: "Hide all"
    5.5 Overwrite mode: "Skip existing files"
    
    At "Module" tab
    
    5.6 Check that selected "Default.SFX Windows GUI RAR SFX"

6.    Press "OK" and "OK"


That is all.

Also I want to notice that this is the simpliest way to run your applications
from RAM disk
without any autoexec*.cmd with copying from CD to RAM disk
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.