Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: PInvoke and classes Pin
Anonymous16-Sep-03 1:54
Anonymous16-Sep-03 1:54 
GeneralRe: PInvoke and classes Pin
Daniel Turini16-Sep-03 3:15
Daniel Turini16-Sep-03 3:15 
QuestionSimple way to start a process? Pin
james-cxx15-Sep-03 18:57
james-cxx15-Sep-03 18:57 
AnswerRe: Simple way to start a process? Pin
J. Dunlap15-Sep-03 19:15
J. Dunlap15-Sep-03 19:15 
Generaldeployment help Pin
zecodela15-Sep-03 18:44
zecodela15-Sep-03 18:44 
GeneralRe: deployment help Pin
Daniel Turini16-Sep-03 0:57
Daniel Turini16-Sep-03 0:57 
GeneralRe: deployment help Pin
zecodela16-Sep-03 4:07
zecodela16-Sep-03 4:07 
GeneralRe: deployment help Pin
sumeat16-Sep-03 11:20
sumeat16-Sep-03 11:20 
Hi,

I recently had to build a installation program to install my application and I tried to do it using the "Deployment" project in Visual Studio.Net. After much research and help from the folks on this message board I was able to build the installation package.

There are 2 things to be done:

1. Create a new project of type "Deployment" and add all the components of your application to this project. You can specify the folders they need to be on the target computer, the icons/shortcuts on the desktop, the item in the Start->Program Menu, etc.

On building this project it will generate a .wsi file, a setup.exe along with other files. All the files generated in the Debug directory constitute the installation package.

The above package will run perfectly on any computer as long as it has .NET framework installed on it. If not then you have do the second thing.

2. Download the BootStrapper sample from the following link:

http://www.microsoft.com/downloads/details.aspx?FamilyId=BF253CFD-1EFC-4FC5-BA7E-6A6F21403495&displaylang=en

Its in unmanaged C++. Build it and it will generate a setup.exe. It also has a settings.ini file.

Copy the setup.exe and settings.ini into a folder, say, myfolder. Then copy the .wsi generated in step 1 above into myfolder. Then copy the dotnetfx.exe (the .net framework installer) into myfolder.

The dotnetfx.exe can be downloaded from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=D7158DEE-A83F-4E21-B05A-009D06457787&displaylang=en

All files in myfolder now constitute your new installation package. This installation will first check if .NET is installed or not on the target computer, if not, then it will silently install it and then it will install your application.

I hope this helps.

Suhas
GeneralRe: deployment help Pin
zecodela16-Sep-03 13:48
zecodela16-Sep-03 13:48 
Generalproblem with stringwriter Pin
KSEI15-Sep-03 18:32
KSEI15-Sep-03 18:32 
GeneralRe: problem with stringwriter Pin
Daniel Turini16-Sep-03 1:01
Daniel Turini16-Sep-03 1:01 
GeneralRe: problem with stringwriter Pin
KSEI16-Sep-03 17:08
KSEI16-Sep-03 17:08 
GeneralC# Web Message Box Pin
gmhanna15-Sep-03 14:13
gmhanna15-Sep-03 14:13 
GeneralRe: C# Web Message Box Pin
Nick Seng15-Sep-03 15:42
Nick Seng15-Sep-03 15:42 
GeneralDialogs to Forms Pin
gmhanna15-Sep-03 14:11
gmhanna15-Sep-03 14:11 
GeneralCalling C routine from C# Pin
gmhanna15-Sep-03 14:07
gmhanna15-Sep-03 14:07 
GeneralRe: Calling C routine from C# Pin
Nick Seng15-Sep-03 15:50
Nick Seng15-Sep-03 15:50 
QuestionSQL anyone ? Pin
Frank Olorin Rizzi15-Sep-03 10:18
Frank Olorin Rizzi15-Sep-03 10:18 
AnswerRe: SQL anyone ? Pin
Rob Graham15-Sep-03 11:02
Rob Graham15-Sep-03 11:02 
GeneralRe: SQL anyone ? Pin
Frank Olorin Rizzi16-Sep-03 1:24
Frank Olorin Rizzi16-Sep-03 1:24 
AnswerRe: SQL anyone ? Pin
Arjan Einbu15-Sep-03 11:08
Arjan Einbu15-Sep-03 11:08 
GeneralRe: SQL anyone ? Pin
Frank Olorin Rizzi16-Sep-03 1:24
Frank Olorin Rizzi16-Sep-03 1:24 
AnswerRe: SQL anyone ? Pin
Daniel Turini16-Sep-03 0:54
Daniel Turini16-Sep-03 0:54 
GeneralRe: SQL anyone ? Pin
Frank Olorin Rizzi16-Sep-03 1:27
Frank Olorin Rizzi16-Sep-03 1:27 
AnswerRe: SQL anyone ? Pin
Frank Olorin Rizzi16-Sep-03 3:12
Frank Olorin Rizzi16-Sep-03 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.