Web Setup Project

  • Thread starter Thread starter dev648237923
  • Start date Start date
D

dev648237923

I create a simple web application project.
I then add a Web Setup project to the solution
In the Web Setup project I only add Primary and Content files from my web
app project. I do not opt to add Source files.
When I run the .msi it installs fine but the aspx source files are there
with all their html code. What I want to do is have the files only have
place markers like when you do Publish that doesn't allow the site to be
Updateable (then the aspx files just say: "This is a marker file generated
by the precompilation tool, and should not be deleted!").
Is this possible?

Thank you!
 
I create a simple web application project.

One piece of advice, don't use MSI deployment for webprojects...!!
Rigth click your webproject in VS and choose: "Publish WebSite..."...
 
Hi,

The recommended way is to first use the Web Deployment Project (WDP) add-on
to precompile your website and then create a Web Setup Project to pipe in
the output from the WDP output:

#ScottGu's Blog : VS 2005 Web Deployment Projects
http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx

Please feel free to let me know if there's anything unclear.

Sincerely,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi,

Have you tried above suggestion? Please feel free to let me know if there's
anything unclear. Thanks.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top