March 20, 200719 yr 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?
March 20, 200719 yr 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, 200719 yr by rajesh.kumar
March 22, 200719 yr 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
March 22, 200719 yr 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
March 24, 200719 yr Can someone send me bios update for dell inspiron 6400 date 2007.2.6 (mm061a13)thank's in advance
March 25, 200719 yr Author 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.
March 25, 200719 yr 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.
March 26, 200719 yr 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.
March 26, 200719 yr 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.
March 26, 200719 yr 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.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now