Re: [WiX-users] WiX and TFS Build
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 hoping for a cleaner method: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-TFS-Build-tp5019254p5030829.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX and TFS Build
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 (which exists in the main application solution.) This involves having TFS build the DB solution immediately before the main application solution. I've got that part working properly, but I'm having trouble referencing the output of the DB solution from my installer. I'm using relative paths to reference the output in my .wxs file (e.g. ) which works fine locally, but fails when building via TFS build. This is because TFS Build changes the output dir of each project to one common location. Instead of the path to my database project being "..\..\MyDatabaseSolution\MyDatabaseProject\sql\" like it is when building locally, it gets set to something like "..\..\..\Binaries\Release\". How can I get around this and have my WiX project build locally and via TFS? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-TFS-Build-tp5019254p5019254.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence
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.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence
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 list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Show Dialog from Custom Action
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, record); -- View this message in context: http://n2.nabble.com/Show-Dialog-from-C-Custom-Action-tp4823643p4831674.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS WebServiceExtension removed on repair
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" in the condition it will work properly. -- View this message in context: http://n2.nabble.com/IIS-WebServiceExtension-removed-on-repair-tp4620141p4698258.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS WebServiceExtension removed on repair
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 extension shows up properly in IIS on first install, but on repair > it gets removed (thus breaking my application.) > I'm bringing this up again since no one really answered my question. Does this sound like a bug? This happens with IIS6. -- View this message in context: http://n2.nabble.com/IIS-WebServiceExtension-removed-on-repair-tp4620141p4676606.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX Installer with CD Key verify
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 tutorial - the C# custom action for it comes later. -- View this message in context: http://n2.nabble.com/WIX-Installer-with-CD-Key-verify-tp4665875p4667375.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "Pause" the PrepareDlg dialog?
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 { public class CustomActions { [CustomAction] public static ActionResult Snooze(Session session) { System.Threading.Thread.Sleep(5000); return ActionResult.Success; } } } -- View this message in context: http://n2.nabble.com/Pause-the-PrepareDlg-dialog-tp4661534p4663040.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "Pause" the PrepareDlg dialog?
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/Pause-the-PrepareDlg-dialog-tp4661534p4663008.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "Pause" the PrepareDlg dialog?
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-tp4661534p4662849.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "Pause" the PrepareDlg dialog?
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/Pause-the-PrepareDlg-dialog-tp4661534p4662579.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] "Pause" the PrepareDlg dialog?
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. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?
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. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?
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 context: http://n2.nabble.com/How-to-show-loading-dialog-for-custom-action-during-InstallUISequence-tp4635348p4639281.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to show loading dialog for custom action during InstallUISequence?
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. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to show loading dialog for custom action during InstallUISequence?
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 a server name, the UI can hang for a bit while the custom action tries to connect using the invalid connection string. It would be nice to show them that the installer hasn't frozen, but is still trying to connect. I am aware of DTF's Session.Message() method, but from what I see, there is no way to close a dialog created using this method. Any ideas? Peter -- View this message in context: http://n2.nabble.com/How-to-show-loading-dialog-for-custom-action-during-InstallUISequence-tp4635348p4635348.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS WebServiceExtension removed on repair
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 installed). I'll update you when I do. -- View this message in context: http://n2.nabble.com/IIS-WebServiceExtension-removed-on-repair-tp4620141p4632571.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install IIS after .NET
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.nabble.com/Install-IIS-after-NET-tp4625292p4626646.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install IIS after .NET
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): -- View this message in context: http://n2.nabble.com/Install-IIS-after-NET-tp4625292p4626625.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install IIS after .NET
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. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?
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 this as well, I'm doing it the exact same way as you. -- View this message in context: http://n2.nabble.com/How-to-select-between-SQL-Authentication-and-Integrated-Authentication-during-the-install-of-the-msi-tp4617547p4620235.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IIS WebServiceExtension removed on repair
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 adding a NOT Installed and Transitive="yes" to the EnableAspNet component, but the WSE still gets removed on repair. Any ideas? Peter -- View this message in context: http://n2.nabble.com/IIS-WebServiceExtension-removed-on-repair-tp4620141p4620141.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix 3.5 and Burn
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-tp4480667p4481928.html Sent from the wix-users mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Get full URL to IIS virtual directory
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 course I write a custom action.) -- View this message in context: http://n2.nabble.com/Get-full-URL-to-IIS-virtual-directory-tp4462298p4463238.html Sent from the wix-users mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Get full URL to IIS virtual directory
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 that vdir in an XML config file. Should I just look up the vdir in the IIS Metabase using a custom action sequenced after the "ConfigureIIs" action or is there a simpler way? -- View this message in context: http://n2.nabble.com/Get-full-URL-to-IIS-virtual-directory-tp4462298p4462298.html Sent from the wix-users mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Making a Requirements Dialog
I guess that's one way. It just seems a little unintuitive to show pop-up dialogs for the requirements. I thought about this for a little while and came up with another method. Create one dialog with all of the possible requirements if every feature was selected and selectively gray-out the ones that don't apply (using enable/disable Conditions). Then, show green check-marks if the non-grayed out requirements are met, red X's if they're not. Although the interface might look a little cluttered with a lot of grayed-out items, this seems to be the easiest to do with 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 only >> selected the database feature, SQL Server is the only requirement. But if >> they select the ASP.NET app, IIS is a requirement as well. Is there any >> easy way to write the dialog for this? The only thing I can think of >> doing is writing a dialog for each combination of selected features (e.g. >> OnlyDBDlg.wxs for just the DB, DB+IISDlg.wxs for DB and IIS, etc.) and >> having a bunch of conditions on the next button of the customize dialog >> for showing each of them. Any ideas? >> > I am doing a something similar. I'm using the SelectionTree control to > let users select which features to install but have some feature-specific > system requirements. I really wish you could disable features but still > show them in the SelectionTree control, that would be my ideal solution > but it is not possible. > > What I have settled on is using the new functionality to publish a > DoAction event from the SelectionTree control. This is only available on > Windows 2003 and newer, so Vista, Win7 and 2008 too. However, for the > product I'm working on I only need to support newer OSes so I can use the > new functionality. I wrote a custom action that updates a property that I > use on a text control on the same dialog. Whenever a user selects a > feature the text control gets updated with what the feature-specific > requirements are for that feature. Then on the Next button I run a custom > action that verifies everything and if they are trying to install a > feature without all of its necessary prerequisites I throw up a dialog > with an informative error and keep that on that dialog until their feature > selections are valid to continue. > > The only catch I ran into was that using a DTF custom action on the > SelectionTree control published DoAction was too slow. Because the DTF > has to extract the native DLL, then extract the baked in .NET assembly and > load it up just to call your code, it caused noticeable lag on the dialog > whenever you selected a different feature or changed a feature's state. I > ended up rewriting that custom action in C++ and it sped things up > greatly. My Next button custom action is still in DTF as the slight delay > does not stand out as much on the dialog transitions. > > Hope that helps, > Mike > -- View this message in context: http://n2.nabble.com/Making-a-Requirements-Dialog-tp4292721p4361430.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Making a Requirements Dialog
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 the ASP.NET app, IIS is a requirement as well. Is there any easy way to write the dialog for this? The only thing I can think of doing is writing a dialog for each combination of selected features (e.g. OnlyDBDlg.wxs for just the DB, DB+IISDlg.wxs for DB and IIS, etc.) and having a bunch of conditions on the next button of the customize dialog for showing each of them. Any ideas? -- View this message in context: http://n2.nabble.com/Making-a-Requirements-Dialog-tp4292721p4292721.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installing WiX 3.5
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? Peter -- View this message in context: http://n2.nabble.com/Installing-WiX-3-5-tp4260705p4260705.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusing Dialogs
That's what I figured. Copy & paste is annoying (I always try to adhere to DRY :/ ) but I'll live with it. Thanks Wendell. Wendell Joost wrote: > > I hit this problem a few years ago and decided that the added > complexity of trying to reuse dialogs wasn't worth 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 at 10:48 AM, pmdarrow wrote: >> >> 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-td1112082.html which discusses >> using >> indirect properties on controls but it doesn't go into detail on how to >> spawn a dialog twice in the wizard sequence. The indirect properties work >> fine, but when I try to publish two instances of the same dialog in a >> wizard >> (by modifying back & next buttons), I get "Error 2856: Creating a second >> copy of the dialog MyDialog." Is there a better way to reuse dialogs or >> am I >> forced to simply copy and paste? >> -- >> View this message in context: >> http://n2.nabble.com/Reusing-Dialogs-tp4251469p4251469.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> -- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> ___ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > "Some people come visit Europe and are really let down when they find > out it's not like a credit-card commercial; others really get into > meeting all the quirky people and careening along narrow mountain > roads in rickety cabs driven by suicidal, gap-toothed Carpathians. I > guess it's pretty obvious which one you are..." - Justin Crevier, May > '01 > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Reusing-Dialogs-tp4251469p4251739.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Reusing Dialogs
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-td1112082.html which discusses using indirect properties on controls but it doesn't go into detail on how to spawn a dialog twice in the wizard sequence. The indirect properties work fine, but when I try to publish two instances of the same dialog in a wizard (by modifying back & next buttons), I get "Error 2856: Creating a second copy of the dialog MyDialog." Is there a better way to reuse dialogs or am I forced to simply copy and paste? -- View this message in context: http://n2.nabble.com/Reusing-Dialogs-tp4251469p4251469.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Input Validation
Thanks Blair, that cleans it up nicely. Blair-2 wrote: > > How about this? > > (USEINTEGRATEDSECURITY = 1 OR (DBUSERNAME AND DBPASSWORD))"?> > > Height="17" > Default="yes" Text="Next"> > > > NOT ($(var.InputValidated)) > > > $(var.InputValidated) > > > > Yes, I realize that this maintains the double-evaluation, but it is more > maintainable (since you type it only once) and the time to evaluate > 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-users] Input Validation > > > 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: > > Height="17" > Default="yes" Text="Next"> > > > NOT (SERVERNAME AND DATABASENAME AND (USEINTEGRATEDSECURITY = > 1 > OR (DBUSERNAME AND DBPASSWORD))) > > > SERVERNAME AND DATABASENAME AND (USEINTEGRATEDSECURITY = 1 OR > (DBUSERNAME AND DBPASSWORD)) > > > > This works, but I don't like repeating those two statements (albeit one > wrapped in a NOT). It seems like this is the only way I can get it to > validate every time. If I store the result of the main statement in a > property, the property doesn't get reset when going back or forward in the > wizard so therefore it only validates the input once. Any ideas? > -- > View this message in context: > http://n2.nabble.com/Input-Validation-tp4237405p4237405.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Input-Validation-tp4237405p4250128.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Input Validation
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 (SERVERNAME AND DATABASENAME AND (USEINTEGRATEDSECURITY = 1 OR (DBUSERNAME AND DBPASSWORD))) SERVERNAME AND DATABASENAME AND (USEINTEGRATEDSECURITY = 1 OR (DBUSERNAME AND DBPASSWORD)) This works, but I don't like repeating those two statements (albeit one wrapped in a NOT). It seems like this is the only way I can get it to validate every time. If I store the result of the main statement in a property, the property doesn't get reset when going back or forward in the wizard so therefore it only validates the input once. Any ideas? -- View this message in context: http://n2.nabble.com/Input-Validation-tp4237405p4237405.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users