Use self-extracting exe: extract to a user's profile?
Basically I’m trying to create a self extracting exe that will extract to c:\Documents and Settings<username>\Application Data\Microsoft\…
However, I can’t seem to find a sysvariable that’ll work with PA which resolves to a username! Help!</username>
what SFX are you using?
I’ve been using ZIP but can use whatever… this is with PA 2007 (paid copy)
you can pick up folders from registry:
example from help:
Default UnZip To folder: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir|MySoftware
Typically: C:\Program Files\Common Files\MySoftware
this will work with ZIP SFX for sure.
I looked in that registry area. I didn’t see anything for documents and settings
Here you go:
Google is your friend
Haha I actually googled it on my own and figured it out this morning. I didn’t even know the reply. I came to find my answer.
Here’s the key I had to build: