Search

Visual Studio Web Setup Project renames all directories starting with C:\InetPub\wwwroot when selecting a web site with a different root folder by jlchereau

Closed
as Not Reproducible Help for as Not Reproducible

0
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 363873
Opened: 8/27/2008 4:35:20 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
My web setup project has
1) a custom folder pointing to [WindowsVolume]InetPub\wwwroot\aspnet_client\Infragistics (
the recommended location for deploying Infragistics support files)
2) the default web application folder

When installing to the Default Web Site, everything works fine.
When installing to a New Web Site pointing at [WindowsVolume]WebSitePath, the value of the custom folder is changed to [WindowsVolume]WebSitePath\aspnet_client\Infragistics.

See MSI log:
MSI (c) (B0:88) [10:31:06:433]: PROPERTY CHANGE: Modifying INFRAGISTICSDIR property. Its current value is 'C:\inetpub\wwwroot\aspnet_client\Infragistics\'. Its new value: 'C:\inetpub\velodoc\aspnet_client\Infragistics\'.
MSI (c) (B0:88) [10:31:06:433]: PROPERTY CHANGE: Modifying _1F4876A0DA694E28A5FB574A5D3366D6 property. Its current value is 'C:\inetpub\wwwroot\aspnet_client\Infragistics\20082CLR20\'. Its new value: 'C:\inetpub\velodoc\aspnet_client\Infragistics\20082CLR20\'.
MSI (c) (B0:88) [10:31:06:433]: PROPERTY CHANGE: Modifying _B1226539122042FBA394BEDDD0F5FCF1 property. Its current value is 'C:\inetpub\wwwroot\aspnet_client\Infragistics\20082CLR20\Forms\'. Its new value: 'C:\inetpub\velodoc\aspnet_client\Infragistics\20082CLR20\Forms\'.
MSI (c) (B0:88) [10:31:06:433]: PROPERTY CHANGE: Modifying _5A0FCF92354146CEB978242DDD707C86 property. Its current value is 'C:\inetpub\wwwroot\aspnet_client\Infragistics\20082CLR20\Forms\WebSchedule\'. Its new value: 'C:\inetpub\velodoc\aspnet_client\Infragistics\20082CLR20\Forms\WebSchedule\'.
Details (expand)
Product Language
English

Version

Visual Studio 2005 (All Products and Editions) Service Pack 1 w/ Windows Vista Update
Operating System
Windows Server 2008
Operating System Language
English
Steps to Reproduce
1) Create a web setup project.
2) Go to "File System on Target Machine": you should have a web application folder
3) add a custom folder with a property name CUSTOMDIR and pointing at [WindowsVolume]InetPub\wwwroot\custom and mark it as AlwaysCreate = true or add some content
4) Create a web site named "New Web Site" where the root directory is C:\InetPub\NewWebSite (assuming Windows is installed on the C drive
5) Execute setup and select to install on "New Web Site"
6) After installation:
- The folder C:\InetPub\wwwroot\custom does not exist
- A folder C:\InetPub\NewWebSite\custom has been created

When executing with msiexec.exe /i /l*v c:\install.log, you can see that C:\InetPub\wwwroot as been renamed into C:\InetPub\NewWebSite not only in TARGETDIR but also in CUSTOMDIR, which is wrong.

My guess is the issue also affect Visual Studio 2008.
Actual Results
CUSTOMDIR is renamed
Expected Results
CUSTOMDIR shoudl not be renamed
TAP Code (if applicable)
 
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
1 attachments
hostedsetup.log
Sign in to post a comment.
Posted by Microsoft on 10/8/2008 at 7:30 PM
Thanks for your feedback. We are escalating this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 4/17/2009 at 6:05 PM
Thank you for reporting this issue and I apologize for taking so long to get back to you. We're currently investigating on this issue and will get back to you with additional updates. Thank you for your patience.

Candy Chiang
Program Manager - Visual Studio
Posted by Microsoft on 4/27/2009 at 5:24 AM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided. Steps used:
1) Create a new web setup project.
2) Go to "File System on Target Machine": you should have a web application folder
3) add a custom folder with a property name CUSTOMDIR and pointing at [WindowsVolume]InetPub\wwwroot\custom and mark it as AlwaysCreate = true or add some content
4) Open IIS manager and create a web site named "New Web Site" where the root directory is C:\InetPub\NewWebSite (assuming Windows is installed on the C drive)
5) Execute setup and select to install on "New Web Site"

Actual Results:
we could find C:\InetPub\wwwroot\custom and files included.
we could not find C:\InetPub\NewWebSite\custom

Could you please provide us with more exact steps to reproduce this issue? And we will re-investigate.

Thanks,
Kylin.Ming


Thank you,
Visual Studio Product Team
Posted by Microsoft on 5/6/2009 at 3:19 AM
Hi, given that we have not heard back from you in 7 days. We will go ahead and close this Connect Issue. When you are available to send us the additional details that can help us to reproduce the problem, you may edit your issue via Connect and change the status to “Active.”

Thank you,
Visual Studio Product Team