wing_bbs Posted March 20, 2007 Share Posted March 20, 2007 I have severial folders should be moved to windows\temp during the installation process, but i don't want to use $oem$ to move them. I want to integrate them into the I386 folder and copy them through modifiying TXTSETUP.SIF.Is there anyone have ideas for this? Link to comment Share on other sites More sharing options...
rajesh.kumar Posted March 20, 2007 Share Posted March 20, 2007 (edited) to set %systemdrive%\Temp as default temp folder : u can change the path accordingly to whereever u want.place createTemp.cmd file inside SVCPACK dir and add the following in svcpack.inf : [setupHotfixesToRun]createTemp.cmd createTemp.cmd-------------------@echo offTITLE Create temp directorycd /d %SystemDrive%md %SystemDrive%\TempFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\XP_SP2.CD SET CDROM=%%i:%systemroot%\regedit.exe /s %CDROM%\$OEM$\Appz\createTemp.regexitcreateTemp.reg------------------Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,65,00,6d,00,70,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,65,00,6d,00,70,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Session Manager\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00 Edited March 20, 2007 by rajesh.kumar Link to comment Share on other sites More sharing options...
wing_bbs Posted March 21, 2007 Author Share Posted March 21, 2007 Thx! But your method is too complex and I want to use TXTSETUP.SIF. Link to comment Share on other sites More sharing options...
wing_bbs Posted March 22, 2007 Author Share Posted March 22, 2007 help! Link to comment Share on other sites More sharing options...
phan Posted March 22, 2007 Share Posted March 22, 2007 put your file(s) into i386 and add line(s) under [sourceDisksFiles] like this[sourceDisksFiles]myfile.ext = 1,,,,,,,45,0,0The number 45 means %systemroot%\Temp (see section [WinntDirectories])If you dont want your files have to be in i386 but another folder just define a source ID in [sourceDisksNames.x86] sectionsee also http://www.msfn.org/board/index.php?showtopic=14852 Link to comment Share on other sites More sharing options...
phan Posted March 22, 2007 Share Posted March 22, 2007 put your file(s) into i386 and add line(s) under [sourceDisksFiles] like this[sourceDisksFiles]myfile.ext = 1,,,,,,,45,0,0The number 45 means %systemroot%\Temp (see section [WinntDirectories])If you dont want your files have to be in i386 but another folder just define a source ID in [sourceDisksNames.x86] sectionsee also http://www.msfn.org/board/index.php?showtopic=14852 Link to comment Share on other sites More sharing options...
vladoh Posted March 24, 2007 Share Posted March 24, 2007 Can someone send me bios update for dell inspiron 6400 date 2007.2.6 (mm061a13)thank's in advance Link to comment Share on other sites More sharing options...
wing_bbs Posted March 25, 2007 Author Share Posted March 25, 2007 Thx. But your way only move single file to the destination folder. I have already known it.But I need move a folder to the destination folder. For example: move a folder to windows\temp\ during installation process. Link to comment Share on other sites More sharing options...
Yzöwl Posted March 25, 2007 Share Posted March 25, 2007 I have been doing this for a couple of years now, using HFSLIP. I'm not sure whether folders are moved with the script as it is at present, because I rewrote a section of it to give myself this functionality. The guys on that forum will be able to advise you better. Link to comment Share on other sites More sharing options...
wing_bbs Posted March 26, 2007 Author Share Posted March 26, 2007 How do it ? Can you tell me your method in detail? Thank you a lot! Link to comment Share on other sites More sharing options...
Yzöwl Posted March 26, 2007 Share Posted March 26, 2007 How do it ? Can you tell me your method in detail? Thank you a lot!No!Go to the HFSLIP forum and ask them there. The project has come a long way and at present I am not sure if the changes I made to the code for my own purposes will still work. The method I used however is similar to that which has already been mentioned, using TXTSETUP etc. to define destination directories and move the specified files to that location. Link to comment Share on other sites More sharing options...
wing_bbs Posted March 26, 2007 Author Share Posted March 26, 2007 Oh! I misunstanded your mean, Sorry. Link to comment Share on other sites More sharing options...
phan Posted March 26, 2007 Share Posted March 26, 2007 AFAIK txtsetup.sif does not support wildcard or just folder name. But you can pack all your files and subfolders (recursive) in 1 self-extracting rar or 7z file and copy it via txtsetup.sif, right? MS does copying driver.cab in the same way. Link to comment Share on other sites More sharing options...
Yzöwl Posted March 26, 2007 Share Posted March 26, 2007 Just to clarify, using dosnet.inf and txtsetup.sif I do create destination directories and place all pertinent files there as part of my modified HFSLIP script. If I wanted to put a folder full of files into C:\WINDOWS\Temp\MyDir, I could. 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