vphreeze Posted February 23, 2007 Posted February 23, 2007 sorry, i know this is probably a stupid question. i am trying to create a self-extracting file that contains a couple programs that dont need installation that i want to include in my modified XP install. what parameters do i need to put for it to extract to "C:\Program Files\Utilities"?
vphreeze Posted February 24, 2007 Author Posted February 24, 2007 "%programfiles%\Utilities"ok, here is what i have...Archive format is on 7z, Create SFX archive is checked, and Create Solid archive is checked, and everything else is on its default setting. i read in the FAQ on the 7-zip site that the output directory parameter is /D=dir. so do i put /D=%programfiles%\Utilities? i have tried several different combinations with and without "dir", and with and without quotes and i still am not getting it. could you show me what the entire Parameters: field should read?once again, i apologize, i know this is gonna be something simple that i am missing.
SRJ Posted February 24, 2007 Posted February 24, 2007 (edited) This can be tricky as the /D option you've been using is actually for a silent install of 7-zip itself not 7-zip created SFX's. Here's what I'd use for your situation:Your_7-zip-SFX.exe -y -ao -o%programfiles%\Utilities-y -> 'Yes' to any dialog boxes that may appear-ao -> Overwrite all files-o -> Directory you want the archive to extract to Edited February 24, 2007 by SRJ
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