Re: [WiX-users] WiX and TFS Build

2010-05-10 Thread pmdarrow
The project variable approach (i.e. $(var.ProjectName.TargetDir) only seems to work if the projects are in the same solution. I have two solutions, the installer project in one and the DB project in the other. I've come up with a workaround by making a special case for the build server, but I was

[WiX-users] WiX and TFS Build

2010-05-07 Thread pmdarrow
Here's what I'm trying to do: I have two solutions - one for my main application and its associated projects and another for my database (VS .dbproj) and its associated projects. What I'd like to do is include the output from the database project (a .dbschema and some SQL scripts) in my installer

Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-08 Thread pmdarrow
IISMAJORVERSION >= "#6" should work. If not, (IISMAJORVERSION="#6" OR IISMAJORVERSION="#7") definitely works. -- View this message in context: http://n2.nabble.com/IIS-6-0-Detection-to-Skip-the-Custom-Dialog-Occurrence-tp4861003p4870655.html Sent from the wix-users mailing list archive at Nabble

Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-07 Thread pmdarrow
Detecting IIS is easy, link with WixIIsExtension.dll and then the following "just works": IISMAJORVERSION="#6" -- View this message in context: http://n2.nabble.com/IIS-6-0-Detection-to-Skip-the-Custom-Dialog-Occurrence-tp4861003p4864761.html Sent from the wix-users mailing li

Re: [WiX-users] Show Dialog from Custom Action

2010-03-31 Thread pmdarrow
I use the following to show an error message from my C# custom actions: Record record = new Record(); record.FormatString = "My Error"; session.Message(InstallMessage.Error | (InstallMessage)System.Windows.Forms.MessageBoxIcon.Error | (InstallMessage)System.Windows.Forms.MessageBoxButtons.OK,

Re: [WiX-users] IIS WebServiceExtension removed on repair

2010-03-08 Thread pmdarrow
Thank you so much Peter, that indeed was the problem. AspDllPath wasn't getting set properly because I had a condition on the SetProperty element for AspDllPath: IISMAJORVERSION="#6" AND &ConfigureIIS=3 During a repair, feature states don't seem to get set. I think if I put "OR Installed

Re: [WiX-users] IIS WebServiceExtension removed on repair

2010-03-04 Thread pmdarrow
pmdarrow wrote: > > Something weird is happening - when I enable an IIS Web Service Extension > using the following: > > Guid="B45DFBD5-073F-4B0B-8C65-57BE57683300" Directory="INSTALLDIR"> > > > > > ... the extens

Re: [WiX-users] WIX Installer with CD Key verify

2010-03-03 Thread pmdarrow
salever.lee wrote: > > Does some one have an idea about cd-key verify during product installation > in UI? > The WiX tutorial has a section that details how to do this: http://www.tramontana.co.hu/wix/lesson3.php#3.3 If you're not comfortable with C++ custom actions, keep following the tutor

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Oh I just came up with an idea - have you tried scheduling a custom action directly after your PrepareDlg that sleeps for a few seconds? I used this and it seemed to work: Product.wxs: 1 CustomAction.cs: using System; using Microsoft.Deployment.WindowsInstaller; namespace ManagedCA {

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Oh, if you just use the source from WiX's PrepareDlg and use your own custom strings, then shouldn't it be identical? Sorry I haven't provided exactly what you're looking for, just trying to give back to the WiX community by helping out :) -- View this message in context: http://n2.nabble.com/Pa

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Is this what you are looking foror, or do you want the version with the actual text on it? http://www.wixwiki.com/index.php?title=PrepareDlg I can get a screenshot of it for you if that link isn't good enough. -- View this message in context: http://n2.nabble.com/Pause-the-PrepareDlg-dialog-tp4

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Why not just take a screenshot the moment the dialog pops up? If you've never done it before, hit the PrtScn button on your keyboard to take the screenshot and then press Ctrl-V in any program that accepts images (MS Paint does the job). -- View this message in context: http://n2.nabble.com/Paus

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Is this the dialog you're referring to? http://i46.tinypic.com/6e20hv.png -- View this message in context: http://n2.nabble.com/Pause-the-PrepareDlg-dialog-tp4661534p4662679.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?

2010-02-26 Thread pmdarrow
Awesome, *exactly* what I was looking for. Thanks Sebastian. -- View this message in context: http://n2.nabble.com/How-to-show-loading-dialog-for-custom-action-during-InstallUISequence-tp4635348p4639994.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?

2010-02-26 Thread pmdarrow
Thanks for the reply Thorsten but I'm asking about showing a progress dialog *before* the installer reaches the InstallExecuteSequence. The "test database connection" custom action I have runs when the user clicks a button in the UI, so what you have posted will not work. -- View this message in

Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?

2010-02-26 Thread pmdarrow
Let me clarify, it doesn't even need to be a progress dialog - just a "Loading..." popup. -- View this message in context: http://n2.nabble.com/How-to-show-loading-dialog-for-custom-action-during-InstallUISequence-tp4635348p4639284.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] How to show loading dialog for custom action during InstallUISequence?

2010-02-25 Thread pmdarrow
Hi all, Does anyone know how to show a "Loading..." popup while a custom action is executing during the InstallUISequence? I have a managed custom action that tests if the database connection string a user has entered is valid (i.e. a "Test Connection" button). Sometimes, if the user misspells

Re: [WiX-users] IIS WebServiceExtension removed on repair

2010-02-25 Thread pmdarrow
Er right, that condition would get re-evaluated and remove the component on repair. But the problem still occurs without any of that. This happens on Windows Server 2003 - IIS 6.0. I haven't had a chance to test this the other OS I'm targeting (Windows Server 2008 with IIS 6 Metabase Compatibility

Re: [WiX-users] Install IIS after .NET

2010-02-24 Thread pmdarrow
Oh I realized a few standard script maps are missing there (like .asp). Feel free to add whichever ones you need. A full list of standard mappings can be found here: http://n2.nabble.com/small-contribution-ASP-NET-2-0-3-5-installs-tp2096727p2097025.html -- View this message in context: http://n2

Re: [WiX-users] Install IIS after .NET

2010-02-24 Thread pmdarrow
This has been answered before but I use the following (default script maps are all registered - you can remove the ones you don't need):

Re: [WiX-users] Install IIS after .NET

2010-02-24 Thread pmdarrow
Ugh, sorry for the spam, but I just realized another mistake - should be . Make sure you include the WixNetFxExtension for this to work. -- View this message in context: http://n2.nabble.com/Install-IIS-after-NET-tp4625292p4626668.html Sent from the wix-users mailing list archive at Nabble.com

Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread pmdarrow
Mike, I'm not sure if you read Peter's question correctly. Your solution has the same problem the he's looking to fix - two conditional components, one for integrated authentication and one for SQL authentication. He only wants one component to maintain. Peter - I'm looking for a solution to th

[WiX-users] IIS WebServiceExtension removed on repair

2010-02-23 Thread pmdarrow
Hi all, I'm using the WiX IIS extension. Something weird is happening - when I enable an IIS Web Service Extension using the following: ... the extension shows up properly in IIS on first install, but on repair it gets removed (thus breaking my application.) I've tried a

Re: [WiX-users] Wix 3.5 and Burn

2010-01-29 Thread pmdarrow
Check out Rob Mensching's blog post on this here: http://robmensching.com/blog/posts/2010/1/15/Burn-moves-to-a-new-foundation I find the latest news comes from his blog and not necessarily the Sourceforge site. -- View this message in context: http://n2.nabble.com/Wix-3-5-and-Burn-tp4480667p448

Re: [WiX-users] Get full URL to IIS virtual directory

2010-01-26 Thread pmdarrow
I considering going that route but what if the user selects a website that is set to run on port 81 for instance? Then http://[ComputerName]/[Vdir] won't work. I need to get the port number and do something like http://[ComputerName]:[PortNum]/[Vdir] but I don't know how to get it (unless of cours

[WiX-users] Get full URL to IIS virtual directory

2010-01-26 Thread pmdarrow
Hi all. Is there a way to get the full URL of an IIS virtual directory that was created using WiX? The UI I have created lets my users select an IIS website and enter in a virtual directory name. The vdir then gets created using the IIsExtension.dll. The catch is that I need to stick the URL to th

Re: [WiX-users] Making a Requirements Dialog

2010-01-13 Thread pmdarrow
h WiX. MikeR wrote: > > > pmdarrow wrote: >> >> Hi all. I'd like to display a dialog after the feature customization >> dialog that gives the user feedback if the requirements for installing >> their selected features are fulfilled. For instance, if the user onl

[WiX-users] Making a Requirements Dialog

2010-01-12 Thread pmdarrow
Hi all. I'd like to display a dialog after the feature customization dialog that gives the user feedback if the requirements for installing their selected features are fulfilled. For instance, if the user only selected the database feature, SQL Server is the only requirement. But if they select th

[WiX-users] Installing WiX 3.5

2010-01-06 Thread pmdarrow
Hi all, are there any gotchas when installing WiX 3.5 alongside or over 3.0? I'd like to add the IIS7 capabilities to my installer from the WiX IIS extension. I've read some mailing list posts that suggest there are issues when opening Votive projects made with 3.0 in WiX 3.5. Any suggestions? Pe

Re: [WiX-users] Reusing Dialogs

2010-01-04 Thread pmdarrow
h the effort - > development, debugging and maintenance would have been a nightmare. > > It was easier to copy/paste the dialog code and the person who took > over the project after me was easily able to understand what was going > on. > > Wendell > > On Mon, Jan 4, 2010 a

[WiX-users] Reusing Dialogs

2010-01-04 Thread pmdarrow
Hi all, I'm having a bit of trouble reusing dialogs. I'm building an installer that (optionally) installs two IIS web applications. I need dialogs for both for selecting website, virtual directory, and app pool. I did some searching on this list and found http://n2.nabble.com/Re-using-Dialogs-td11

Re: [WiX-users] Input Validation

2010-01-04 Thread pmdarrow
ate > shouldn't be long compared to the time required to use the UI via mouse > and/or keyboard. > > -Original Message- > From: pmdarrow [mailto:pdar...@metaworks.com] > Sent: Thursday, December 31, 2009 10:34 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-user

[WiX-users] Input Validation

2009-12-31 Thread pmdarrow
Hi all, what's the best way to validate that several required fields on a dialog are filled in? I've done some searching on this list but haven't found anything conclusive. Here's a snippet of a dialog that asks the user to enter some database information: NOT (