1. 다운로드 7zsd.sfx
http://7zsfx.solta.ru/en/2. 설정파일 생성(예: config.txt)
;!@Install@!UTF-8!
InstallPath="%Programfiles%\\7zzzz"
GUIMode="2"
;!@InstallEnd@!
3. 명령창에서
copy /b 7ZSD.sfx + config.txt + [7z압축파일명] [생성될설치파일명]
Use the above directions + additionally add the following to 'config.txt':
RunProgram="hidcon:setup.cmd"
Change 'setup.cmd' to whatever. If you don't run a batch file, then remove the 'hidcon:' part(it's used to hide the console window). You can run 'msi' files directly without using 'msistub.exe' or 'msiexec.exe' with this modified 7z SFX installer module(7ZSD.sfx). Btw, if you don't want a fixed extraction path and just want to use the temp folder, and also have the folder with the extracted files deleted afterwards, then remove the following from 'config.txt' :
InstallPath="x"
'tool' 카테고리의 다른 글
탐색기에서 현재 경로 커맨드창으로 열기 (0) | 2014.04.23 |
---|---|
doxygen (0) | 2011.12.06 |
crash dump (0) | 2011.11.11 |
WinDbg (0) | 2011.01.30 |
VC .Net에서 산출물(output/intermediate) 관리하기 (0) | 2010.12.23 |