I've opened it up with Resource Hacker, and I would like to specify a directory to extract to. The default is the directory that the exe is currently in. What should I edit?
EDIT: Let me rephrase: I am trying to make a self-extracting archive, and I want it to default to a certain location, instead of its current directory i.e. instead of defaulting to X:\blah blah, I want it to default to C:\, for example.
Why would you use universal extractor on a sfx/exe archive?
That is the whole point of a self extractor isn't it? So you do not have to use a separate program.
Life is about the journey not the destination!
The Kazoo Spartan
I Have Used Resource Hacker To Edit A 7Zip Self Extractor.
I Actually Think John Has Done That With The Icon And Everything.
To Add Text You Have To Edit Some Stuff But You Can Get It To Display What You Want.
Its Very Easy.
You'll Find Out How To Edit It And Resave It
Na na na, come on!
The 7-Zip self-extractor installers aren't being used anymore by PortableApps.com apps. And the release of the NSIS-based PortableApps.com Installer for non-PortableApps.com apps is close at hand. It automatically uses a custom icon and other fun things.
Sometimes, the impossible can become possible, if you're awesome!
In other words, until the new version is released:
If you are installing one of the older apps with the self-extractor, install (extract) it into a temporary directory, then copy/move the directory tree to the place you want it to be. Its not elegant, but should work just this once. An "installer" is used by PA to put a pretty face on things; all it really needs is for the directory tree to be extracted.
The new version is likely to prompt you for a place to install, although if you install from the PAM it will put it in a standard location.
If you are making something new (not currently in the Suite), it's definitely better to model your work on one of the NSIS samples than on the 7-zip self-extractor. NSIS is very flexible and pretty easy.
MC