Welcome to www.programmer2programmer.net tips for IT Interview Questions of VB.NET and C# Setup and deployment


 Microsoft Certification
 Final Year Project Idea
 Connection Strings
 Password Recovery
 SQL Injection
 Encryption & Decryption
 LIVE Academic Project
 Project #1 - VB6, Access
  Project #2 - VB.Net, SQL
 Project #3 - ASP, Access
 Project #4 - ASP.NET, C#
 Project #5 - VB6, SQL
 Project #6 - Stegano
 Project #7 - C
 Project #8 - C++
 Project #9 - JAVA, MySQL
 Project #10- PHP, MySQL
 Project #11- JSP, Oracle
 Project #12- C# Face Exp
 Project #13- Mobile Bank
 Download MBA Project
 MBA Project Topic
 Project Viva Question
  2018 New Projects
 Project Synopsis Download
 University Question Paper, Assignment and Projects
 SMU - Question Paper
 SMU - Assignment
 SMU - Synopsis Projects
 SCDL - Assignment
 IGNOU - Synopsis Projects
 Welingkar - Projects
 Project Report Formats
 Interview Question Answer
 General & HR Round
 Visual Basic 6
 VB.Net & C#
 SQL Server
  Oracle and DBA

100% Tested
Ready Academic IT Projects


 Interview questions and Answers for VB.NET Setup and deployment, XCOPY, Windows and Web Setup

Home Personal Member Forum Source Project Tips Contact

Interview Question - VB.NET and C# - .NET Setup and deployment interview questions and answers

Interview questions and answers for VB.NET Setup and deployment interview questions and answers

VB.NET Setup and deployment. XCOPY Deployment, Windows and Web Setup, bootstrapper, Interface Editor, launch condition, native image, custom action, registry editor.

.NET Framework C#, VB.NET Setup and deployment Interview Question and Answers for .NET Framework Version 2.0, 3.0, 3.5, 4.0

Interview Question, Answer
1.  Programming General
2.  Web General
3.  Database General
4.  Visual Basic 6
5.  ASP
6.  Visual Basic .NET and C#
7.  ASP .NET
9.  MS SqlServer
10. MySql


Describe XCOPY deployment. Under what conditions is it useful? When can it not be used?


XCOPY deployment is a simple method of deployment where the DOS command XCOPY is used to copy the application directory and any subdirectories to the target machine. You can use XCOPY deployment if your application has no dependency on shared files and requires no special actions to be taken upon deployment. If an application requires a more complex deployment or references shared assemblies, you cannot use XCOPY.


You have created an application for a client who wants to distribute your application to his workforce via a network share. He wants to ensure that everyone who downloads the application will download it to the same folder. Describe a plan that would accomplish this goal.


Create a setup project for the application. Using the User Interface Editor, provide a dialog box that allows the file directory to be set during administrative installation, but removes this box from regular installation. Use administrative installation to install the application to the network share.


You have written documentation for your application and have provided it in the form of several HTML files. Describe two ways you could include this content in your setup project.


You can include loose HTML files along with your application by either including them when you create the setup project with the Setup wizard or by adding them to the project after creation with the File System Editor.


What is a native image? How do you create one?


A native image is a precompiled version of a .NET assembly. You can create a native image of your application by using the Ngen.exe utility.


What is the purpose of a bootstrapper application? When do you not need to create one?


A bootstrapper application automatically detects if Windows Installer is installed on the target machine. If Windows Installer is not present, it installs Windows Installer before proceeding with the rest of the installation. You should create a bootstrapper application unless all of your target machines are running Windows XP (which has Microsoft Windows Installer 1.5 already installed) or have had Microsoft Installer 1.5 installed previously.


Describe a general strategy for creating a setup project that terminates installation if a specific file is not already installed on the target machine.


First, create a file search to search the file system for the specific file. Then create a launch condition to evaluate the results of the search. You can connect the launch condition to the results of the search by evaluating the value returned by the property specified in the search’s Property property in the expression specified by the launch condition’s Condition property.


How would you ensure that all relevant registry entries were removed in the event that installation of your application failed?


You can ensure that registry entries are removed, as well as perform any other “clean-up” tasks, by creating an Installer class and writing the appropriate code in the Rollback event handler. Then create a new Custom Action and set the InstallerClass, and EntryPoint properties to appropriate values.

Next  VB.NET and C# General interview questions and answers            Go back to Interview Question Main

(C) Atanu Maity, 2006-2018