Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,052 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,556 people online right now. Registration is fast and FREE... Join Now!




Deploying applications with IExpress

 
Reply to this topicStart new topic

> Deploying applications with IExpress, How to deploy an application, using the IExpress tool.

PixelCard
Group Icon



post 21 Jul, 2008 - 01:35 PM
Post #1


Any developer has the need to deploy his applications to the end-user. If the application is very small, creating a full-featured installer is not very convenient. In this case is easier to create a self-extracting/self-installing package, that will just automatically extract the application files in a directory, specified by the user. This way of deployment takes much less computer resources and time, when it comes to small application or file blocks.

IExpress is a hidden tool, bundled with Windows, that permits creating self-extracting/self-installing packages with just a few clicks. In this tutorial I will show, how to create a self-extracting package for my application.

Special Tutorial Requirements:
  • Windows XP / Vista

So, let's begin.

1. Launch the 'Run' dialog, through 'Start -> Run...' (if you are using Windows XP), 'Start -> All Programs -> Accessories -> Run' (if you are using Windows Vista) or by just using the keyboard shortcut - 'Win + R':

IPB Image

IPB Image

2. To launch IExpress, type 'iexpress' in the 'Open' field and press Enter:

IPB Image

The IExpress wizard launches:

IPB Image

As I am creating a new self-extracting package, I will leave the selection at 'Create new Self Extraction Directive file'.

3. Now I have to select the package purpose. I will select 'Extract files only', as my application is very small and doesn't require any additional libraries (so, I don't need an installer). If you want to distribute your installation package by bundling it in a self-extracting package, you must select the 'Extract files and run an installation command' option. If you want to create a CAB file, you must select the 'Create compressed files only (ActiveX Installs)' option.

IPB Image

4. Now I have to enter the package title. You can enter here the name of the application:

IPB Image

5. If I want, I can specify a confirmation prompt. This prompts the user, if he wants to install the package. I will select the 'Prompt user with' option and will enter here a sample text:

IPB Image

6. If I want to show a license agreement, you can specify it in the next step. You just have to select the 'Display a license' option and specify the license file, if you have one. Otherwise, use the 'Do not display a license' option:

IPB Image

7. Now I have to select the package files. I will use the 'Add' button to add the files:

IPB Image

8. When I've selected all files, I have to specify how my installation program's window will be displayed. I have these options: 'Default', 'Hidden', 'Minimized', 'Maximized'. I will select the 'Default' option:

IPB Image

9. If I want, I can specify the finish message. This message will be displayed at the end of the extraction process.

IPB Image

10. Now I have to specify the package file name. I also must specify some additional options. I will leave the default options, but I have the opportunity to hide the file extracting progress animation from user.

IPB Image

IPB Image

11. In the next step, I can specify if I want to save the Self Extraction Directive file. If I save it, I can re-use it again to create a new package, without entering the same information. I will save it:

IPB Image

Now I'm ready to create the package:

IPB Image

If my package was successfully created, I will see this message:

IPB Image

There I can see the compression rate, the time it took to process the package and the throughput.

In the specified folder I can see the new package:

IPB Image

This tutorial showed the basics of deploying an application using the IExpress tool. You can also use this tool to create self-extracting/self-installing packages for any files you want to distribute.
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

PsychoCoder
Group Icon



post 22 Jul, 2008 - 07:01 AM
Post #2
Nice tutorial, I didn't even know that existed icon_up.gif
Go to the top of the page
+Quote Post

aj32
Group Icon



post 22 Jul, 2008 - 10:10 AM
Post #3
lol, I used to use that, I found it because I was messing around with all the windows dll files in system32! tongue.gif
Go to the top of the page
+Quote Post

jagatworld
Group Icon



post 9 Sep, 2008 - 12:48 AM
Post #4
Toooo good.

Lots of thanks...... I too, never expected this hidden and undocumented tool of Windows.......

thanks a lot.
Go to the top of the page
+Quote Post

Moonbat
Group Icon



post 16 Oct, 2008 - 08:09 PM
Post #5
I had no idea something like this came with Windows, thanks a bunch! biggrin.gif
Go to the top of the page
+Quote Post


Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 12/1/08 05:42PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month