Microsoft KB Archive/835460

= How to use the Orca database editor to remove the &quot;Everyone&quot; option and the &quot;Just me&quot; option from a Windows Installer package that you created by using Visual Studio .NET =

Article ID: 835460

Article Last Modified on 1/22/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





IN THIS TASK

 * INTRODUCTION
 * Requirements
 * Create a Windows application
 * Create a Setup project
 * Edit your Setup project in the Orca database editor
 * Verify that the changes appear in the installer
 * REFERENCES



INTRODUCTION
This step-by-step article describes how to remove the Everyone option and the Just me option from the installer when you deploy an application by using a Microsoft Windows Installer package.

In Microsoft Visual Studio .NET, you cannot modify the predefined dialog boxes that appear in a typical Setup project (.msi) file. You must use a tool such as the Orca database editor to manually make these changes to the Setup package after you have created the package by using Visual Studio .NET.

back to the top

Requirements
This article assumes that you are familiar with the following topic:

How to create Setup and Deployment projects

The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
 * Microsoft Windows XP, Microsoft Windows Server 2003, or Microsoft Windows 2000 Advanced Server
 * Microsoft Visual Studio .NET 2003 or Microsoft Visual Studio .NET 2002
 * The Orca database editor

You can use the Orca database editor to edit the installer package. The Orca database editor is available as part of the Microsoft Windows Installer Software Development Kit (SDK). To download the Windows Installer SDK, visit the following Microsoft Web site:

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

For additional information about the Orca database editor, click the following article number to view the article in the Microsoft Knowledge Base:

255905 How to use the Orca database editor to edit Windows Installer files

back to the top

Create a Windows application
To create a Windows application, follow these steps.
 * 1) Start Visual Studio .NET.
 * 2) On the File menu, point to New, and then click Project. The New Project dialog box appears.
 * 3) Under Project Types, click Visual C# Projects or Visual Basic Projects.
 * 4) Under Templates, click Windows Applications.
 * 5) In the Name box, type WindowsApplication1, and then click OK.
 * 6) On the Build menu, click Build Solution.
 * 7) Press F5 to run the application.

back to the top

Create a Setup project
To create a Setup project, follow these steps:
 * 1) On the File menu, point to New, and then click Project. The New Project dialog box appears.
 * 2) Under Project Types, click Setup and Deployment Projects.
 * 3) Under Template, click Setup Project.
 * 4) In the Name box, type Setup1, and then click OK.
 * 5) Under FileSystem on target Machine, right-click Application Folder, point to Add, and then click Assembly. The Component Selector dialog box appears.
 * 6) Click Browse. The Select Component dialog box appears.
 * 7) Locate the Bin\Debug folder of the WindowsApplication1 application that you created in the &quot;Create a Windows application&quot; section.
 * 8) In the Bin\Debug folder, click WindowsApplication1.exe.
 * 9) On the Build menu, click Build Solution.

back to the top

Edit your Setup project in the Orca database editor
To edit your Setup project, follow these steps:  Start the Orca database editor. To do this, click Start, point to All Programs, and then click ORCA. On the File menu, click Open. The Open dialog box appears. Locate the Setup1.msi file that was created when you created your Setup project. By default, this file is located in the Setup1\Debug folder. Click Setup1.msi, and then click Open. Under Tables, click the RadioButton table. The parameters that correspond to the RadioButton table appear in the right window. In the Property column, locate the following parameters, and then delete these rows:

 Under Tables, click the Control table. The parameters that correspond to the Control table appear in the right window.</li> Locate the following values in the right window, and then delete these rows:

</li> Under Tables, click the ControlCondition table. The parameters that correspond to the ControlCondition table appear in right window.</li> Locate the following values in the right window, and then delete these rows:

</li> Under Tables, click the Control table. The parameters that correspond to the Control table appear in the right window.</li> Locate the following row in the right window:

Replace this row with the following:

</li> On the File menu, click Save, and then close the ORCA window.</li></ol>

back to the top

Verify that the changes appear in the installer
To verify that you have deleted the Everyone option and the Just me option from the installer, follow these steps.

Note When you run the installer, you will notice that the Everyone option and the Just me option never appear.
 * 1) Run the Windows Installer package. To do this, locate and then double-click the Setup1.msi file.
 * 2) In the Setup1 dialog box, click Next.
 * 3) Select an installation folder path, and then click Next.
 * 4) Click Next to install the WindowsApplication1 application.
 * 5) Click Close to finish the installation.

back to the top

<div class="references_section">