Re: [WiX-users] Custom bootstrapper and Server 2008 R2

2013-04-26 Thread jhennessey
David White wrote > > So the question is, how do I write my own bootstrapper UI when all I have > is v2? I have seen no windows forms apps. Can I write a simple Windows > forms app? Or do I have to go to C++ where I can link the runtime with it? Yes, the managed layer only uses .NET 2.0 so you ca

Re: [WiX-users] Burn restore after reboot not working

2013-04-17 Thread jhennessey
This post may help: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Resume-Installation-Plan-td7579146.html Easiest thing to do is to create a custom object that keep

Re: [WiX-users] Slow Installs

2013-04-12 Thread jhennessey
I haven't read the book but I noticed the same thing awhile ago. Check out my posting if interested: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Performance-Issues-with-File-table-sequencing-td4777168.html

Re: [WiX-users] Bundle: Way to do no action in case of Repair for an ExePackage

2013-02-28 Thread jhennessey
Just don't set the ExePackage/@RepairCommand attribute. That should disable repair for the exe. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-Way-to-do-no-action-in-case-of-Repair-for-an-ExePackage-tp7584034p7584035.html Sent from the wix-

Re: [WiX-users] Skipping pre-req packages during repairs

2013-02-15 Thread jhennessey
Take a look at the PlanPackageBegin function in InstallationViewModel.cs (the WiX installer BA). You'll see that it sets the request state to none if it is the netfx package. If you aren't using your own BA then you could just copy the appropriate code from the NetFx*.wxs file and remove the "Repa

Re: [WiX-users] Can't run bundle installer with ManagedBA with TrenMicro office scan

2013-02-15 Thread jhennessey
Are you signing your bundle? If not, do so...typically AV is more forgiving of signed files. Also, the burn engine is what writes those keys you mention. For reference, there are steps in the WiX CHM file that indicate how to sign bundles. -- View this message in context: http://windows-instal

Re: [WiX-users] When is ExecuteFilesInUse invoked for custom .NET bootstrapper

2013-02-14 Thread jhennessey
I found this issue as well and already opened a bug for it: http://sourceforge.net/p/wix/bugs/3160/ -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/When-is-ExecuteFilesInUse-invoked-for-custom-NET-bootst

Re: [WiX-users] Prevent logging

2012-12-04 Thread jhennessey
Add this to ensure that the custom action data is hidden as well: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Prevent-logging-tp7582177p7582224.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Burn - InstallAnywhere ExePackage

2012-09-05 Thread jhennessey
I just created a stand-alone executable. As long are you already require .NET then it makes sense to do it in C#. In my particular case I did it in vc++ (and statically linked the runtime) so I could use it for both native and managed bundles. -- View this message in context: http://windows-ins

[WiX-users] Issue installing or creating layout with WiX 3.6

2012-09-04 Thread jhennessey
Just wanted to share this with anyone who might run into the same issue I did... If you are doing a fresh install of WiX 3.6 and you have Visual Studio 2005 installed then the setup will fail. It will also fail to create a layout. You can get around the installation issue by copying ProjectAggrega

Re: [WiX-users] Verify if registry key exist with no default value.

2012-08-29 Thread jhennessey
Those are the search element for use with burn in 3.6+. I have found that the burn searches are capable of detecting if a key exists or not. However, these won't be useful to you if you aren't using burn (they won't execute in an MSI). -- View this message in context: http://windows-installer-x

Re: [WiX-users] Burn - InstallAnywhere ExePackage

2012-08-28 Thread jhennessey
UPDATE: OK, using the recommendation of creating a stub EXE I have got this working. Here's what I did in case anyone else needs to handle this type of installer. 1. Created a stub executable that manages the installation and removal of the package. The stub exe does a few things: a) Parses s

Re: [WiX-users] Burn - InstallAnywhere ExePackage

2012-08-23 Thread jhennessey
Good idea, I'm going to look into this approach and post back if I'm successful...thanks for the idea! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-InstallAnywhere-ExePackage-tp7580040p7580050.html Sent from the wix-users mailing list archi

Re: [WiX-users] Burn - InstallAnywhere ExePackage

2012-08-23 Thread jhennessey
Yeah I have never even been exposed to this type of installer until very recently. Should I file a bug for 3.7 to track this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-InstallAnywhere-ExePackage-tp7580040p7580047.html Sent from the wix-u

[WiX-users] Burn - InstallAnywhere ExePackage

2012-08-23 Thread jhennessey
I was wondering if anyone out there has had the unfortunate task of trying to bootstrap an InstallAnywhere package? I ask because apparently to uninstall these types of packages you need to launch an "uninstall.exe" file that gets installed by the setup executable. That being the case it appears b

Re: [WiX-users] Set ADDLOCAL from UI

2012-08-01 Thread jhennessey
Don't try to set feature states by directly setting the ADDLOCAL property from the UI. Instead you should use the http://msdn.microsoft.com/en-us/library/windows/desktop/aa367537%28v=vs.85%29.aspx AddLocal and http://msdn.microsoft.com/en-us/library/windows/desktop/aa371210%28v=vs.85%29.aspx Rem

Re: [WiX-users] Extending WiX UI

2012-07-26 Thread jhennessey
Take a look at this (if you haven't already): http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm I usually end up just copying from the existing source and creating my own dialogs and dialog sets. Since you can't easily

Re: [WiX-users] Dont want to harvest the subfolder inside a folder using heat.exe? Any possibilty to do this? Need Help

2012-07-26 Thread jhennessey
I haven't used it myself but have you looked at John Robbins' Paraffin tool? Here's a link to it (note the current version is 3.6 I believe): http://www.wintellect.com/cs/blogs/jrobbins/archive/2010/08/31/zen-of-paraffin.aspx http://www.wintellect.com/cs/blogs/jrobbins/archive/2010/08/31/zen-of-pa

Re: [WiX-users] Extending WiX UI

2012-07-26 Thread jhennessey
Well this isn't exactly pretty but I did find a way to do what you want. You can create a CustomTable element for the ControlCondition table and then add rows as you need them (WiX didn't seem to mind that this was a standard table). Here's the WiX authoring for the ControlCondition table:

Re: [WiX-users] Burn: Resume Installation Plan

2012-06-28 Thread jhennessey
Rob Mensching-7 wrote > > Save the values you need in a persisted Variable *before* calling Apply(). > When you come back after reboot, the values will still be there. > > Basically, in Burn we fixed the "problem" that MSI does not store Property > values by allowing Variables to be persisted.

[WiX-users] Burn: Resume Installation Plan

2012-06-27 Thread jhennessey
In my BA I have several packages and features. I decide which of these to install by showing a UI that allows the user to select them individually. If one of the packages requires an immediate reboot what is the recommended way of persisting the plan for after reboot (I don't want to have the user

Re: [WiX-users] pass a string value from one dialog to a managed custom action

2012-06-21 Thread jhennessey
Bob Uva-2 wrote > > I'm using WixUI_FeatureTree with a few custom dialogs. I want to get a > string entered by the user on one dialog and use it in a call to a managed > custom action implemented in a C# DLL assembly. What is the best, and > hopefully easiest, way to do this? > The process will

Re: [WiX-users] Scheduling Custom Action

2012-06-21 Thread jhennessey
Ravi Raj wrote > > I am populating UserName property in UI textbox and then storing it in > registry. For this I am using custom action to set this variable at > UISqeuence and ExecuteSequence. Everything works great. > > I found that if I change this value to something else, my registry is > ne

Re: [WiX-users] Session.Message to display messages during Deferred custom action

2012-06-19 Thread jhennessey
raviraj87 wrote > > I am using > session.Message(InstallMessage.Error | (InstallMessage)(icon) | > (InstallMessage)MessageBoxButtons.OK, > new Record { FormatString = message }); > to display any messages during deferred CA and everything works great. > The message

Re: [WiX-users] Passing component Id in Custom Action

2012-06-15 Thread jhennessey
raviraj87 wrote > > I want to pass a file name in the argument of Custom Action. These files > are getting installed into the system. Can I pass the component id of > these > files rather than passing hard coded name? > You can use this expression [#/filekey/] to get the full path of a file. Ta

Re: [WiX-users] Burn: Planning: package customization

2012-06-15 Thread jhennessey
Kannan24 wrote > > Hi, > > 1. I followed the update to set the msiproperty values in managed code, > but i cannot achieve to set the property value. > > I have used the below code. > > Bundle.wxs: > > > >SourceFile="C:\Users\Kannanns\Documents\Visual Studio > 2010\Projects\Test

Re: [WiX-users] WiX 3.6 Upgrade Leaves Files in Cache (v3.6.2520.0 to v3.6.2527.0)

2012-06-08 Thread jhennessey
Kannan24 wrote > > Could you please help me the following queries. > > 1. How to display the feature (or how to get the feature) list in windows > form from installing msi file? > 2. How to set the msi property values from class library? > 1. You can get the feature information by parsing th

Re: [WiX-users] Burn running sql script/ batch /command script in chain.

2012-06-08 Thread jhennessey
Rob Mensching-7 wrote > > Creating an installation engine in WiX is not something to consider until > WiX v4. > Sorry my curiosity has gotten the better of me...is this actually being seriously considered (I like the idea)? -- View this message in context: http://windows-installer-xml-wix-t

Re: [WiX-users] Managed Bootrapper next step

2012-06-08 Thread jhennessey
Neil Sleightholm wrote > > I have looked at InstallationViewModel.cs some more and I think I am > starting to understand it. > > One question how do you detect that the bundle is already installed and > hence display uninstall/repair? > In the WiX BA it looks like they handle this in Detected

Re: [WiX-users] Managed Bootrapper next step

2012-06-07 Thread jhennessey
Neil Sleightholm wrote > > I have created a very basic managed bootstrapper and it is loaded > correctly by my bundle but it doesn't actually run the install it just > stays in memory but with nothing happening. I have looked at the WiX > install and just can't figure out what I need to do next,

Re: [WiX-users] .Net 2.0 Managed Bootstrapper

2012-06-07 Thread jhennessey
Neil Sleightholm wrote > > It is possible to write managed bootstrapper in .Net 2.0? All the example > code I have found uses "Threading.Dispatcher.CurrentDispatcher" but that > isn't available in .Net 2.0 so I was wondering if there was an > alternative. > You see that because they are using W

Re: [WiX-users] Burn: Related MSI Detection Question

2012-06-04 Thread jhennessey
Created bug https://sourceforge.net/tracker/?func=detail&aid=3531882&group_id=105970&atid=642714 3531882 . Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Related-MSI-Detection-Question-tp7578654p7578676.html Sent from the wix-users m

[WiX-users] Burn: Related MSI Detection Question

2012-06-01 Thread jhennessey
I have an MSI package that detects the VSTO runtime via an entry in the Upgrade table (I just use it for a launch condition in the MSI.) When burn detects the related MSIs for this package it finds the VSTO runtime and indicates that the operation is a "MajorUpgrade". This seems a bit odd to me. S

Re: [WiX-users] Burn: multiple packages in one fragment

2012-03-02 Thread jhennessey
Yes, if you reference anything in a fragment it brings in the entire fragment (not just the element you referenced). It doesn't look like there is a RegistrySearchRef element (perhaps submit a feature request). So, I would recommend putting the searches in an include file so you can pull them in f

Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread jhennessey
>But what if the component is not installed at first installation? Would Component/@Transitive=yes make it to install during reinstall? Yes, as long as the component condition evaluates to true during reinstall. Take a look at the WiX help file. It describes the attribute very well. -- View this

Re: [WiX-users] registry search overridden when "Program Files" encountered

2012-02-09 Thread jhennessey
Windows Installer does this be design so you really shouldn't try working around it. But, see this post for more information: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-allow-32-bit-installer-to-write-to-C-Program-Files-td5544693.html#a5550286 http://windows-installer-xml

Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread jhennessey
If you are using a condition on your component then you set Component/@Transitive to "yes". That should force Windows Installer to reevaluate the condition during reinstall. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-w

Re: [WiX-users] CustomAction not running

2012-02-09 Thread jhennessey
No you need to know the name of the standard or custom action that you want it to run after or before. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-not-running-tp7263897p7269311.html Sent from the wix-users mailing list archive at Nab

Re: [WiX-users] CustomAction not running

2012-02-08 Thread jhennessey
Well, for DLLs it is pretty easy because you can use heat.exe to generate the authoring for you. However, it doesn't handle EXEs. See this thread for more details: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Heat-and-COM-executable-registry-extraction-td1308713.html http://windo

Re: [WiX-users] CustomAction not running

2012-02-08 Thread jhennessey
Disclaimer: As you probably know, it is a bad practice to register files this way during installation. The preferred way is to author the actual registry values that get written during registration. Ignoring the disclaimer, you shouldn't rely on using the value of the ADDLOCAL property. Instead, u

Re: [WiX-users] Registry setting with configurable install directory -- problem with value of %SystemRoot%

2012-02-07 Thread jhennessey
Are you running a 32 bit installer on a 64-bit machine? If so, then "%SystemRoot%\system32" is going to resolve to "C:\Windows\SysWOW64". So, make sure that "C:\Windows\SysWOW64\Novell\Nici" exists or the search will fail. -- View this message in context: http://windows-installer-xml-wix-toolset.

Re: [WiX-users] Registry setting with configurable install directory -- problem with value of %SystemRoot%

2012-02-06 Thread jhennessey
Try setting the RegistrySearch/@Type attribute to "directory" instead of "raw". -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-setting-with-configurable-install-directory-problem-with-value-of-SystemRoot-tp7255442p7260751.html Sent from the

Re: [WiX-users] Burn without UI

2012-01-31 Thread jhennessey
You can do it in native or managed code. Take a look at the burn solution file in the source (src\burn\burn.sln). You can see both the wixstdba (native) and WixBA (managed) projects for examples. I haven't come across any tutorials or anything like that though. -- View this message in context:

Re: [WiX-users] Burn without UI

2012-01-31 Thread jhennessey
Looks like you need to write your own BA: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-bootstrap-a-single-MSI-not-showing-BA-UI-at-all-td6926187.html http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-bootstrap-a-single-MSI-not-showing-BA-UI-at-all-td6926187.h

Re: [WiX-users] WiX 3.6 Upgrade Leaves Files in Cache (v3.6.2520.0 to v3.6.2527.0)

2012-01-30 Thread jhennessey
I created SF Bug 3481704 for the issue (log files attached to bug). -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-6-Upgrade-Leaves-Files-in-Cache-v3-6-2520-0-to-v3-6-2527-0-tp7237051p7237232.html Sent from the wix-users mailing list archive a

Re: [WiX-users] WiX 3.6 Upgrade Leaves Files in Cache (v3.6.2520.0 to v3.6.2527.0)

2012-01-30 Thread jhennessey
And here is the log from the uninstall of v3.6.2520.0 -- [0DD4:0DD8][2012-01-30T10:56:55]: Burn v3.6.2520.0, path: C:\ProgramData\Package Cache\{c18586f8-ce3c-4cb7-b003-162f6b341878}\WiX36.exe, cmdline: '-uninstall -quiet -burn.related.upgrade -burn.e

[WiX-users] WiX 3.6 Upgrade Leaves Files in Cache (v3.6.2520.0 to v3.6.2527.0)

2012-01-30 Thread jhennessey
][2012-01-30T10:54:11]: Burn v3.6.2527.0, path: C:\jhennessey\Installed Applications\WiX\3.6.2527.0\wix36.exe, cmdline: '-burn.unelevated BurnPipe.{A0517E6A-F456-4BFE-AF46-55990426E173} {545AA060-697B-411F-982D-36A592091F4B} 24900' [6374:6378][2012-01-30T10:54:11]: Setting strin

Re: [WiX-users] Wix Bootstrapping Issues

2012-01-26 Thread jhennessey
A bootstrapper needs to be an executable. MSIs cannot launch other MSIs. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bootstrapping-Issues-tp7225413p7228980.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] .NET config best practices

2012-01-24 Thread jhennessey
My suggestion is that you store this information in some soft of database and have the application (or a configuration application ) manage the settings. I think you'll find it difficult to be able to try and save / merge all this data as time goes on. -- View this message in context: http://wind

Re: [WiX-users] Two Wierd Installer Problems - DTF and QuietExec

2012-01-24 Thread jhennessey
Although I wrote this bug up for a different reason ( https://sourceforge.net/tracker/?func=detail&aid=2013944&group_id=105970&atid=642714 https://sourceforge.net/tracker/?func=detail&aid=2013944&group_id=105970&atid=642714 ), if you read the comments you'll see that I was getting a similar issu

Re: [WiX-users] Install 3.6 on clean VM

2012-01-24 Thread jhennessey
I posted a commented on your SF bug and figured I would post it here as well: I couldn't view your attached image (I think it's corrupt) but I suspect the problem might be the same issue I was seeing at one point with my own experimental BA. My issue was rooted in the fact that the engine perfor

Re: [WiX-users] Pass BootstrapperApplication properties to MSIPackages

2012-01-17 Thread jhennessey
Define the properties that you want passed to your MSI using elements under the corresponding element. You can set the MsiProperty@Value attribute to the value of a element. Your BA can change / update the value of the Burn variable. So here's a burn variable that you will later set through you

Re: [WiX-users] Is there a UI Control to pick an existing file?

2012-01-17 Thread jhennessey
Unfortunately MSI UI doesn't natively support an Open File Dialog. So, yeah, you'll need a custom action to display one. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Is-there-a-UI-Control-to-pick-an-existing-file-tp7195026p7196469.html Sent from t

Re: [WiX-users] Burn: check for MSI existence and validity

2012-01-11 Thread jhennessey
Created SF Feature Request 3472491: https://sourceforge.net/tracker/?func=detail&aid=3472491&group_id=105970&atid=642717 https://sourceforge.net/tracker/?func=detail&aid=3472491&group_id=105970&atid=642717 . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabb

Re: [WiX-users] Burn: check for MSI existence and validity

2012-01-11 Thread jhennessey
I can also verify that BootstrapperApplicationData.xml doesn't contain the payload information...it's in the manifest file. I think it would be advantageous to include all of the information from the manifest in the BootstrapperApplicationData.xml file (or at least write the manifest to the tempo

Re: [WiX-users] xp auto start pre installed service

2011-12-06 Thread jhennessey
You could change the registry value for the service that maps to the startup type. In your case you said the service name was "wzcsvc" so you would change this registry value (DWORD): HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wzcsvc\Start to "2". Here's a little bit of info on these

Re: [WiX-users] ARPPRODUCTICON missing in Programs and Features on Windows 7

2011-11-23 Thread jhennessey
This post may help: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/problem-with-icon-for-Add-Remove-Programs-applet-td689139.html#a689141 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/problem-with-icon-for-Add-Remove-Programs-applet-td689139.html#a689141 -- View t

Re: [WiX-users] PhysicalMemory issue

2011-11-23 Thread jhennessey
That's strange...I just checked and the property is correct for my machine (Windows 7 x64). How much RAM do you actually have installed and what is the property saying? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/PhysicalMemory-issue-tp7024683p70

Re: [WiX-users] How to disable CA if feature not installed

2011-11-23 Thread jhennessey
You should condition the CA based upon the installation state of the component containing your EXE. Check http://msdn.microsoft.com/en-us/library/windows/desktop/aa368012%28v=vs.85%29.aspx MSDN for full details but let's say your component id is "componentA"...then the condition on your CA would

Re: [WiX-users] Burn & MBA & Getting PackageName from

2011-11-22 Thread jhennessey
The BootstrapperApplicationData.xml file gets extracted to the same directory as your BA. So, you could just get the directory of the current executing assembly (your BA assembly) and then load/parse the XML file. I recommend searching the %temp% directory for BootstrapperApplicationData.xml afte

Re: [WiX-users] WiX36.exe and Antivirus

2011-10-11 Thread jhennessey
It seemed to be right when I clicked install (caching?) so that makes sense. It looks like the AV is more forgiving to signed exes so I might try signing it with a test certificate to see what happens. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/

Re: [WiX-users] 3.6.2207.0 and 3.6.2201.0 are missing the data subdirectory.

2011-10-11 Thread jhennessey
I always grab the binaries (we check them in) but still use the MSI for Votive. I have VS2005, VS2008, and VS2010 but only need votive for 2010. So, I don't install anything but the VS2010 integration. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/

[WiX-users] WiX36.exe and Antivirus

2011-10-10 Thread jhennessey
The last few builds of WiX 3.6 that I have tried installing have been blocked by my antivirus (Kaspersky 3.6). It detects it as PDM.Trojan.generic. I was just wondering if anyone else's AV has started giving them problems with WiX36.exe lately? -- View this message in context: http://windows-ins

Re: [WiX-users] 3.6.2207.0 and 3.6.2201.0 are missing the data subdirectory.

2011-10-10 Thread jhennessey
Is there a way to extract the MSI then? The problem with providing just the exe right now is that it doesn't support installing only select features (like the MSI does). I was thinking that /layout might work but the WiX BA doesn't support that switch (not sure if that extracts embedded stuff any

Re: [WiX-users] Managed BA can't parse unknown args with spaces successfully

2011-10-06 Thread jhennessey
Glad to help. I was merely pointing out where you could look to find the history of the changes so if you are still seeing a bug then go ahead and file one for the devs. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-BA-can-t-parse-unknown-a

Re: [WiX-users] Managed BA can't parse unknown args with spaces successfully

2011-10-06 Thread jhennessey
Check the feed: http://wix.sourceforge.net/releases/wix3.6.feed http://wix.sourceforge.net/releases/wix3.6.feed . The bug you mentioned was fixed in v3.6.1929.0. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-BA-can-t-parse-unknown-args-wit

Re: [WiX-users] Dealing with ICE48 warning

2011-10-03 Thread jhennessey
When you use a type 51 custom action it doesn't call MsiSetTargetPath because you've told it you are setting a property and not a directory. Try using a type 35 custom action (after CostFinalize) by using the Directory attribute instead of Property. -- View this message in context: http://windows

[WiX-users] If you use Nabble then read this

2011-09-28 Thread jhennessey
I have notice on Nabble that their are several posts which do not specify a sub-forum (the options are wix-user or wix-devs) which corresponds to the two different mailing lists. I am not sure, but I believe that if you don't choose a sub-forum then your post will only be seen by those who actuall

Re: [WiX-users] Burn - Save the downloaded packages locally

2011-09-23 Thread jhennessey
Try running YouBurnInstaller.exe /layout (I remember seeing something about this on the bug tracker. I think you can also specify the directory to create the layout in). -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Save-the-downloaded-package

[WiX-users] Burn - Determine if bundle is already installed

2011-08-02 Thread jhennessey
I am using a managed bootstrapper application and I am trying to figure out how to detect if the bundle is already installed. I am able to detect the packages by handling the *DetectPackageComplete* event but I can't just assume that the bundle is installed by detecting one of the packages in it (

Re: [WiX-users] Hidden Bundle Variables

2011-07-21 Thread jhennessey
The bug is still open, see the submitter's comments: http://sourceforge.net/tracker/?func=detail&aid=3302804&group_id=105970&atid=642714 http://sourceforge.net/tracker/?func=detail&aid=3302804&group_id=105970&atid=642714 -- View this message in context: http://windows-installer-xml-wix-toolset

Re: [WiX-users] How to have Burn start an MSI with User Interface enabled?

2011-07-12 Thread jhennessey
>From reading other posts on the list, this is currently not possible. That means you need to use the standard boostrapper application or write your own. However, IIRC, Rob mentioned that this might be something that gets added later though. -- View this message in context: http://windows-insta

Re: [WiX-users] Help with updating Heat output files to be installed into GAC

2011-05-17 Thread jhennessey
I'm using the heat task for MSBuild so I just specify the path to my xlst file with the Transforms property. Here's an abbreviated example: You can also specify it with the -t parameter on the commandline. Look at the WiX chm file for more details. -- View this message in context: http://windo

Re: [WiX-users] Help with updating Heat output files to be installed into GAC

2011-05-17 Thread jhennessey
You can specify an XSL transform to apply after heat harvests the files. Here's what my xslt file looks like: http://www.w3.org/1999/XSL/Transform"; xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns:Wix="http://schemas.microsoft.com/wix/2006/wi";>

[WiX-users] Binder Extension - get output file path

2011-05-10 Thread jhennessey
Is it possible to get the output file path from a binder extension (I didn't see anything obvious)? The reason I ask is because I want to generate an XML with some information from a custom unreal table and then save it to the directory containing the output. -- View this message in context: htt

Re: [WiX-users] Multi-Instance Major Upgrades

2011-04-15 Thread jhennessey
If you want to avoid having to make a bogus upgrade element just use the EnsureTable element for the Upgrade table. Then you would be able to add your custom rows with no problems (since the empty table will be in the MSI). -- View this message in context: http://windows-installer-xml-wix-toolset

Re: [WiX-users] Unable to change or propagate the value of a directory whose parent is changed via custom action

2011-02-12 Thread jhennessey
Try using the "Directory" attribute instead of the "Property" attribute in your custom actions. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-change-or-propagate-the-value-of-a-directory-whose-parent-is-changed-via-custom-action-tp601665

Re: [WiX-users] Burn issue

2011-01-04 Thread jhennessey
I haven't worked with burn yet but from what I can tell it looks like you would just set a burn variable to be passed to the MSI. So to install a set a features you could just set the ADDLOCAL property as appropriate (in your custom UI). You could also just split your large MSI into separate MSIs

Re: [WiX-users] Upgrading wixproj

2011-01-04 Thread jhennessey
All builds will say "Windows Installer XML Toolset 3.5" but you need to check the actual build version (I think the latest is 3.5.2430.0). v3.x\Wix.targets is what is current -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Upgrading-wixproj-tp58900

Re: [WiX-users] Upgrading wixproj

2011-01-04 Thread jhennessey
It looks like they have an older version of 3.5 installed than you do. I believe it used to v3.5 but was later switched to use v3.x. If you both install the same version it should solve your problem. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/U

Re: [WiX-users] Any option to run 3.0 and 3.5 on a single build server side-by-side?

2010-12-22 Thread jhennessey
All you need to do is check in the binaries as per WiX.chm. This was you can have have as many versions of WiX as you want side-by-side. The major problem though is that you can't have two different versions of Votive (which I'll assume you're using) installed on your development machines (this i

Re: [WiX-users] Microsoft's PlatformSDK MSI forum

2010-11-29 Thread jhennessey
I don't have the answer to this question but I have also tried to find ways in the past to send feedback to the Windows Installer team. Why is there no way to report bugs or suggest enhancements? I know that there is a (rarely updated)Windows Installer blog but why nothing official (think Micros

Re: [WiX-users] Include question.

2010-10-19 Thread jhennessey
Good catch, I didn't even notice he was creating a merge module. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Include-question-tp5631284p5650417.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] FeatureTree: how to disable the feature selection ability if certain condition isn't met

2010-10-15 Thread jhennessey
1. MSI feature tree doesn't let you "grey out" the feature. However, you can use a feature condition to totally remove it from the tree. If you do this though you need to ensure that the feature is always enabled on remove or else it will be orphaned. See Bob's post: http://www.joyofsetup.com/200

Re: [WiX-users] Include question.

2010-10-15 Thread jhennessey
Are you adding a ComponentRef for ASPcomponent0 under a feature? If not it will not be included in the MSI. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Include-question-tp5631284p5638617.html Sent from the wix-users mailing list archive at Nabbl

Re: [WiX-users] Need help in updating permission of a registry key

2010-10-15 Thread jhennessey
Try using the WiX Util extension element instead (it doesn't remove all the permissions like the standard Windows Installer action does). It's documented in the WiX help file. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Need-help-in-updating-pe

Re: [WiX-users] sequencing custom actions

2010-09-29 Thread jhennessey
You should schedule it before LaunchConditions in both the InstallUISequence (I'm assuming you are using standard MSI UI) and InstallExecuteSequence. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/sequencing-custom-actions-tp5573077p5584163.html Se

Re: [WiX-users] How to create an installer looks like Visual Studio 2010

2010-09-29 Thread jhennessey
Burn does not require the .NET Framework, you can code your UX in native code if you want to. (The WiX 3.6 installer is using managed code for the UI so it installs .NET for you before presenting the UX.) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.

Re: [WiX-users] Directory in Maintenance mode is not directory installed to

2010-09-29 Thread jhennessey
If you set the ARPINSTALLLOCATION property to the value of INSTALLLOCATION it should work: NOT Installed -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Directory-in-Maintenance-mode-is-not-directory-installed-to-tp5580924p5584068.html Sent f

Re: [WiX-users] light.exe -ai switch questions

2010-09-15 Thread jhennessey
I think I figured out why I get the duplicate symbols when building now. It seems that lit.exe includes all project references in the resulting library(?) I don't think it should be this way though. I think that a library's project references should just be passed to light.exe when building your

[WiX-users] light.exe -ai switch questions

2010-08-25 Thread jhennessey
1. I have a library with some commonly used stuff call it Library.Common.wixlib 2. I have a library which uses some parts of Library.Common.wixlib call it Library.Product1.wixlib (so it references Library.Common.wixlib) 3. I have an additional library which uses some parts of Library.Common.wixlib

Re: [WiX-users] How to debug CustomAction DLL

2010-08-25 Thread jhennessey
I set the environment variable MsiBreak for native code ( http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx ) and MMsiBreak for managed code ( http://blog.torresdal.net/2008/10/26/WiXAndDTFDebugAManagedCustomActionAndH

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread jhennessey
> Were you using Components containing single files as generated by heat.exe? Many of the components only contain a single file but others have multiple files per component (mostly for ASP.NET projects that contain a lot of files). Note that I only have to support major upgrades so having multiple

[WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread jhennessey
After days of researching why the current installer that I am porting from InstallShield (it's a pure MSI not InstallScript) to WiX installs so much slower I think I have found an answer. It looks like WiX sequences files in the file table by their file id. In comparison it appears that InstallShi

Re: [WiX-users] Un-define a property

2010-02-19 Thread jhennessey
Set the property's value to "{}" using a set property custom action or publish event. -- View this message in context: http://n2.nabble.com/Un-define-a-property-tp4597319p4597833.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] External UI

2010-01-29 Thread jhennessey
I just fired up my old project and it looks like it is working (of course I'm not sure if this is the best way way of doing it). Here's a snippet of how I did it: Installer.SetInternalUI(InstallUIOptions.Silent); session = Installer.OpenPackage(Path.Combine(Environment.Cu

Re: [WiX-users] External UI

2010-01-29 Thread jhennessey
Awhile ago I started playing around with external ui and found that if the MSI doesn't actually have an appsearch table then I got the same exact error. Try opening an MSI that you know for a fact has a search and see if that works. Also, if you end up developing a good external ui it would be gre

Re: [WiX-users] UI plans for burn

2009-05-01 Thread jhennessey
gt;> entry >>> points. You will need to detect the system state to figure what you >>> would >>> like to do. From point #3, however, there is one key you can be set >>> where >>> you could pass in a command line value you expect

[WiX-users] UI plans for burn

2009-04-29 Thread jhennessey
Hi, I have a couple questions regarding the current plans for burn that I was hoping could be answered (don't worry I won't hold you to your response :) 1. I remember reading that burn will allow you to provide a custom UI .dll. If this is still the case, can this be a .Net assembly? (Of course