Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is a copy of a Self Extraction Directive (SED) file. Keep in mind you can IExpress 2.0 to create an .EXE for many items like batch files, Inf files, VBS files and other .exe files. For this purpose we are talking about VBScripts. You can edit this file and "recompile" your .exe. Why would you want recompile your .exe? To name a few you might find unwanted behavior in your VBS or you may need to add additional files and you don't want to have to go through the entire IExpress setup again, so you would change data in this file and in two clicks your app is recompiled.
- First, let�s talk about some important sections in this SED file. There are five sections Version, Options, Strings, SourceFiles, and SourceFiles0. When editing your SED files you will be mostly working in the Strings, SourceFiles, and SourceFiles0 sections, most of the Options section was done when you created the package for the first time.
- Here is the strings section with comments:
- [Strings]
- InstallPrompt= �Use if you want the user to confirm your install, I never use this option.
- DisplayLicense= �Use if you have an EULA or the like, I never use this option.
- FinishMessage= �If you want to inform the user that your install is done.
- TargetName= �The directory path and name of your .EXE
- FriendlyName= �This is the package title and what is help in memory.
- AppLaunched= �This is the command line REMEMBER to use quotes around directory paths with spaces
- PostInstallCmd= �If you have an app that need to run last put the command line here.
- AdminQuietInstCmd= �You use this to tell IExpress when given the /q:a switch what command to use for the internal exe, vbs, hta, etc.
- UserQuietInstCmd= �You use this to tell IExpress when given the /q switch what command to use for the internal exe, vbs, hta, etc.
- FILE0= �The name of the source file. Every file you include will have a FILE1= or FILE2= and so on.
- Here are the SourceFiles and SourceFiles0 sections:
- [SourceFiles]
- SourceFiles0= �The directory path containing all of the source files listed in this SED file.
- [SourceFiles0] �For every FILEx= listed in the strings section you MUST have the variable listed here.
- %FILE0%=
- %FILE1%=
- %FILE2%=
- Complete Self Extraction Directive(SED) for an app called HelloWorld.EXE
- [Version]
- Class=IEXPRESS
- SEDVersion=3
- [Options]
- PackagePurpose=InstallApp
- ShowInstallProgramWindow=1
- HideExtractAnimation=1
- UseLongFileName=1
- InsideCompressed=0
- CAB_FixedSize=0
- CAB_ResvCodeSigning=0
- RebootMode=N
- InstallPrompt=%InstallPrompt%
- DisplayLicense=%DisplayLicense%
- FinishMessage=%FinishMessage%
- TargetName=%TargetName%
- FriendlyName=%FriendlyName%
- AppLaunched=%AppLaunched%
- PostInstallCmd=%PostInstallCmd%
- AdminQuietInstCmd=%AdminQuietInstCmd%
- UserQuietInstCmd=%UserQuietInstCmd%
- SourceFiles=SourceFiles
- VersionInfo=VersionSection
- [VersionSection]
- FileDescription=Installer for Hello World
- LegalCopyright=
- CompanyName=Your Company Name
- FileVersion=1.1
- InternalName=Hello World
- OriginalFilename=Hello_World
- ProductName=Hello World
- ProductVersion=1.1
- [Strings]
- InstallPrompt=
- DisplayLicense=
- FinishMessage=
- TargetName=C:\Scripts\Iexpress_Installs\HelloWorld.EXE
- FriendlyName=Hello World
- AppLaunched=C:\Windows\system32\wscript.exe Hello.vbs
- PostInstallCmd=<None>
- AdminQuietInstCmd=
- UserQuietInstCmd=
- FILE0="Hello.vbs"
- FILE1="example.txt"
- [SourceFiles]
- SourceFiles0=C:\Scripts\Iexpress_Installs\
- [SourceFiles0]
- %FILE0%=
- %FILE1%=
Advertisement
Add Comment
Please, Sign In to add comment