Re: [WiX-users] How to hide a file in WXS configuration file ?

2014-10-13 Thread Michael Turner
be deleted. Fabrice -Message d'origine- De : Michael Turner [mailto: mcturner319@ ] Envoyé : jeudi 9 octobre 2014 17:59 À : wix-users@.sourceforge Objet : Re: [WiX-users] How to hide a file in WXS configuration file ? Fabrice, The CopyFile element is kind

Re: [WiX-users] How to hide a file in WXS configuration file ?

2014-10-09 Thread Michael Turner
Fabrice, The CopyFile element is kind of an oddball, particularly in the use-case where it points to another File in the same installer. Sure, the CopyFile element exists, and it supports copying a file that you're already installing, but I've never found a good reason to use it in this way; it

Re: [WiX-users] RegistrySearch doesn't find Key

2014-06-11 Thread Michael Turner
Try adding Secure=yes on the Property. This means that the Property can be passed to the server side when doing a managed installation with elevated privileges. I don't fully understand what the server side is, but I think it has something to do with the transactional part of the installation,

Re: [WiX-users] Strange Beahaviour while installing previous Version

2014-04-15 Thread Michael Turner
Chris, This looks like a bad design choice in the previous version. Most of the time, you're going to want to embed your custom action DLL as a Binary in the MSI package rather than installing it on the target machine as a File in a Component. I.e., put the custom action DLL on a Binary rather

Re: [WiX-users] Strange Beahaviour while installing previous Version

2014-04-15 Thread Michael Turner
further adjustments to the custom action DLL to ensure that it is fully self-contained for use in subsequent versions (e.g., if it's a C# or VB.NET DLL, make sure you're using the one whose name ends with .CA.dll). Regards, Mike Michael Turner wrote If you are in this situation, here's a workaround

Re: [WiX-users] Service Start Too Early - Can I delay on install?

2014-04-15 Thread Michael Turner
From http://msdn.microsoft.com/en-us/library/aa371634.aspx Note: Services that rely on the presence of an assembly in the Global Assembly Cache (GAC) cannot be installed or started using the ServiceInstall and ServiceControl tables. If you need to start a service that depends on an assembly in

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-04-15 Thread Michael Turner
Uma, Apologies for the delayed response. If you haven't figured it out already, you only need to remove the parent 'SnippetDir' node, and all of its children will be removed with it. However, you will need to be clever with your XPath to make sure you select the correct 'SnippetDir' node for

Re: [WiX-users] Strange Beahaviour while installing previous Version

2014-04-15 Thread Michael Turner
Chris, Is your new version a Major Upgrade (http://msdn.microsoft.com/en-US/library/aa369786.aspx), as opposed to a Small Update or Minor Upgrade (http://msdn.microsoft.com/en-us/library/aa370579.aspx)? Also, if it is a Major Upgrade, then when is your RemoveExistingProducts action scheduled?

Re: [WiX-users] Create MSI package with out installing Wix on Target machine

2014-04-15 Thread Michael Turner
Dileep, Theoretically, there are other ways to utilize the WiX Toolset without formally installing it on a machine, but none of them work very well with Visual Studio Integration. If you're using Visual Studio Integration and you only need to work with one version of the WiX Toolset at a time,

Re: [WiX-users] Strange Beahaviour while installing previous Version

2014-04-15 Thread Michael Turner
Chris, Well, it looks like you've found a workaround for now: just uninstall the old version before installing the new one. It isn't pretty, but it seems to be working for you. Sometimes, that's just what you have to do when you're migrating from one toolset to another. But if you want to

Re: [WiX-users] path to framework SDK $(FrameworkSDKDir)

2014-04-08 Thread Michael Turner
I'm not sure what you are expecting $(FrameworkSDKDir) to point to in a .wixproj. Which version of the framework? There is no clear answer to this question within the context of a WiX project, because WiX projects do not target .NET Framework versions and do not use the .NET Framework SDK.

Re: [WiX-users] problem with installer

2014-04-08 Thread Michael Turner
Have you tried running the application without going through the shortcuts? It is possible that the application may be crashing, and your machine may be configured to go straight to the debugger when a crash occurs. Usually when this happens, something is logged in the Application Event Log, so

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Michael Turner
Uma, First of all, I don't think you can insert XML before a given node using XmlConfig; you can only append a new child to a given parent node. (http://stackoverflow.com/q/8224918) Also, there are two nodes that match your XPath expression, and XmlConfig only uses the first match. Since you

Re: [WiX-users] Some but not all files being removed on uninstall

2014-03-26 Thread Michael Turner
Scott, Is your product using conditional Features? One way that components can get orphaned is if they belong to a Feature whose Level is 0 at time of uninstall. Usually this happens when the intent is to install the feature only if a certain prerequisite software is present, and if the

Re: [WiX-users] Component/@Guid error

2013-08-20 Thread Michael Turner
I have encountered this also. This a defect in light.exe 3.0.5419, which I confirmed by downloading the WiX 3.0.5419 source code and searching for the error message. (I did this a few months ago, so I can't remember the exact location off the top of my head.) This is what the linker does in

[WiX-users] wixlib backward compatibility in WiX 3.5, 3.6, 3.7

2013-08-08 Thread Michael Turner
Does anyone have experience using 3.5-built wixlibs with light.exe in WiX 3.6 and 3.7? For purposes of this discussion, I'm only concerned with the official RTMs (3.5.2519.0, 3.6.3303.0, 3.7.1224.0). My objective is to use wixlibs for inter-project collaboration, so that one project can produce

Re: [WiX-users] Using Condition Level=0 results in files being left behind after upgrade then uninstall.

2013-02-27 Thread Michael Turner
Condition Level=0 is tricky. There's a warning about this buried in the MSDN documentation for the Condition Table http://msdn.microsoft.com/library/aa368014.aspx : Conditions should be carefully chosen so that a feature is not enabled on install and then disabled on uninstall. This will orphan

[WiX-users] Are there any special characters I should avoid in a FeatureGroup ID?

2013-02-27 Thread Michael Turner
The syntax rules for ComponentGroup and FeatureGroup IDs seem to be fairly liberal: just about anything goes, including embedded spaces and backslashes (i.e., characters that are not allowed in traditional identifiers). Of course, $(...) and !(...) are still special and can be expanded (if

Re: [WiX-users] WiX 3.6 MergeModule creation regression?

2012-11-06 Thread Michael Turner
Dirk Ziegelmeier wrote here is a minimal mergemodule showing the error: ?xml version=1.0 encoding=UTF-8 ? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Module Id=MergeModule Language=1033 Version=1.0.0.0 Package Id={SomeGUID} Manufacturer=ACME InstallerVersion=200 /

Re: [WiX-users] Password validation without CA

2012-11-05 Thread Michael Turner
Nirmalraj, I have implemented something similar, and I ran into the same problem that you did. In my implementation, I created additional custom dialogs to display messages if the Password and Confirm Password entries did not match or if either the user name or password was empty. Then I keep

[WiX-users] ComPlusExtension (Win64) does not honor reference count during install?

2012-07-06 Thread Michael Turner
I am using WiX 3.5 RTM (3.5.2519.0). I have several x64 products that depend on a COM+ application, and they may be installed either concurrently or separately, so I am using a Wixlib to include the COM+ application in the main feature of each product. I use a custom dialog to prompt for a user