This article uses Retail.pup.
Before you continue, create two new Web sites on the server on which you want to unpackage the Retail Site. For information about creating Web sites, see the Internet Information Services (IIS) documentation.
To unpackage the Retail Site with separate Web sites for the Retail and RetailBizDesk applications, follow these steps:
- Select the Retail Site that you want to unpackage. To do this, click Start, click Programs, click Microsoft Commerce Server, and then click Solution Sites.
- Select Custom unpack. and then click Next.
- Select Create a new site, and then click Next.
- Type the site name, and then click Next.
- Select the resources that you want to unpack, and then click Next.
- Assign global resource pointers, and then click Next.
- Configure database connection strings, and then click Next.
- Select the applications that you want to unpackage. Make sure that both applications are selected. Click Next.
- At this point, you can unpack both sites to their own virtual folders on separate Web sites, or you can unpack one site to the root and one site to a virtual folder. This example unpacks each application to its own virtual folder. Make sure that you set the Web site for each application so that each is on its own Web site. Click Next to start the unpackaging process.
After the site is unpackaged, do the following:
- Move the site files to the root folder for the Web site.
- Locate the Csapp.ini file in the root of each folder, and then change the following keys as follows:
RelativeURL=/
AddressKeyName="<ApplicationName>"
Note <ApplicationName> is the application name for the application in the Commerce site. You can query the application name from the MSCS_Admin database by using the following query:select Resources.s_DisplayName as ApplicationName, Resourceprops.s_Value as non_SecurHostName from Resources, ResourceProps where Resources.s_Type = 'Address' and ResourceProps.s_PropertyName = 's_NonSecureHostName' and Resources.i_ResourceId = ResourceProps.i_ResourceId and Resources.i_ResourceId in (select i_ResourceID from SiteResources where i_SiteId= (select i_SiteId from Sites where s_Name='MyCommerceSiteName'))
- Make changes to each application in the Commerce Server Microsoft Management Console (MMC) as follows:
- Start the Commerce Server Manager.
- Expand Commerce Server Manager, expand Commerce Sites, expand Retail, expand Applications, and then click Applications.
- Right-click SERVER/retail, and then click Properties.
- On the General tab, clear the IIS application path text box, and then click OK.
- Right-click SERVER/retailbizdesk and click Properties.
- On the General tab, clear the IIS application path text box, and then click OK.
- Run iisreset so that the changes take effect.