Jump to content

foxyshadis

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About foxyshadis

foxyshadis's Achievements

0

Reputation

  1. cd to the folder and call 7zip from there: @echo off cd /d C:\7-Zip\spUpdate ..\7za a ".\spUpdate.7z" @".\spZip.txt" copy /b ..\7zsd.sfx + ".\spUpdateConfig.txt" + ".\spUpdate.7z" ".\spUpdate.exe Modify your file list accordingly. Now I have a question of my own. How do I specify that the folder I want to decompress into should be an ntfs-compressed folder? That would cut down enormously on the disk thrashing, and with today's processors it's virtually zero overhead. Unfortunately, it seems like I can't do anything or call any files pre-decompression, short of making my own loader. Is this possible now, or can it be put into the sfx?
  2. The simplest way on an existing installation is to move the entire folder over offline (ie, bartpe or similar), keeping permissions, and then create a junction point from the old to the new. You don't even have to worry about changing anything's referenced drive letters. From a clean install, you need to use setup.exe's /unattend with an xml answer file. You can make a basic one with the AIK (Automated Installation Kit), and the location to change is Microsoft-Windows-Shell-Setup\FolderLocations, ProfilesDirectory=D:\whatever. (As in this blog.) If you don't want to download 1.5gigs just for that, here's a sample xml: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <FolderLocations> <ProfilesDirectory>D:\Users</ProfilesDirectory> </FolderLocations> </component> </settings> </unattend>
×
×
  • Create New...