Microsoft KB Archive/827028

= PRB: Error Message When You Try to Run a Web Setup Project That Was Created by Using Visual Studio .NET =

Article ID: 827028

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Windows Installer 2.0
 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0

-



Windows XP
When you try to run a Web Setup project that was created by using Microsoft Visual Studio .NET 2003, you may receive the following error message from Microsoft Windows Installer Installation Wrapper:

This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.

When you try to run a Web Setup project that was created by using Visual Studio .NET 2002, you may receive the following error message from Windows Installer Installation Wrapper:

An error occured installing the package. Windows Installer returned '1620'.

Note In this error message, the word &quot;occured&quot; is a misspelling of the word &quot;occurred.&quot;

Windows 2000
When you try to run a Web Setup project that was created by using either Visual Studio .NET 2003 or Visual Studio .NET 2002, you may receive the following error message:

An error occurred while writing installation information to disk. Check to make sure enough disk space is available, and click Retry, or Cancel to end the install.

Note In this error message, Try Again is incorrectly mentioned as &quot;Retry.&quot;



CAUSE
This problem occurs because the hard disk that contains your Temp folder has less than 1 megabyte (MB) of free space.

The Web Bootstrapper uses your Temp folder as a temporary working folder. If your Web Setup project uses a Web Bootstrapper, and the hard disk that contains your Temp folder has less than 1 MB of free space, the Web Bootstrapper cannot run. Therefore, you receive the error message that appears in the &quot;Symptoms&quot; section of this article.



Windows XP
To resolve this problem, follow these steps:  In the Windows Installer Installation Wrapper error message box, click OK. Clear some space on the hard disk that contains your Temp folder. This hard disk must contain more than 1 MB of free space. Switch to Microsoft Internet Explorer. Type the following URL in the address bar, and then press ENTER:

http:// /BootstrapDemo/Setup.Exe

Note  is a placeholder for the name of your Web server. In the File Download dialog box, click Open. In the Security Warning dialog box, click Yes.</ol>

Windows 2000
To resolve this problem, follow these steps:
 * 1) Clear some space on the hard disk that contains your Temp folder. This hard disk must contain more than 1 MB of free space.
 * 2) Switch to the error message box, and then click Try Again.

For additional information about how to clear space on your hard disk, click the following article number to view the article in the Microsoft Knowledge Base:

310312 Description of the Disk Cleanup Tool in Windows XP

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

MORE INFORMATION
The value of the TEMP environment variable specifies the location of your Temp folder. Typically, this folder is located in the C:\Documents and Settings\ \Local Settings folder.

Note  is a placeholder for your user name.

Windows XP
<ol> Start Visual Studio .NET.</li> Create a new Web Setup project. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> On the File menu, point to New, and then click Project.</li> In the New Project dialog box, click Setup and Deployment Projects under Project Types.</li> Under Templates, click Web Setup Project, and then click OK. By default, WebSetup1 is created.</li> On the View menu, click Property Pages.</li> In the WebSetup1 Property Pages dialog box, click Web Bootstrapper in the Bootstrapper list box.</li> In the Web Bootstrapper Settings dialog box, type http:// /BootstrapDemo in the Setup folder URL text box. Click OK.

Note  is a placeholder for the name of your Web server. For example, type http://localhost/BootstrapDemo to specify a folder on your local computer if you have installed Microsoft Internet Information Services (IIS).</li> In the WebSetup1 Property Pages dialog box, click OK.</li> On the Build menu, click Build Solution.</li></ol> </li> In the root folder of the Web server that you specified in step 2f, create a new folder. Name this folder BootstrapDemo .</li> Copy the output files that are built in step 2h to the BootstrapDemo folder that you created in step 3.</li> Start Internet Explorer.</li> Type the following URL in the address bar, and then press ENTER:

http:// /BootstrapDemo/Setup.Exe

Note  is a placeholder for the name of your Web server. This is the same Web server that you specified in step 2f.</li> In the File Download dialog box, click Open.</li> In the Security Warning dialog box, click Yes.

Note You receive an error message only if the hard disk that contains your Temp folder has less than 1 MB of free space.</li></ol>

Windows 2000
<ol> <li>Start Visual Studio .NET.</li> <li>Create a new Web Setup project. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>On the File menu, point to New, and then click Project.</li> <li>In the New Project dialog box, click Setup and Deployment Projects under Project Types.</li> <li>Under Templates, click Web Setup Project, and then click OK. By default, WebSetup1 is created.</li> <li>On the View menu, click Property Pages.</li> <li>In the WebSetup1 Property Pages dialog box, click Web Bootstrapper in the Bootstrapper list box.</li> <li>In the Web Bootstrapper Settings dialog box, type http:// /BootstrapDemo in the Setup folder URL text box. Click OK.

Note  is a placeholder for the name of your Web server. For example, type http://localhost/BootstrapDemo to specify a folder on your local computer if you have installed IIS.</li> <li>In the WebSetup1 Property Pages dialog box, click OK.</li> <li>On the Build menu, click Build Solution.</li></ol> </li> <li>In the root folder of the Web server that you specified in step 2f, create a new folder. Name this folder BootstrapDemo .</li> <li>Copy the output files that are built in step 2h to the BootstrapDemo folder that you created in step 3.</li> <li>Start Internet Explorer.</li> <li>Type the following URL in the address bar, and then press ENTER:

http:// /BootstrapDemo/Setup.Exe

Note  is a placeholder for the name of your Web server. This is the same Web server that you specified in step 2f.</li> <li>In the File Download dialog box, click Open.</li> <li>In the Security Warning dialog box, click Yes.</li> <li>In the WebSetup1 dialog box, click Next three times.

Note You receive an error message only if the hard disk that contains your Temp folder has less than 1 MB of free space.</li></ol>

<div class="references_section">