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 can

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 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 keeps

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

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:

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

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/ http://sourceforge.net/p/wix/bugs/3160/ -- View this message in context:

Re: [WiX-users] Prevent logging

2012-12-04 Thread jhennessey
Add this to ensure that the custom action data is hidden as well: Property Id=ExecXmlFile Hidden=yes/ -- 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

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:

[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

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:

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

[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

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

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

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

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] 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

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

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. smile/

[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

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 never

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] 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 box

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: Variable Name=UI Value=False/ Chain MsiPackage Id=SketchUpPlugin Name=Wixdata

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. Take a

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

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. smile/ Sorry my curiosity has gotten the better of me...is this actually being seriously considered (I like the idea)? -- View this message in context:

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 WPF

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, I

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

2012-06-04 Thread jhennessey
Created bug https://sourceforge.net/tracker/?func=detailaid=3531882group_id=105970atid=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

[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.

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

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

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:

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

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] 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,

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

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:

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
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

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:

[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 string variable

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

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

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] 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

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=detailaid=2013944group_id=105970atid=642714 https://sourceforge.net/tracker/?func=detailaid=2013944group_id=105970atid=642714 ), if you read the comments you'll see that I was getting a similar issue. I

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:

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

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

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

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

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=detailaid=3472491group_id=105970atid=642717 https://sourceforge.net/tracker/?func=detailaid=3472491group_id=105970atid=642717 . -- View this message in context:

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] 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] 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:

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

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

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:

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:

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

[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:

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:

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:

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:

[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

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:

[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=detailaid=3302804group_id=105970atid=642714 http://sourceforge.net/tracker/?func=detailaid=3302804group_id=105970atid=642714 -- View this message in context:

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: ?xml version=1.0 encoding=utf-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:msxsl=urn:schemas-microsoft-com:xslt exclude-result-prefixes=msxsl

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: HeatDirectory Transforms=c:\myfile.xslt ... / You can also specify it with the -t parameter on the commandline. Look at the WiX chm file for more details.

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:

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:

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:

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:

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] 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

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

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] Need help in updating permission of a registry key

2010-10-15 Thread jhennessey
Try using the WiX Util extension PermissionEx 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:

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

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:

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: !--Set ARPINSTALLLOCATION-- CustomAction Id=SetProperty_InstallLocation Property=ARPINSTALLLOCATION Value=[INSTALLLOCATION]/ InstallExecuteSequence Custom Action=SetProperty_InstallLocation

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:

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

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

[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

[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

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

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
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

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 =

Re: [WiX-users] UI plans for burn

2009-05-01 Thread jhennessey
: jhennessey wrote: 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? Not unless somebody does the work to host the CLR. Burn has to be native code so we can