Re: [WiX-users] "Condition" problem

2014-12-04 Thread Marek Mielcarek
I appreciate your help. The problem is that the installer is mainly used as command-line without any GUI. The package gets pushed to several machines and executed with several options (features) enabled or disabled, depending on deployment automation schema. There might be 100+ servers involved.

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Pavan Konduru
You should set up the next button in the feature selection screen to display a dialog that IIS is required for that feature(if selected). MyCustomizeDLg is the dialog that has the list of the your features user can select. IISFOUND is a property you set to search for IIS present or not(I think W

Re: [WiX-users] How to prevent upgrade and downgrade if system depends from particular installed product version

2014-12-04 Thread Nicolás Alvarez
2014-12-04 4:26 GMT-03:00 Valery Portnyagin : > On 12/02/2014 10:15 PM, Phil Wilson wrote: >> If you're saying that two MSI products are incompatible and you want >> to make sure that a product cannot be installed if another one is >> already installed then some choices are: >> >> You use Upgrade a

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Marek Mielcarek
Example: one of the features requires IIS. ‎Check for IIS should occur only if the feature is selected. If te check succeeds, the feature shall be installed. If it fails, the installation shall fail. If feature is not selected the IIS does not matter. Original Message From: Pavan Konduru Sent

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Pavan Konduru
Can give an example so it will be easier to understand? What are the conditions and what do the features depend on? -Original Message- From: Marek Mielcarek [mailto:mmielca...@actuate.com] Sent: Thursday, December 04, 2014 2:28 PM To: wix-users@lists.sourceforge.net; General discussion ab

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Marek Mielcarek
User can select any feature. Each feature has a different condition. Installer verifies the condition for feature if it was selected for installation. If the condition is not met, installer breaks and informs what was the reason. Original Message From: Pavan Konduru Sent: Thursday, December 4

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Pavan Konduru
"This Condition makes sense only if a particular Feature is being installed." So, how do you plan to achieve this even before a feature is selected for install? -Original Message- From: Marek Mielcarek [mailto:mmielca...@actuate.com] Sent: Thursday, December 04, 2014 12:13 PM To: Genera

Re: [WiX-users] Payload in BootstrapperApplicationRef not working (wix 3.9)

2014-12-04 Thread jonks
Sorry please ignore my question - it was an 'operator' error. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Payload-in-BootstrapperApplicationRef-not-working-wix-3-9-tp7598402p7598407.html Sent from the wix-users mailing list archive at Nabble.co

Re: [WiX-users] Custom Action - Should I return ActionResult.Failure or thrown an exception?

2014-12-04 Thread John Cooper
I think it is more important to be consistent. If it is my intent to trigger a rollback, then I trap and log the exception and return ActionResult.Failure. Otherwise, I generally log and rethrow. Sometimes, I am only interested in setting or clearing a property. In that case, I trap everythi

[WiX-users] Custom Action - Should I return ActionResult.Failure or thrown an exception?

2014-12-04 Thread Nick Ramirez
I was just thinking about this: What's the best practice for a custom action that has a problem? * Catch all exceptions and return ActionResult.Failure * Allow the exception to be thrown? Maybe ActionResult.Failure should be used for non-exception failed states? Such as the user entered someth

Re: [WiX-users] "Condition" problem

2014-12-04 Thread Jeremiahf
Have you seen this WIX Tutorial? http://wix.tramontana.co.hu/tutorial/getting-started/conditional-installation also, http://blogs.technet.com/b/alexshev/archive/2008/02/10/from-msi-to-wix-part-3.aspx On Thu, Dec 4, 2014 at 2:12 PM, Marek Mielcarek wrote: > I need to define a Condition which g

[WiX-users] "Condition" problem

2014-12-04 Thread Marek Mielcarek
I need to define a Condition which generates message and stops installation (if condition fails). This Condition makes sense only if a particular Feature is being installed. It looks like I cannot use standard LaunchCondition because checking for a Feature (using &Feature=3 or &Feature=4) can be

[WiX-users] Payload in BootstrapperApplicationRef not working (wix 3.9)

2014-12-04 Thread jonks
Hi, When running this bundle (simplified for this post), I can see the eula, logo.png, ui.xml and ui.wxl in the bundles temp\\.ba1 directory. I don't however see the progress.bmp in that directory which is in a Payload child element. - Have I missed something important?

Re: [WiX-users] Cant get util:RemoveFolderEx to work on network drive

2014-12-04 Thread Jeremiahf
You are trying to remove a directory that does not exist. Missing folder property: APPLICATIONDATAFOLDER and you are not creating it as a directory: Instead searching the registery: How do you know that the drive letter will always be h:? Value="h:\topfolder\mid

[WiX-users] multiple product codes returned from code

2014-12-04 Thread gapearce
I apologize ahead of time for this ancient usage example, but this is legacy code I am afraid to change ;-) Note that ProductVersion is defined by me and is something like "1.0.0.99" - and I know MSI disregards the last level of this version info. Also note that this MSI is installed "Per Machine

[WiX-users] Cant get util:RemoveFolderEx to work on network drive

2014-12-04 Thread Samir
Hello everyone, I'm trying to remove some folders that will be created after the installation on network drive H:. This is the structure of the folders that I'm trying to remove: What happends is

Re: [WiX-users] Patch sequencing problem - Small update + a supseding hotfix

2014-12-04 Thread kirannhegde
Does anyone has any other thoughts? Regards, Kiran Hegde -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patch-sequencing-problem-Small-update-a-supseding-hotfix-tp7598304p7598398.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Unhandled exception when launching MBA

2014-12-04 Thread Phill Hogland
At the time, after researching the the wix source code, I concluded that I could not interact with Engine Variables until after Engine.Detect was called. It may be more relevant that I also concluded that I could not interact with engine variables except in code in a WiX event handler (or code cal

Re: [WiX-users] Issue with deploying MSI through SCCM and GPO

2014-12-04 Thread Daniel Norman
Hi, Hopefully I can attach these, otherwise I'll print them out. I've attached one example from the SCCM installed MSI, and one from when triggering through the command line in system context through psexec, to emulate the behaviour of SCCM. The most interesting bit is in the end, where the man

Re: [WiX-users] Issue with deploying MSI through SCCM and GPO

2014-12-04 Thread David Watson
Do you have a verbose log we can peruse? -Original Message- From: Daniel Norman [mailto:daniel.nor...@snowsoftware.com] Sent: 04 December 2014 13:09 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Issue with deploying MSI through SCCM and GPO Thanks for your sugge

Re: [WiX-users] Failure to Repair, Uninstall, or Upgrade using WixStdBa and Wix 3.9

2014-12-04 Thread John Cooper
I added a comment. It probably would, but for internal reasons, we chose to just remove the hidden attribute from the connection string which also fixed the issue for us. Not ideal, but it got are installers working again. -- John Merryweather Cooper Senior Software Engineer | Enterprise Servi

Re: [WiX-users] [WIX]: Getting error 1316, While running the MSI package after changing the name [P]

2014-12-04 Thread Phill Hogland
I think you have this issue. If it is not a MajorUpgrade then it is running the same msi product twice and will not work. http://blogs.msdn.com/b/robmen/archive/2004/12/08/278746.aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-WIX-Getting

Re: [WiX-users] Iis Schema Usage

2014-12-04 Thread Marc Beaudry
Hi Nick, Thanks for the response. It worked. Marc -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: December-03-2014 11:06 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Iis Schema Usage To bind the certificate to the Web site, you can do somet

Re: [WiX-users] Issue with deploying MSI through SCCM and GPO

2014-12-04 Thread Daniel Norman
Thanks for your suggestion Nick, but the problem isn't the actual deployment per se; I suspect it's rather with how the msiexec executable is triggered. Something happened and I essentially need to nail down whether the issue is caused by Microsoft, or the WiX Toolset. -Original Message---

Re: [WiX-users] How to find out the installlocation from WiX Bootstrapper after installation?

2014-12-04 Thread Nick Ramirez
A bootstrapper is just a list of install packages that are installed one after the other. So, if you had three install packages in the bootstrapper, you wouldn't have one install directory, you would have three. For example, if you bootstrapped SQL Server, the .NET framework and then your applicati

Re: [WiX-users] [WIX]: Getting error 1316, While running the MSI package after changing the name

2014-12-04 Thread Patrick Pirzer
No, it depends upon the GUID. Before You make another installation, You have to rebuild Your MSI. -Ursprüngliche Nachricht- Von: Dileep S [mailto:dileep.sanamp...@gmail.com] Gesendet: Donnerstag, 4. Dezember 2014 11:40 An: General discussion about the WiX toolset. Betreff: Re: [WiX-users

Re: [WiX-users] [WIX]: Getting error 1316, While running the MSI package after changing the name

2014-12-04 Thread Dileep S
I have used product ID is '*' while creating MSI package. The scenario i have asked after creating the package. Is it possible to run the MSI multiple times by changing the name? On Thu, Dec 4, 2014 at 12:30 PM, Patrick Pirzer wrote: > An actual installation is detected by the product name and

Re: [WiX-users] [WIX]: Getting error 1316, While running the MSI package after changing the name [P]

2014-12-04 Thread Dileep S
The reason is i have tried the EXE by changing the name. Is it MSI run multiple times by changing the name? On Wed, Dec 3, 2014 at 8:28 PM, Steven Ogilvie wrote: > Classification: Public > Why are you wanting to run the same MSI twice? > > -Original Message- > From: Dileep S [mailto:dil