Web Setup Project

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!
 
T

Thomas Hansen

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..."...
 
W

Walter Wang [MSFT]

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.
 
W

Walter Wang [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top