[WiX-users] Deleting files in a patch

2014-01-13 Thread Mita Patel
The msdn doc says the following for component id in the column table. ComponentId --> If this column is null the installer does not register the component and the component cannot be removed or repaired by the installer. This might be intentionally done if the component is only needed during the

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Manas
Thank you all for the suggestions. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-package-version-using-burn-API-tp7591717p7591743.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] Buindle Major Upgrade cause first msi uninstallation

2014-01-13 Thread Tim Comport
I understand, I was trying not to repeat what had already been covered in the thread. My "/Any more info on this?/" was referring to Blair's previous comment: "/I'm going to seek confirmation, but this appears to be due to a known bug that can't easily be fixed that doesn't affect Vista and newer p

Re: [WiX-users] dual-purpose installer (ALLUSERS=2) and Bootstrapper

2014-01-13 Thread Rob Mensching
WiX v3.8 (and probably all the way back to WiX v3.6, maybe further) supports building dual-purpose MSI packages. However, Burn does not support Bundling MsiPackages and making them dual-purpose. It can only install them one way. -Original Message- From: Peter Birch [mailto:peter.bi...

[WiX-users] dual-purpose installer (ALLUSERS=2) and Bootstrapper

2014-01-13 Thread Peter Birch
Hi, I'm trying to build a dual-purpose (both per-user and per-machine) package (http://msdn.microsoft.com/en-us/library/dd408068.aspx) using WIX 3.8. I have the following in my package.wxs: http://schemas.microsoft.com/wix/2006/wi"; RequiredVersion="3.8.1128.0"> ... This

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread tom
I can try,but i prefer to implement it on my machine and just post the code I dont know too much about open source projects. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-package-version-using-burn-API-tp7591717p7591738.html Sent fro

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread tom
You can add additional data to the manifest file If you define table like this bootstrapperApplicationData="yes*"> it will find itself into the manifest file and you can deserialzie it at run time -- View this message in context: http://windows-installer-xml-wix-toolset.6875

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Rob Mensching
You'd need the BootstrapperApplicationData.xml to have the data. There is a feature request open, perhaps you could help implement it. -Original Message- From: Manas [mailto:manas.taluk...@gmail.com] Sent: Monday, January 13, 2014 1:56 PM To: wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Manas
In my Managed Bootstrapper Window, I would like to display a data grid table with some details of the packages in the bundle. One of the pieces of information I would like to display is the package version. What I need is this: Install/Repair: Package version in bundle before Install execute and I

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread tom
Just check it,BootstrapperApplicationData.xml does not have it Manas,why do you need the version for? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-package-version-using-burn-API-tp7591717p7591725.html Sent from the wix-users maili

Re: [WiX-users] "Shared" component syntax...

2014-01-13 Thread tom
Not sure i would use it for log but yes ,best to use wix lib also see this http://blogs.msdn.com/b/heaths/archive/2009/12/21/about-shared-components.aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Shared-component-syntax-tp7591689p7591726.

Re: [WiX-users] I want to merge two msi using Bundles, chain and fragments methods.

2014-01-13 Thread tom
you need to create a bootstrapper project in order to chain msis -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/I-want-to-merge-two-msi-using-Bundles-chain-and-fragments-methods-tp7591398p7591732.html Sent from the wix-users mailing list archive

Re: [WiX-users] running custom action in a loop on all files in a directory

2014-01-13 Thread tom
foreach (string path in Directory.GetFiles(sourcePath, "*.*",SearchOption.AllDirectories)) { //use path } -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/running-custom-action-in-a-loop-on-all-files

Re: [WiX-users] ManagedBootstrapperApplication - sans UI

2014-01-13 Thread tom
You can call Engine.Elevate in order to elevate BA(not recommended) .net prerequisite UI is displayed if no correct .nte version is installed -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ManagedBootstrapperApplication-sans-UI-tp7591548p7591729

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Rob Mensching
BootstrapperApplicationData.xml should have it, if not, there's a feature request asking for it (I forget what was missing). -Original Message- From: Manas [mailto:manas.taluk...@gmail.com] Sent: Sunday, January 12, 2014 10:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] H

Re: [WiX-users] Buindle Major Upgrade cause first msi uninstallation

2014-01-13 Thread Rob Mensching
Bundle log file should have detailed information about the states for each package. -Original Message- From: Tim Comport [mailto:timcomp...@hotmail.com] Sent: Sunday, January 12, 2014 8:11 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Buindle Major Upgrade cause first m

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Brian Enderle
I use the following in my project, adding it to either the WiX project file or as a task during 'msbuild': This gets the version applied to the DLL file and then parses out the piec

[WiX-users] Can't run Heap on VS2013 MFC app

2014-01-13 Thread Gunnar Thalin
Hi, When I create a new, empty MFC application in VS 2013 and run the vcxproj file through Heat with "-pog Binaries", I get this error: error HEAT5305: Failed to load project testapp.vcxproj: Unable to cast object of type 'System.Xml.XmlComment' to type 'System.Xml.XmlElement' If I create the

Re: [WiX-users] Chaining .NET 3.5 in Burn

2014-01-13 Thread Thomas Due
Thank you :) Med venlig hilsen / Best regards, Thomas Due  - Software Developer Tel: +45 8678 5500 Fax: +45 8678 5210 Johann Gutenbergs vej 5-9, Aarhus N, Denmark t...@scanvaegt.dk | www.scanvaegt.dk This e-mail and its attachments are intended for the named addressee only and may contain i