Packaging Application in .Net
Document Sample


1. Select File->New->Project. 2. In the project panes, select Setup and deployment projects. In the templates pane, select setup project. 3. Change the name to "<samplesetup>", as my demo is creating a setup for a sample project. Click ok. 4.Select File->Add project->Existing Project. And add your project, in my case it is "sample". 5. Select the "File System on Target Machine" in the File system editor. 6. Select Action->Add Special Folder->Program Files folder. 7. Select the program files folder node. Select Action- >Add->folder. Type the name of the folder as "<samplesetup>". 8. To add the output, select Action->add->project output. Select "sample" from the drop down-list. Select primary output from the output list. 9. Click the ok button. 10. To create a shortcut on the desktop, in the details pane select primary output from sample. select action- >create shortcut to primary output. Change the shortcut name. Drag the shortcut to the user's Desktop node in the left pane. 11. To add a Dialog box--open your word pad, type your license agreement and save it as License.rtf i.e in Rich Text Format (RTF). 12. In the visual Studio .net, select View->Editor->User interface. In the install section, select start. select action->add dialog. In the add dialog box select License Agreement. And move it up, just after welcome dialog box. Select the license agreement node and press F4 for properties. Select the License File property, click the drop down arrow and click browse. 13. Build the Set up Project created. Note: To add an icon to the desktop shortcut, right click on the shortcut of Primary output Propertiesadd icon(only .ico) file in the folder where you have the Primary output.
Get documents about "