February 23, 200719 yr 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"?
February 24, 200719 yr Author "%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.
February 24, 200719 yr 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, 200719 yr by SRJ
Create an account or sign in to comment