[WiX-users] Strange : Can't install .net com+ with type=.net, but type=native does without issues.

2015-01-22 Thread ssmsam
Hi, I am trying to install .net COM+ application using WixComPlus Extension. Here is my code: compplus:ComPlusApplication Id=HubTransactionCoOrdinator ApplicationId={9471518B-DE5B-4728-BE48-9F144813BFA0} Name= Hub Transaction Coordinator compplus:ComPlusAssembly

Re: [WiX-users] Patching and null KeyPath

2015-01-22 Thread John Cooper
Generally, I put my service authoring in the same component as the File element referencing the service binary. That way, the KeyPath is the service binary, and I don't have these issues. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing

[WiX-users] How to add references to other project in my WiX project programaticly?

2015-01-22 Thread Igor Furman
I develop a multi-projects VS 2010 template. One of the projects is WIX. In the class that implements IWizard I need to add references to C# projects to Wix project. Basically, I need to do exactly like that: var targetProject = (VSProject) _project.Object;

[WiX-users] How to add references to other project in my WiX project programaticly?

2015-01-22 Thread Igor Furman
I develop a multi-projects VS 2010 template. One of the projects is WIX. In the class that implements IWizard I need to add references to C# projects to Wix project. Basically, I need to do exactly like that: var targetProject = (VSProject) _project.Object;

Re: [WiX-users] Updating/Replacing existing MSI with Burn bundle

2015-01-22 Thread ET
Thank you all for the hints. I might have found a suitable solution/workaround, if it works I'll post it here. So far, my solution/workaround fails because the following markupwill always show a message: Property Id=TEST Value=0/ Condition Message=Should not appear but appears. /Condition

Re: [WiX-users] Updating/Replacing existing MSI with Burn bundle

2015-01-22 Thread Phill Hogland
What is the parent of the Condition element? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updating-Replacing-existing-MSI-with-Burn-bundle-tp7598911p7598961.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] How to add references to other project in my WiX project programaticly?

2015-01-22 Thread Igor Furman
I develop a multi-projects VS 2010 template. One of the projects is WIX. In the class that implements IWizard I need to add references to C# projects to Wix project. Basically, I need to do exactly like that: |var targetProject= (VSProject) _project.Object;

Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2015-01-22 Thread StevenOgilvie
thanks David, I am using this to check whether updates are running or reboot required so my installer won't crap out I am thinking I might need to add another check to see if another installer is running (MSI not an update) m = Mutex::OpenExisting( mutexName ); where mutexName would be:

[WiX-users] Burn - ExePackage/@SourceFile - How to set to a dynamic path

2015-01-22 Thread ronif
Hi, I need to set a path to an exe dynamically (depending on .Net version), and I don't know how (tried using wix/burn variables). I'm also trying to use burn built-in variables ([WindowsFolder] and [VersionNT]). no success. my code: Fragment WixVariable Id=AspnetRegiisExe

[WiX-users] Configuration-dependent Output name

2015-01-22 Thread Pavel Konyukhov
Hi! It may be useful for example if I have single WIX project which is build into a number of customized MSIs for different customers. Customization includes Product name which is good to reflect in msi file name. Seems like different configurations on a single project are good solution, but

Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-22 Thread Marco Tognacci
I have changed the code for using XmlConfig instead of XmlFile, but the result is the same:The file is installed correctly but when the XmlFile or the XmlConfig try to access the file to change an elment of the xml fileit report an error that say that it can't find the Drive on network, and the

[WiX-users] Powershell running command isn't working correctly

2015-01-22 Thread Justin Dyer
I am having trouble running a powershell command in my wix installer. I have a CustomAction defined in my installer that runs a powershell script. The powershell script is the following: $prismName = (Get-AppxPackage -Name PRISMContingency).PackageFamilyName

Re: [WiX-users] Powershell running command isn't working correctly

2015-01-22 Thread Justin Dyer
It dawned on me that I should output the $prismName variable to a file to see if it was empty, and sure enough it was. I used this to test that: $prismName = (Get-AppxPackage -Name PRISMContingency).PackageFamilyName $prismName | Out-File -FilePath C:\test.txt

Re: [WiX-users] Updating/Replacing existing MSI with Burn bundle

2015-01-22 Thread ET
It is a product. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updating-Replacing-existing-MSI-with-Burn-bundle-tp7598911p7598963.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Preventing msi file from being directly executed by a user?

2015-01-22 Thread sky
I'm now using burn cumstom bootstrapper application, and in my custom ba there is a step for validating product key. But since my msi file is external to the bootstrapper, anyone can install msi file directly without entering a product key. How can I prevent the msi file from being executed