It’s like iexpress.exe
on caffeine!
This repo contains tools for creating more useful iexpress.exe packages:
- Silently extract all files to the current working directory (SFX-style)
- Run batch scripts that execute from the current directory instead of %TEMP%
This functionality is not readily available via iexpress.exe itself.
-
Include
iespress.vbs
andiespress.bat
(along with all your other files) in youriexpress.exe
package or silent installer. -
The install line (set in the IExpress Wizard) MUST look like the following:
cmd.exe /c iespress.bat "..."
-
Optional: Replace
"..."
above with a command to run AFTER extraction. The command will be run with the location of the original package's EXE file as the current working directory. (Normally, all such commands would be run from whatever %TEMP% directory theiexpress.exe
package saw fit to extract itself to. This gives you a little bit more flexibility.) -
Done. All files in the package (except for the files
iespress.vbs
andiespress.bat
) will be extracted to the current working directory, and your installer may be run.
You may wish for your files to be extracted to a subdirectory bearing the same name as the original package instead of having them expand all willy-nilly to the current working directory. This functionality may come in a future version of iespresso, but for now, you’ll just have to hard-package your files in a folder during the IExpress Wizard if you want your files to be expanded to a directory level below the original package.
- http://msdn.microsoft.com/en-us/library/ff553615.aspx
- http://stackoverflow.com/questions/13534699/iexpress-extraction-path/13700281#13700281
- http://msdn.microsoft.com/en-us/library/aa394599(v=vs.85).aspx
- User “Pipo” for the beautiful (and free) Espresso icon! :-)
Boost Software License, Version 1.0: http://www.boost.org/LICENSE_1_0.txt