Skip to main content
Email Password   helpLost your password?

Introduction

My customer had come up with two questions when i am trying to deliver my project.

1. Need only one Standalone installation packages to install the application in users machine.

2. Application should install in silent/unattended mode.

Basically my client's support division not familiar with the distribution of software and not familiar with .net framework dependency. So my client wants to maintain a single installer file which helps the admin/support to install the application in target machine by just double clicking on it.

Silent/unattend/hands-free mode: Installation is one which does not require user interaction, except the indication of progress.

First of all i thought Visual Studio 2005 comes with lots of setup and deployment wizards, so it must have one type which generates the single self extract setup file to install the application and the .net framework prerequesties. But when i tried, VS 2005 gave me two files rather than one package.


1. setup.exe - used to install the .net prerequesites if the target machine not have one.

2. myproject.msi - contains all my project exe and dependency files.

I am sure it can be achieved through the giant deployment softwares like installshield, wise and winzip. But the license matters makes me think lot. It took sometime to find the solution but i managed to find a way to get it done by using Microsoft IExpress.

IExpress

IExpress is a utility which comes with the IE Administrative Kit (IEAK) (hidden program :-).

IExpress creates an output file, and executable (.exe) that contains all the files specified, and the instructions to carry out the extraction of these files. The files are stored compressed in Microsoft's cabinet format.

Click the Start Button, goto Run and type "iexpress".

More information can be found here.

Assumptions

I have assumed that the readers of this article must be familiar with Visual Stuidio 2005 setup and deployment wizard and functionalities.

Steps to make self extract package:

In brief,

Step to make the installation in silent/unattended mode:

Step to create the installation files / dependent files in a standalone installation package.

After the steps are done now we will have only one package to distribute to the admin. It is very easy for them to keep only one file in their repository rather than multiple files. .

History

23 Aug - Initial Draft

25 Oct - Updated article with more explanation (thanks bill)

Note: After reading this article, please pass your comments and suggestion. It help me to correct my mistakes and can help other new readers.

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralSetup with Prequisites Pin
myvbtest
20:32 10 Jun '08  
GeneralFacing Problem when uses change option in Add/Remove from control panel for the installed product Pin
Member 2157491
22:18 3 Jun '08  
GeneralUsing this with Micorosft Component Installer 2.0 SDK Pin
Laimis
13:46 13 Nov '07  
QuestionUsing Genuine ClickOnce Pin
Johan Fourie
13:43 24 Oct '06  
AnswerRe: Using Genuine ClickOnce Pin
Ramkumar Vasudevan
6:47 25 Oct '06  
General"ClickOnce" is NOT what you are describing Pin
BillWoodruff
10:22 23 Oct '06  
AnswerRe: "ClickOnce" is NOT what you are describing Pin
Ramkumar Vasudevan
10:52 23 Oct '06  
GeneralRe: "ClickOnce" is NOT what you are describing Pin
BillWoodruff
22:39 23 Oct '06  
GeneralRe: "ClickOnce" is NOT what you are describing Pin
Ramkumar Vasudevan
6:55 25 Oct '06  
GeneralAdding Framework file Pin
jsudhakar
0:32 30 Aug '06  
AnswerRe: Adding Framework file [modified] Pin
Ramkumar Vasudevan
5:24 30 Aug '06  
AnswerRe: Adding Framework file Pin
Ramkumar Vasudevan
9:47 30 Aug '06  
GeneralRe: Adding Framework file Pin
jsudhakar
22:59 30 Aug '06  
GeneralRe: Adding Framework file Pin
DeathCrud
17:57 28 Nov '06  
GeneralRe: Adding Framework file[Getting Myapplication.msi file not found while running setup programme) [modified] Pin
RameshwerE
23:55 24 Aug '07  
GeneralRe: Adding Framework file[Getting Myapplication.msi file not found while running setup programme) Pin
glenioalexandre
10:37 6 Nov '07  
GeneralRe: Adding Framework file[Getting Myapplication.msi file not found while running setup programme) Pin
glenioalexandre
11:03 6 Nov '07  
GeneralWhy not MSIEXEC? Pin
Oleg Shilo
19:35 25 Aug '06  
GeneralRe: Why not MSIEXEC? Pin
Ramkumar Vasudevan
17:26 26 Aug '06  


Last Updated 25 Oct 2006 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009