Originally posted by tranceporter
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Using WiX to deploy a web application
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Using WiX to deploy a web application"
Collapse
-
-
Originally posted by zoco View PostYes, but the problem is those IIS WiX extensions referenced in the first link only support IIS6. I had seen that article before.
Might be some useful stuff in the other links though - especially re incrementing version numbers.
Thanks.
Leave a comment:
-
Originally posted by VectraMan View Post
Given that the WIX file is XML, you could look at doing your own version of heat that does what you want. At previous Permie Co. we had some python that would build the Wix file based on what the build system knew had to be installed.
Leave a comment:
-
Originally posted by tranceporter View PostAs part of the install, we also allow the user to configure IIS settings like virtual directory name, credentials etc. All of this can be found in the first code project link. Good Luck!
Might be some useful stuff in the other links though - especially re incrementing version numbers.
Thanks.
Leave a comment:
-
This was a mighty useful tutorial for me:
Creating a WIX Installer for ASP.NET Web Applications - CodeProject
What we ended up doing was adding an msbuild task to the referenced web project to essentially output the required project files in a .wxs file in the setup project. It is explained very well in this tutorial:
Creating a Web Application Installer with WIX 3.5 and Visual Studio 2010–Part 1
Check out the link "How to consume MSDeploy Staged Web Site Output in a WIX Installer".
In our case, we build the project locally (either in debug or prod configuration, in ASP.NET), and then copy the msi to dev/live server, and install the website. As part of the install, we also allow the user to configure IIS settings like virtual directory name, credentials etc. All of this can be found in the first code project link. Good Luck!
P.S: If you also want to automatically increment the revision number of you msi every time you build, have a look at this:
http://blog.tentaclesoftware.com/arc.../05/03/38.aspxLast edited by tranceporter; 21 June 2013, 16:45.
Leave a comment:
-
I recommend moving heaven and earth to avoid using Wix. I too have spent hours in Google finding odd snippets of information from old forum and usenet posts, none of which were ever complete, just hints on the hack somebody found to get one thing working.
Given that the WIX file is XML, you could look at doing your own version of heat that does what you want. At previous Permie Co. we had some python that would build the Wix file based on what the build system knew had to be installed.
Leave a comment:
-
Using WiX to deploy a web application
I'm building an installer for an MVC web app using WiX. WiX is very poerwful but like most open source software, it is poorly documented and I have found myself relying on posts om newsnet which have , more often than not, led me down the garden path.
A couple of things which somebody may be able to cooberate.
1) Harvesting usinfg heat.exe - Because the installer project is incorporated into the TFS build process, I need to harvest 3rd party dlls from a common location. The build machine won't have the bin folder that I have when building locally so I have chosen to harvest my files from the nuget packages folder. The problem here is that it harvests absolutely every file in this folder and all its subfolders when I only really want a subset of this.
Even so, this subset consists of about 70 files or so so I don't want to be doing this manually. There is a command line switch that allows you to specify the type of output but it doesn't actually do anything. I've come to the conclusion that heat.exe doesn't do what it says on the tin but these issues will be addressed in the illusive version 4 release of the WiX toolset.
2) IIS extensions - The only IIS support appears to be for IIS6 though I've reached this conclusion from reading some rather old posts. However, there seems to be no mention anywhere of support for IIS7 so I'm assming that there are no IIS extensions for IIS7.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- A new hiring fraud hinges on a limited company, a passport and ‘Ade’ Today 09:21
- Is an unpaid umbrella company required to pay contractors? Yesterday 09:28
- The truth of umbrella company regulation is being misconstrued Nov 25 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
Leave a comment: