Re: [WiX-users] Bootstrapper for multiple cultures

2015-01-16 Thread Phill Hogland
It has been over a year since I tackled that issue with the help of folks here. This thread is on the same issue. I know we got it to automatically detect the

Re: [WiX-users] Installing uncompressed MsiPackage

2015-01-18 Thread Phill Hogland
>> but it require the msi installer to be near the bootstrapper.exe. I'm not sure what you mean. In the MsiPackage I use the following, (with a bindpath defined in the wixproj): Compressed='no' DownloadUrl='{2}' SourceFile='de-DE\Project.msi' Name=BundleOutputSubFolderPath\Projec

[WiX-users] RollbackBoundry - Can't Upgrade or uninstall bundle.

2015-01-18 Thread Phill Hogland
I have noticed, in several different bundles and rollback situations, that if a Bundle/@Chain contains a RollbackBoundry, and when a msi package fails during install, right after the RollbackBoundry, that at least sometimes, the Bundle is left in a state where it cannot be uninstalled. Also when a

Re: [WiX-users] RollbackBoundry - Can't Upgrade or uninstall bundle.

2015-01-19 Thread Phill Hogland
This log was created after there were two of these 'orphaned' entries (for versions 9.1.0.4 and 9.1.0.5) in the ARP, while running build Bundle 9.1.0.6 as a Upgrade. (These Bundles implement the MajorUpgrade pattern and increment the last section of the version, based on recent discussion in wix-d

Re: [WiX-users] RollbackBoundry - Can't Upgrade or uninstall bundle.

2015-01-19 Thread Phill Hogland
Sorry for the previous post, which I deleted, becuase I cut and pasted one log in the middle of another log. Lets try again. This log was created while Upgrading Bundle 9.1.0.6, while Bundle 9.1.0.5 was installed (AND while Bundle 9.1.0.4 was also incorrectly listed in ARP, as it should have been

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

2015-01-20 Thread Phill Hogland
I think there is a misunderstanding of the linked article. Treat each Bundle and each MSI as if you are following the rules for a Major Upgrade. While the Bundle is processed by Burn and not msiexec, it should have an UpgradeCode which does not change for each build of the Bundle. Make sure that

Re: [WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-20 Thread Phill Hogland
I would not try to redeploy dism.exe from one pc to another, as that can definitely cause problems. I have read in MSDN dismapi docs, that dism.exe is specific the OS, which it was deployed as a part of. As far as I know there is no redistribution license. I do not think that trying to do the eq

Re: [WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-21 Thread Phill Hogland
>>When i make different MSI packages for the different OS- and OS-Bit-versions is it possible to create a MSI package which install no files and just executes the CustomAction? Yes. When there are no files in an MSI you will get ICE71 warnings when building the MSI package. I'm sure there are di

Re: [WiX-users] How to use dism.exe in WiX ExePackage for IIS feature activation?

2015-01-21 Thread Phill Hogland
SysWow64 contains 32 bit dism.exe. I know that for some commands to dism.exe in SysWow64 you will get a response of: "You cannot service a running 64-bit operating system with a 32-bit version of DISM. Please use the version of DISM that corresponds to your computer's architecture." Which means

Re: [WiX-users] Uninstall 'Lite' and/or 'Pro' version with RelatedBundle property

2015-01-21 Thread Phill Hogland
You can use Wix XML to author MSI package project(s) or a Bundle (bootstrapper) project, but you do not have to author a bootstrapper. http://wixtoolset.org/documentation/manual/v3/bundle/ A Bundle includes a "Bootstraper Application" (BA) which is processed by the Wix Burn engine. The event hand

Re: [WiX-users] Installing x86 after x64 results in Obsolete state

2015-01-21 Thread Phill Hogland
I 'suspect' that the issue is that the x86 MSI package was built first and the x64 built later with a newer version number. So when you try to install the x86 over th x64 it is not allowing you to downgrade the package. My x86 and x64 packages are all exclusive of each other so I have not dealt w

Re: [WiX-users] Installer for x86 and x64

2015-01-21 Thread Phill Hogland
The statements are pre-compile statements so you would need to build your project twice to get a x64 MSI and a x86 MSI. You can then chain those platform specific packages in a Bundle.exe. I recommend that you look at the following example: http://alekdavis.blogspot.com/2011/05/build-32-and-64-b

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

2015-01-21 Thread Phill Hogland
I have not done exactly what you are doing. (I am converting a large non-msi suite (no UpgradeCode) to a Bundle.exe with an UpgradeCode and many MSI (applications) each with their own UpgradeCodes). However the following blog speaks to your situation: http://www.joyofsetup.com/2008/09/07/hint-be

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

Re: [WiX-users] How to distinct between Windows 7 and Windows Server 2008?

2015-01-23 Thread Phill Hogland
http://robmensching.com/blog/posts/2008/11/3/how-to-determine-if-you-are-installing-on-windows-client/ -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-distinct-between-Windows-7-and-Windows-Server-2008-tp7598975p7598976.html Sent from the w

[WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
I have a compiler extension which I wrote some time ago, based on studing the DifxAppExtension and other Wix Extensions. My new elements are children of wix:Component so I originally defined my xsd like this: http://www.w3.org/2001/XMLSchema"; xmlns:xse="http://schemas.microsoft.com/wi

Re: [WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
I found the problem in my ParseElement implementation. Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-xsd-tp7598978p7598981.html Sent from the wix-users mailing list archive at Nabble.com. --

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

2015-01-23 Thread Phill Hogland
You posted to the correct forum. I don't know anything about 'C# custom template wizard'. Sometimes my questions have also gone unanswered, but I appreciate the help when it is available. If you search the wix source code, filtering for just .cs files, there are about 22 hits on use AddProject..

Re: [WiX-users] CompilerExtension xsd

2015-01-23 Thread Phill Hogland
Actually the change to my ParseElement code did not resolve the problem and introduced other xsd validation problems. I reverted back to xsd which does not include the xs:appinfo/xse:parent. I can see in the Wix Extensions that xse:parent is used to declare multiple possible parents, which is use

[WiX-users] Adding an extension attribute, like bal:Overridable, but myext:Attribute

2015-01-23 Thread Phill Hogland
Is it possible in my Compiler extension to add an attribute to an existing wix element, like the bal:Overridable attribute was added? I created a xsd and added to my extension, which adds my new attribute to the util:User element. While I did not implement the underlying parsing code or the CA ye

Re: [WiX-users] Adding an extension attribute, like bal:Overridable, but myext:Attribute

2015-01-24 Thread Phill Hogland
Thanks. I had been studying the Compiler Extension code but did not understand what to look for. Since the same error message is posted when I incorrectly defined an element in my xsd, I was not sure if my xsd was wrong or if the UtilExtenssion did not support defining extra attributes. I finall

Re: [WiX-users] CompilerExtension xsd

2015-01-24 Thread Phill Hogland
I also figured out the real problem and solution to my xsd. Since I had not defined each element at the root (global) level I was getting a variety of xsd parsing problems. One I understood that concept I was able to create a xsd which follows the pattern of xsd files found in the other Wix Exten

Re: [WiX-users] Return Error to Bundle

2015-01-26 Thread Phill Hogland
The verbose log will explain the 'why'. Look in your %temp% folder at the log files. If the failing msi signaled a failure it will be in the log. If using a custom BA, an example of how to handle the error is in the wix source under Setup/WixBA/InstallationViewModel.cs in the ExecuteError functi

Re: [WiX-users] Installer for x86 and x64

2015-01-26 Thread Phill Hogland
When I get a 'strange' error, I use Notepad++ to search the wix source. In this case I did not fince that string. I think that LGHT0001 is a catch-all error message and the actual message is bubbling up from .Net, but I could be wrong. However the problem is probably related to the following cod

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

2015-01-26 Thread Phill Hogland
It looks like you are trying to do 'custom action' type behavior in the bundle chain, which is not really what the ExePackage is for. The ExePackage must be available at build time, so that a thumb print of the package can be embedded in the bundle for security reasons, as I understand it. Custom

[WiX-users] CompilerExtension extending util:User

2015-01-26 Thread Phill Hogland
In another thread last week, I tried to extend util:User by adding an attribute. I eventually determined in the code that adding an attribute is not allowed for this element. So I assumed that I could add a child element, but also does not work. UtilCompiler.cs has the following code

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

2015-01-26 Thread Phill Hogland
I am also learning these details, but I have seen this come up previously in the forum. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-config-file-Answer-file-td7593918.html#a7593920 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Runtime-configurable-Bur

Re: [WiX-users] CompilerExtension extending util:User

2015-01-26 Thread Phill Hogland
Maybe I posted this too soon. I am working on adding the custom element as a child of Component and passing in a key to the specific user entry in the User table. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-extending-util-Use

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

2015-01-26 Thread Phill Hogland
I think that this was pointed out earlier, but mapped network drives are User resources and may not be defined for another user, and would not be available to localSystem. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-error-with-document-fol

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Phill Hogland
When you create a bundle with a chain of packages, whether they are run from a DVD or some other source, they are by default cached in a secure location on the PC, and the original media is no longer needed by subsequent users. Why reinvent the wheel? (You can also disable caching on a per packag

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Phill Hogland
Sorry, I misunderstood. As for creating the network share, (although it does not sound like the tool would be a wix msi), but if it helps, you could use wix:PermissionEx as a child of CreateFolder to create the folder and set the NT permissions. Use cacls.exe on a system that has such a folder to

Re: [WiX-users] Using Lux and Nit

2015-01-27 Thread Phill Hogland
I'm sorry for the delay in getting back to this subject, but since I just coded up my first semi-custom action (into a CompilerExtension) I wanted to see if I could also understand how to use lux. While I have wix 3.9 RC2 installed, I am getting the same nit errors (NIT8104) posted before. I foun

Re: [WiX-users] Using Lux and Nit

2015-01-27 Thread Phill Hogland
I realized that I should be using 3.10 to pick up the fix for nit. I installed 3.10.1124.0, but get the same errors, with the same message in the msi log. SFXCA: Failed to get requested CLR info. Error code 0x80131700 -- View this message in context: http://windows-installer-xml-wix-toolset.6

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-28 Thread Phill Hogland
You probably figured this out, but in thinking about it, you just need to create a SetupPackage (msi or Bundle/msi) which deploy the AppPackage (bundle or msi). The SetupPackage, deploys the files in the output folder of the AppPackage and sets PermissionsEx on the targeted folder, and then create

Re: [WiX-users] WiX 3.9 R2 - Debugging WPF Burn Application

2015-01-31 Thread Phill Hogland
To debug my WPF BA, I just build all projects against the installed released wix 3.9 RTM (or 3.9 R2 installed). Then I go back to my WPF project and enable debug/trace in project properties, add a Debugger.Launch() line to the code of interest, and set the start path to point at the bundle exe.

Re: [WiX-users] VS2008 - WIX Project Type Not Shown

2015-02-09 Thread Phill Hogland
Is this related to your concern? https://support.firegiant.com/entries/24003561-WiX-toolset-support-for-Visual-Studio-Express- -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/VS2008-WIX-Project-Type-Not-Shown-tp7599156p7599157.html Sent from the wi

Re: [WiX-users] Using Lux and Nit

2015-02-09 Thread Phill Hogland
With the recent build of wix 3.10.0.1403 I was able to get my simple Lux/Nit test project to work. Thanks! I initially used a .cmd file to call lux, candle, light, and then nit. But I prefer to build my projects using MSBuild, so I figured out how to use the 'Test' Target (and the BuildTestPacka

Re: [WiX-users] Using Lux and Nit

2015-02-09 Thread Phill Hogland
It makes sense to me that lux has value when implementing a data driven CA pattern. I don't expect lux to cover the areas that those other tools target, but thanks for that information. http://robmensching.com/blog/posts/2007/9/13/zataoca-custom-actions-should-be-data-driven/ -- View this mess

Re: [WiX-users] Using Lux and Nit

2015-02-09 Thread Phill Hogland
Your comments were helpful. I think I have some ideas on how to address my concern and take advantage of the information that you added. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-Lux-and-Nit-tp7597183p7599165.html Sent from the wix-use

Re: [WiX-users] Using Lux and Nit

2015-02-10 Thread Phill Hogland
>> if you had to maintain a separate test project, it's not a big burden. While thinking about this issue yesterday, I came to a similar conclusion. I have a single 'toolbox' Extension project(s) to which I add different Compiler Extension implementations as partial classes (and CAs for both Win3

Re: [WiX-users] Strange problem with printer driver installation

2015-02-11 Thread Phill Hogland
I don't know of anything specific to WiX authoring. The following link might be helpful, or a command like: >pnputil -f -d oem#.inf https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/5723dbd5-fedb-4b8e-8e5b-638c1f6026b1/is-there-a-setupdi-equivalent-for-the-delete-the-driver-software-f

Re: [WiX-users] How to set string variable in wix burn command line?

2015-02-12 Thread Phill Hogland
The Variable element must have Type='string' and bal:Overridable='yes', and if you want quotes around the data in ExePackage/@InstallCommand us XML entities or CDATA. If not using WixStdBA, then provide code to parse the command line and set the variable in a custom BA. ExePackage/@InstallCom

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Phill Hogland
Prior to 3.10.0.1403 (?) if an app is running in a different user context than the setup, (i.e. app running under LocalServices) then the wix RestartManager code in src\libs\dutil\rmutil.cpp (::RmuAddProcessById) failed, which resulted in the setup doing a rollback, because OpenProcessToken did not

[WiX-users] Lux Multi-value Unit Test

2015-02-13 Thread Phill Hogland
I am making progress in understanding the use of Lux/Nit. When I create a tests which read my custom table, and evaluate a single value property or an Expression element I have success (or failure if desired ), but I am having difficulty using the Multi-value pattern. In my CA under test, I pass

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Phill Hogland
Did you see this post ? I did a little searching (as a break from what I should be working on), otherwise I have no expertise to share. From what I read ERROR_SEM_TIMEOUT error message and the wording is a hold-over from floppy drive terminology and is

Re: [WiX-users] How to silently uninstall old bundle when major upgrade happens?

2015-02-14 Thread Phill Hogland
Look at the wix source in src\Setup\WixBA\InstallationViewModel.cs, at the DetectComplete handler which has both code that detects whether the setup is ding LaunchAction.Uninstall and code to determine whether the setup is running with Display.Full. While it is not doing exactly what you indicated

[WiX-users] Lux rocks! Thanks!

2015-02-14 Thread Phill Hogland
Well maybe it is a pebble, but still very effective in slaying 'Goliath's I created a single multi-platform (x86 and x64) Test project which includes tests for all of my various immediate CAs, with most of the boilerplate code that would be duplicated between tests hidden in a wixlib. The Test p

Re: [WiX-users] Lux rocks! Thanks!

2015-02-16 Thread Phill Hogland
I have several ideas/issues that I came across in the fog of confusion last week. I want to go back and retest those observations. I am still looking for an answer to the multivalue list separator issue described here

Re: [WiX-users] Lux Multi-value Unit Test

2015-02-16 Thread Phill Hogland
I confirmed in the debugger that when WcaWriteStringToCaData is used in an immeadiate CA to build the CaData property, the separator is 0x80 (or Alt+0128). In the lux Unit test, when I set the multivalue separator to "0x80" I get the following nit error: nit.exe : error NIT8103: Test lux70D81... f

Re: [WiX-users] Lux Multi-value Unit Test

2015-02-16 Thread Phill Hogland
The character €, or Alt+0128, is in the Windows 1252 Code Page, see here , so is the LGHT0311 error, posted previously, just simply wrong? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/L

Re: [WiX-users] MSI Feature and Condition element in MSI Repair using Custom Bootstrapper Application

2015-02-17 Thread Phill Hogland
I think the issue is that Component conditions are only evaluate when initially installed. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=reply&node=7599244 https://msdn.microsoft.com/en-us/library/aa372462%28v=vs.85%29.aspx When using Burn to drive M

Re: [WiX-users] Modify Installed MSI Features using Custom Bootstrapper Application

2015-02-17 Thread Phill Hogland
Sounds like this question . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Modi

Re: [WiX-users] burn bootstrapper access -lang as a property or variable

2015-02-17 Thread Phill Hogland
Maybe this thread is helpful. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/burn-bootstrapper-access-lang-as-a-property-

Re: [WiX-users] Visual studio 2008 and wix 3.9

2015-02-17 Thread Phill Hogland
True. Look here . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Visual-studio-2008-and-wix-3-9-tp7599248p7599254.html Sent from the wix-users mailing list archiv

Re: [WiX-users] burn bootstrapper access -lang as a property or variab le

2015-02-17 Thread Phill Hogland
Jacob makes good points, but I used the information that in the previous links. When using the WixStdBA, since as you found "the bootstrapper is correctly switching to the localized 1046\thm.wxl and 1046\license.rtf" you can take advantage of that fact by: 1) define a Variable element which is ove

Re: [WiX-users] Lux Multi-value Unit Test

2015-02-17 Thread Phill Hogland
For those interested, the solution was to implement code in the Ca's Mutation, which avoids the call to schedule the deferred action, to also add code that parses the CData Property and replaces MAGIC_MULTISZ_DELIM with a more suitable 7-bit ASCII character (which is appropriate for the data set be

Re: [WiX-users] burn bootstrapper access -lang as a property or variab le

2015-02-17 Thread Phill Hogland
I currently use an mba which has my bundle strings in the C# mba project. I use the wxl files for my localized msi packages, for localized shortcut descriptions, etc. My bundles rely on default behavior of Burn to use the -lang switch if it exists otherwise select the correct local based on the s

Re: [WiX-users] keep service accont info on reinstall

2015-02-17 Thread Phill Hogland
In general, you should implement the 'remember property' pattern to recover data that you will need for repair or uninstall. However for finding the account that a service is using you could do a Registry

Re: [WiX-users] Problems with debugging the BootstrapperCore source files

2015-02-18 Thread Phill Hogland
Thinking back over my managed BA development I hit this problem several times, always do to some issue in my managed BA code, but I do not recall a specific cause. I think I used ProcessExplorer to watch which file it was trying to load at the point of the problem. ILSpy was also helpful in sorti

Re: [WiX-users] Custom action without having to install .net

2015-02-18 Thread Phill Hogland
If you create a custom action with .Net, then a compatible version of .Net must be installed. However you could deploy your msi as part of a bundle, and use the bootstrapper to install .net first as part of your chain, rather than expecting the user to install .Net as a separate step. You cannot

Re: [WiX-users] EnableUserControl (or Secure attribute) vs Maintenance (Change)

2015-02-18 Thread Phill Hogland
One distinction is that "the" administrator has a well-known sid (SID: S-1-5-21domain-500). I don't know if there is a wix way to find that info on an account, but it could be determined in a CA. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Ena

Re: [WiX-users] Custom action without having to install .net

2015-02-19 Thread Phill Hogland
When I started writing my CAs I studied the wix source, particularly the CAs that are part of the wix extensions, like the GamingExtension. Download the wix source code zip, and look at the code at "wix3\src\ext\GamingExtension\ca" (and in the other "wix3\src\ext" projects). Those .Net objects/me

Re: [WiX-users] Slow Verifying of chained Exepackages

2015-02-20 Thread Phill Hogland
You might get some benefit from Chain/@ParallelCache='yes'. Also as I understand it SuppressSignatureVerification="yes" is the default (assuming wix 3.9) and there is a joy-of-setup blog somewhere which recommends to leave options like MsiPackage/@Cache for wix to manage unless you specifically ha

Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-25 Thread Phill Hogland
I suspect that you will need to put the logic to hide the button in a BAFunctions.dll. See the samples in the wix source archive. src\burn\Samples\bafunctions. There is more information on this approach at wixextba.codeplex.com where the concept of a BAfunctions dll was developed (for wix 3.7) a

Re: [WiX-users] extension errror

2015-02-25 Thread Phill Hogland
Do you have a Class that inherits from WixExtension, and which has: (something like) public class YourExtension : WixExtension { private Library library; private YourCompiler compilerExtension; private TableDefinitionCollection tableDefinitions; public over

Re: [WiX-users] WSX file contains extra files?

2015-02-25 Thread Phill Hogland
"WXS file is missing files:" or "Error 5 WXS file contains extra files: " are not in the wix source code. My guess is that you have heat authoring and a MSBuild script that you need to understand, which is generating those messages. I don't think it has anything to do with wix or vs2008.

Re: [WiX-users] Upgrade issue

2015-02-25 Thread Phill Hogland
I had some similar problem a few weeks back, and while Bob's suggestions were helpful, I set aside that problem to work on some other fires, and did not return to com

[WiX-users] Searching wix issues

2015-02-25 Thread Phill Hogland
>From time to time I come across a thread that suggests that a feature request or a bug should be create, like this : I'm probably missing something, but how does one search the

Re: [WiX-users] [WIX]: Support MSI package on Windows 98/ME

2015-02-26 Thread Phill Hogland
What do you have Product/@InstallerVersion set too? This link indicates that you need to install the Windows Installer 2.0 redistributable to support a Product/@InstallerVersion='200', but the link to the redistributable is no longer active. -- View t

[WiX-users] LGHT0094 when adding a child bundle to a parent bundle chain

2015-02-26 Thread Phill Hogland
I have a bundle, and I created another bundle which is a subset of the packages in the first bundle. So I am trying to add the subset (child) bundle to the chain of the original bundle (parent), rather than the common packages. Both bundles are functional when install independently. When I add t

Re: [WiX-users] WSX file contains extra files?

2015-02-27 Thread Phill Hogland
.targets files are MSBuild "scripts". https://msdn.microsoft.com/en-us/library/ms164312.aspx MSBuild is used by VS and by wix. In fact each project file (.csproj or .wixproj) is a .targets file, as the .targets extension is just a 'default' extension for a MSBuild "script" file. A developer can

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Phill Hogland
Have you seen: http://www.codeproject.com/Articles/865604/Writing-a-Wix-Extension-to-Read-XML-Files I have not used the above, but I think the idea is to use it to read the XML into a property, and then later to use the wix supplied XmlConfig to modify an XML. -- View this message in context:

Re: [WiX-users] Registry keys not written even though log shows it

2015-02-27 Thread Phill Hogland
Expanding on #1 above, I think you are seeing the varied results of not following the "only one resource per component" recommendation. Author each registry action into a separate component and make the registry value the Keypath of that component. http://robmensching.com/blog/posts/2003/10/4/w

Re: [WiX-users] WSX file contains extra files?

2015-02-27 Thread Phill Hogland
I would not draw that conclusion, but I don't have enough information. My guess is that you have a MSBuild script which is building some application project (maybe in VS or not) and that there is an 'output' folder full of generated files. Then my guess is that, as part of building the wix projec

Re: [WiX-users] LGHT0094 when adding a child bundle to a parent bundle chain

2015-02-27 Thread Phill Hogland
This turned out to be a typo (confusing to similar business abbreviations XMS and XSM) in my chain authoring. Sorry for the noise. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LGHT0094-when-adding-a-child-bundle-to-a-parent-bundle-chain-tp75993

Re: [WiX-users] Registry keys not written even though log shows it

2015-02-27 Thread Phill Hogland
Here is a fragment from a project which sets the AppPath keys. Each action is in a separate Component with the KeyPath on the registry action, rather than the Component Directory. -- View this message in context: http://windows-ins

Re: [WiX-users] Issue with Upgrade/Install

2015-03-02 Thread Phill Hogland
Consider the information here before using MsiZap. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Issue-with-Upgrade-Ins

Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Phill Hogland
This thread details the switches (without digging in the source). Your mba can use the Command object (Command.Display) to determine if Burn

Re: [WiX-users] 3.9 RC2 Installer Sitting at CA for a long time

2015-03-03 Thread Phill Hogland
Curiously I saw this behavior repeatedly today with one of my experimental setups built against 3.10.1403. I was experimenting with moving my msi packages each of which installs windows services into child bundles and adding those bundles to the chain of a parent. Sometimes this worked but severa

Re: [WiX-users] Including files to installer with bindpath -bestpractice?

2015-03-04 Thread Phill Hogland
Another approach is to use named bindpaths like this: (which in VS IDE can be edited in the project's properties page (or by unloading the project) $(LinkerAdditionalOptions) -nologo -b foo="$(MySourceRoot)\source_path\foo\\" For $(MySourceRoot) I define that in anothe

[WiX-users] DetectRelatedMsiPackage - confused about args.

2015-03-05 Thread Phill Hogland
I have been researching 'cool bobs', and while I have come to the conclusion that this post is not directly related to the use of 'bundle of bundles', I just had to use that acronym. In the course of the above research I added handlers for all of the DetectXxx and PlanXxx events to my mba. In eac

Re: [WiX-users] Installation doesn't progress at all

2015-03-06 Thread Phill Hogland
>>Also could you please explain how to debug burn with wix pdbs(are you mentioning .pdb file) file ? or The question is not really a WiX question but a question of how to use the chosen debugger. I'm sure there are different approaches based on the documentation of the debugger tool which you in

Re: [WiX-users] CNDL0103: can not find file with type source

2015-03-10 Thread Phill Hogland
1) run candle.exe -? and notice the switches that will give you verbose and pedantic feedback. 2) Would this link help? 3) What is the structure of SamleFirst.wxs ? -- View this message in context: http://windows-installer-xml

Re: [WiX-users] Create file share with ready permissions for everyone

2015-03-11 Thread Phill Hogland
> >Description='FileShare for Workwise backend'> > User="WorkwiseUsers" /> > > And that creates the folder and the file share, but only gives permissions > to the Workwise user. The User parameter is mandatory when creating the > FileSharePermission. How can I create the

Re: [WiX-users] Implementing Microsoft Fixit - is Wix the right tool?

2015-03-13 Thread Phill Hogland
I certainly think that WiX is the way to go. WiX bundle.exe with a custom BA (or WixStdBA and possibly a bafuntions.dll) and external packages staged for web deployment, is a very flexible framework. A wix bundle can be an 'addon', 'upgrade', or 'patch' to an installed wix bundle (and the package

Re: [WiX-users] ConfirmCancelMessage can not localized

2015-03-13 Thread Phill Hogland
Searching the Wix source, “ConfirmCancelMessage” is localized into 23 locals in folders under: \src\ext\BalExtension\wixstdba\Resources 您確定要取消嗎? Is there another issue, or is your desired local not included? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.n

Re: [WiX-users] After add reference WixNetFxExtension.dll to Setup Project, build failed‏

2015-03-13 Thread Phill Hogland
Are you sure that you want to use Wix 4.0? It is going through some development changes, which may be breaking, but which should be great additions in the future. Wix 3.9 is stable (and wix 3.10 has been reliable for me). -- View this message in context: http://windows-installer-xml-wix-tools

Re: [WiX-users] Namespace prefix 'netfx' is not defined.

2015-03-16 Thread Phill Hogland
Is the case of a typo? Is WixNetFxExtension.dll listed as a Project Reference? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Namespace-prefix-netfx-is-not-defined-tp7599569p7599570.html Sent from the wix-users mailing list archive at Nabble.com

Re: [WiX-users] heat fragments go one directory too low

2015-03-16 Thread Phill Hogland
-srd Suppress harvesting the root directory as an element. http://wixtoolset.org/documentation/manual/v3/overview/heat.html -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-fragments-go-one-directory-too-low-tp7599560p7599571.html Sent fro

Re: [WiX-users] Burn MsiPackage DisplayName property does notlocalized

2015-03-17 Thread Phill Hogland
>>But I need to localized Progress message which is display on progress bar. The progress messages which are displayed in Burn are provided by the MSI package and reflect whether it has been localized. Each msi package needs to be built for a specific culture. I set the 'culture' property in th

Re: [WiX-users] Xpath Expression

2015-03-17 Thread Phill Hogland
I really can't do much to help at this time, but a couple of question might help clarify the concern Are you using a Bundle, or just an msi? If using a Bundle, WixStdBA or managed? Is the xml file already on the system, or is it installed by your setup? -- View this message in context: http://

Re: [WiX-users] Xpath Expression

2015-03-17 Thread Phill Hogland
I think maybe the core issue is described here , with respect to XPath functions. I think the suggestion to use the XML reader code that works to get the whole string and then process that property in some way is a good

[WiX-users] Moving mba from NetFx40 to NetFx 4.5.1

2015-03-18 Thread Phill Hogland
I moved my mba from NetFx40WebClient to NetFx451Web. Previously I did not run into the errors related to WixMbaPrereqPackageId and WixMbaPrereqLicenseUrl, as they are defined in NetFx40.wxs. Since they are not defined in NetFx451.wxs in the WixNetFxExtension, I added them to my project, but I did

Re: [WiX-users] Calling C API in WiX Standard Bootstrapper Application

2015-03-19 Thread Phill Hogland
The bafunctions.dll is ideal for the scenario you described. There is more info on how to use a bafunctions.dll at here . Prior to wix 3.8 you needed to use the download from that site to modify the behavior of wix 3.7. But now you just need to create a win32 D

Re: [WiX-users] using custom variables on heat command line

2015-03-19 Thread Phill Hogland
Ara; Are you looking for -dr (or ) which can be any DirectoryRef (Property) defined in your MSI. (Run heat.exe -? for more details.) You could use -dr APPLICATIONROOTDIRECTORY to install the files under that location on the target system. Personally I avoid using VS solut

Re: [WiX-users] Create text file

2015-03-20 Thread Phill Hogland
I started researching a similar problem related to a java app that required the setup to modify java.props files, which are similar to ini files without sections. I tabled that effort for now, as there is a higher level business discussion about terminating the java app and replacing it with a new

Re: [WiX-users] SwapRunFromCD And SwapRunFromNet - What is it and How to Use ?

2015-03-20 Thread Phill Hogland
I think you are looking for this feature. I experimented with it some time ago, I but don't recall too much. We decided to host the packages on a web site which makes my bundle distributable very small. As Sean indicated in On

Re: [WiX-users] SwapRunFromCD And SwapRunFromNet - What is it and How to Use ?

2015-03-23 Thread Phill Hogland
I do not know the answer to your specific scenario, but when I search the wix source for SetDownloadSource, I also notice calls to SetLocalSource. It looks like WixStandardBootstrapperApplication.cpp (around line 827) has an example of changing the location of the local package. I would add somet

Re: [WiX-users] 'INSERT INTO' an offline MSI with DTF

2015-03-23 Thread Phill Hogland
I have not used DTF, but I noticed this thread , which may be helpful. This blog post discusses the general concept from a C++ perspe

Re: [WiX-users] Cannot install Wix - Wix39.exe

2015-03-24 Thread Phill Hogland
>> Error 0x80070005: Failed to run per-user mode. Seems interesting, I thought that both the VS2013 and the Wix toolset setups were per-machine, but I could be wrong. IF there are so many different wix-based setups which do not run, is there a Group policy or Security policy that is preventing y

<    2   3   4   5   6   7   8   >