web-setup-project

desktop shortcut icon not showing in web setup project

最后都变了- 提交于 2019-12-24 06:04:11
问题 i've created a web setup project and i wanted it to create a desktop shortcut to the web application (ex: http://localhost/xx/yy.aspx). up to this point it was pretty easy: i created a shortcut (doesnt matter where), gave it the url i wanted, added this to the User's Desktop special folder of my web setup project, and it was placed on the desktop after the installation. but then i wanted to display my custom shortcut icon. i set the icon of the shortcut i've created on my file system. then i

How to create a Web Setup project in VS 2010 for a MVC2 application?

旧时模样 提交于 2019-12-13 01:15:14
问题 I need help to create a Web Setup project for an MVC2 application I made at home, since I have VS 2010 there and I need to show people at the office, who have VS 2008 + sp1 + MVC2. Thanks 回答1: By adding a web setup project to your solution: 回答2: Create a web setup project; Add project output - select your web project - select primary output - click ok Add project output again - select your web project - select content files - click ok 回答3: Customize it by adding Custom Actions such as IIS

Overriding “Textboxes” dialog fields from the command line in MSI installer (Visual Studio 2010 Web Setup)

纵然是瞬间 提交于 2019-12-04 05:29:36
问题 Background I have a Web Setup project in Visual Studio 2010. In the User Interface section, I have a custom Textboxes dialog. These text fields have property names like EDITA1, EDITA2. I have a Custom Action which makes use of these properties: CustomActionData = /foo="[EDITA1]" /bar="[EDITA2]" /zip="[BLARB]" In the code for handling this custom action, these parameters are available in the Context.Parameters dictionary public override void Install(System.Collections.IDictionary stateSaver) {

Overriding “Textboxes” dialog fields from the command line in MSI installer (Visual Studio 2010 Web Setup)

纵然是瞬间 提交于 2019-12-02 07:23:51
Background I have a Web Setup project in Visual Studio 2010. In the User Interface section, I have a custom Textboxes dialog. These text fields have property names like EDITA1, EDITA2. I have a Custom Action which makes use of these properties: CustomActionData = /foo="[EDITA1]" /bar="[EDITA2]" /zip="[BLARB]" In the code for handling this custom action, these parameters are available in the Context.Parameters dictionary public override void Install(System.Collections.IDictionary stateSaver) { string foo = Context.Parameters["foo"]; // originates in edit box EDITA1 string bar = Context

Using the Microsoft Ajax Minifier with Web Setup project & Source Control

旧巷老猫 提交于 2019-12-01 10:48:56
I've just started investigating the Microsoft Ajax Minifer 4.0 for use with a Visual Studio 2008 Web Application I work on. It's proven easy enough to hook it into the .csproj file so it produced .min.js files for all scripts, however I'm stumped as to how to integrate this with the Web Setup project & Source Control. Essentially what I want to do is have the resultant .min.js files included in the Web Setup project without having them included in Source Control because: Having to check them out prior to the build being executing is a pain (the minifier cannot modify them if they're not

Using the Microsoft Ajax Minifier with Web Setup project & Source Control

只谈情不闲聊 提交于 2019-12-01 08:48:25
问题 I've just started investigating the Microsoft Ajax Minifer 4.0 for use with a Visual Studio 2008 Web Application I work on. It's proven easy enough to hook it into the .csproj file so it produced .min.js files for all scripts, however I'm stumped as to how to integrate this with the Web Setup project & Source Control. Essentially what I want to do is have the resultant .min.js files included in the Web Setup project without having them included in Source Control because: Having to check them

Virtual Directory in Web Setup Project

孤人 提交于 2019-11-30 06:53:09
I have a web setup project which by default shows the virtual directory in the textbox installer screen. I wish that the virtual directory name cannot be edited by the user and always defaults to the one I have setup in my msi. How can this be achieved? If you don't want the user to change the virtual directory you can simply remove the "Installation Address" dialog from the User Interface. Right Click installer project and select "User Interface". Expand the "Start" node. Right click on "Installation Address". Select "Delete" If you want different parameters for the Web site, virtual

Virtual Directory in Web Setup Project

江枫思渺然 提交于 2019-11-29 06:20:43
问题 I have a web setup project which by default shows the virtual directory in the textbox installer screen. I wish that the virtual directory name cannot be edited by the user and always defaults to the one I have setup in my msi. How can this be achieved? 回答1: If you don't want the user to change the virtual directory you can simply remove the "Installation Address" dialog from the User Interface. Right Click installer project and select "User Interface". Expand the "Start" node. Right click on