Click here to Skip to main content
15,887,832 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Control OnPaint() Problem(Modified) Pin
Douglas Troy17-Sep-03 8:51
Douglas Troy17-Sep-03 8:51 
GeneralSMS via UCP in C# Pin
User 31295917-Sep-03 5:24
User 31295917-Sep-03 5:24 
GeneralSetting Left Margin when printing... Pin
.gonad17-Sep-03 5:04
.gonad17-Sep-03 5:04 
GeneralRe: Setting Left Margin when printing... Pin
.gonad17-Sep-03 5:34
.gonad17-Sep-03 5:34 
QuestionHow to implement a simply textcontrol in a picturebox? Pin
kfowlks17-Sep-03 4:48
kfowlks17-Sep-03 4:48 
Generalpackage and deployment related question Pin
Tridip Bhattacharjee17-Sep-03 4:26
professionalTridip Bhattacharjee17-Sep-03 4:26 
GeneralRe: package and deployment related question Pin
Arun Bhalla18-Sep-03 7:19
Arun Bhalla18-Sep-03 7:19 
GeneralRe: package and deployment related question Pin
sumeat18-Sep-03 15:24
sumeat18-Sep-03 15:24 
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



Those who can, do, those who cannot, teach.
GeneralRe: package and deployment related question Pin
Braulio Dez19-Sep-03 2:19
Braulio Dez19-Sep-03 2:19 
Questionhow to loop in control collection?? Pin
Tridip Bhattacharjee17-Sep-03 4:13
professionalTridip Bhattacharjee17-Sep-03 4:13 
AnswerRe: how to loop in control collection?? Pin
Mazdak17-Sep-03 7:53
Mazdak17-Sep-03 7:53 
Questionhow to handle click event for a multiple button ?? Pin
Tridip Bhattacharjee17-Sep-03 4:00
professionalTridip Bhattacharjee17-Sep-03 4:00 
AnswerRe: how to handle click event for a multiple button ?? Pin
MrEyes17-Sep-03 4:28
MrEyes17-Sep-03 4:28 
GeneralWhy disable debug Pin
Old Gun17-Sep-03 3:37
Old Gun17-Sep-03 3:37 
Generalinterop struct types Pin
Tym!17-Sep-03 2:59
Tym!17-Sep-03 2:59 
GeneralMarshaling Structs Reference Pin
Tym!17-Sep-03 4:26
Tym!17-Sep-03 4:26 
GeneralEditable ListView items Pin
Rickard Andersson2017-Sep-03 1:28
Rickard Andersson2017-Sep-03 1:28 
GeneralRe: Editable ListView items Pin
JoeGunchy17-Sep-03 9:22
JoeGunchy17-Sep-03 9:22 
GeneralRe: Editable ListView items Pin
Rickard Andersson2017-Sep-03 10:46
Rickard Andersson2017-Sep-03 10:46 
GeneralWindows service, OnShutDown not executed Pin
EnkelIk16-Sep-03 23:18
EnkelIk16-Sep-03 23:18 
GeneralRe: Windows service, OnShutDown not executed Pin
EnkelIk16-Sep-03 23:36
EnkelIk16-Sep-03 23:36 
GeneralKeyboard hooks - Problem Pin
CyberKewl16-Sep-03 22:21
CyberKewl16-Sep-03 22:21 
Generalunicode in c# Pin
Anonymous16-Sep-03 21:13
Anonymous16-Sep-03 21:13 
GeneralRe: unicode in c# Pin
Oleksandr Kucherenko17-Sep-03 0:02
Oleksandr Kucherenko17-Sep-03 0:02 
GeneralOne ScrollBar controls two DataViews Pin
JoeGunchy16-Sep-03 14:40
JoeGunchy16-Sep-03 14:40 

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.