Re: [wix-users] (deprecated) Feature suggestion: Dynamic Burn bundle

2015-07-28 Thread Phill Hogland
Did you file your Feature request here ? Did you consider using a "addon" bundle? I currently create a bundle with A, B, and C. Then later I create another bundle with D (which releases on a different schedule). (And much later again I can add D into the origin

Re: [wix-users] (deprecated) (deprecated) Difxapp Component Installation condition

2015-07-22 Thread Phill Hogland
I think it would be advisable to follow the one-resource-per-component pattern. http://stackoverflow.com/questions/1602831/wix-one-file-per-component-or-several-files-per-component -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-deprecated-Difxa

Re: [wix-users] (deprecated) Difxapp Component Installation condition

2015-07-22 Thread Phill Hogland
I use the WixDifxAppExtension to install multiple drivers in configurations where in most cases the hardware will not exist, because they are different types of printer drivers and no hardware, or one model of printer is expected. Maybe the difference is related to the DifxApp flags. In my Compon

[WiX-users] Advice? ICE99 duplicate MSI property and Directory 'name'

2015-07-22 Thread Phill Hogland
My build process creates a bundle output folder tree with the sub folder "x64" and "x86" under which there are platform specific driver packages: bundle.exe MSI1_Folder MSI2_Folder x64 Driver1Folder Driver2Folder x86 Driver1Folder Driver2Folder I have a situation where I need to cr

Re: [WiX-users] Util RegistrySearch Element and Win64 attribute

2015-07-22 Thread Phill Hogland
"Util RegistrySearch has an attribute Winb64 that seems to be no by default. If this is set to Yes, Would it mean it would look in the 32 bit registry on 32bit OS and 64bit registry on 64 bit OS ? " Yes. but the attribute is RegistrySearch/@Win64. In the default situation where it is no or doe

[WiX-users] wix meeting #73 - new logo

2015-07-16 Thread Phill Hogland
Sorry I missed the meeting, but thanks for the blog/web-stream. My first impression was for #3 red. I did not initially notice the tri-color, but it is nice. #2 was striking and caught my attention about as much as #3, but I also thought it was "big" before I considered the comments of others.

Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-16 Thread Phill Hogland
FYI - I just implemented a semi-custom action using a similar implementation as I found in the WixGamingExtension which calls WcaAddTempRecord on the Registry table, to allow MSI to manage my registry change. The CA code (specifically

Re: [WiX-users] Creating an ARP button for "Uninstall/Change" vs. "Uninstall" & "Change"

2015-07-15 Thread Phill Hogland
I cannot speak to not using Burn, but in the last link that you originally posted, the last post indicates that the information was posted earlier in that thread, so I would guess that there is an MSI property that controls it. WiX is open source so it should be in the code for research. I also e

Re: [WiX-users] Creating an ARP button for "Uninstall/Change" vs. "Uninstall" & "Change"

2015-07-15 Thread Phill Hogland
Using a Burn bundle set Bundle/@DisableModify="button" -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-an-ARP-button-for-Uninstall-Change-vs-Uninstall-Change-tp7600885p7600886.html Sent from the wix-users mailing list archive at Nabble.com

Re: [WiX-users] .NET Prerequisite, Burn, and the ARP

2015-07-13 Thread Phill Hogland
I believe that there 'may' be a bug in the existing implementation along the lines that Colin described or and related to the comment "Burn should keep registration in ARP when the first non-permanent package is installed (aka: there is something Burn would do).". In the scenarios where I had diff

Re: [WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Phill Hogland
Stepping into the code posted, the cch was 165 (and in other experiments when I increased the initialized size that I was requesting for the buffer, up to 195) , in all cases it was much less than >= MAXDWORD / sizeof(WCHAR), yet stepping through the code in a debugger, it steps into the code poste

[WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Phill Hogland
I am trying to use StrAllocSecure to insure that an LPWSTR has sufficient buffer size to subsequently try and copy a CRYPT_INTEGER_BLOB structure's buffer into the LPWSTR, for the purpose of passing this to WcaAdd

Re: [WiX-users] Reboot required during major upgrade in-between uninstall and re-install

2015-06-23 Thread Phill Hogland
I guess I misread your question and assumed that you were using Burn. Given that I came across those posts I thought they might be helpful but if you are not using Burn I can't really make any suggestion. I have only used the approach of putting each app and each driver in a separate UI-less MSI

Re: [WiX-users] WcaAddTempRecord - S_OK but no results - how to debug?

2015-06-23 Thread Phill Hogland
My apologies again! It was a dumb typo on my part. As I was pasting an example of my code into the editor to post here, I realized that the last parameter of WcaAddTempRecord should be a ComponentId, and I had used the Id of my custom xml element. Changing that parameter to the Id of the componen

[WiX-users] WcaAddTempRecord - S_OK but no results - who to debug?

2015-06-23 Thread Phill Hogland
I am looking for advice on how to sort out a problem I having using WcaAddTempRecord. My immediate CA creates a BYTE array (an encrypted 'blob') which I need to write to the Registry as a REG_BINARY type value. I am trying to use WcaAddTempRecord to the Registry table, ( using the code in wix src

Re: [WiX-users] Reboot required during major upgrade in-between uninstall and re-install

2015-06-23 Thread Phill Hogland
While doing other research I came across these threads, and made note of them in the event that I might need them in the future. They might be helpful to you: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Resume-Installation-Plan-td7579146.html http://windows-installer-xml-w

Re: [WiX-users] Remove

2015-06-22 Thread Phill Hogland
you need to use the link at the bottom of your post. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Remove-tp7600685p7600686.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] When is Wix 3.10 publicly available ?

2015-06-22 Thread Phill Hogland
Those issues are discussed in the weekly on-line meeting, Tuesday evening, and summarized in this blog . If I recall from the comments in the last meeting, the 'RC' will be announced soon. The stable release is expecte

Re: [WiX-users] C++ CA using Wca and StrUtil for secure data.

2015-06-20 Thread Phill Hogland
Als using: ReleaseNullStrSecure(pwzSensitive); -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/C-CA-using-Wca-and-StrUtil-for-secure-data-tp7600677p7600679.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] C++ CA using Wca and StrUtil for secure data.

2015-06-20 Thread Phill Hogland
Well after posting this message, again with a little more digging, I realized that I was making the issue more complex than necessary: Byte * stuff = (BYTE*)pwzSensitive; hr = StrMaxLength(pwzSensitive, &stuffSize); ExitOnFailure(hr, "Failed to set the buffer size."); -- View this message in c

[WiX-users] C++ CA using Wca and StrUtil for secure data.

2015-06-20 Thread Phill Hogland
I am in the process of converting an old legacy setup to Wix. I prefer to use the APIs provided by the Wix toolset, rather than importing std namespace, and in this case working with sensitive data I am looking for advice on how to do this in a secure manner. The old code uses std::tstring popula

Re: [WiX-users] Burn prerequisite(4 numbers) warning message before installation

2015-06-20 Thread Phill Hogland
It appears that you are using the WixStdBA, in which case you could implement a BAFunctions.dll. There is a sample baFunctions.dll in the wix source zip package that provides the details with examples. Also this old thread

Re: [WiX-users] Heat not replacing variable properly?

2015-06-19 Thread Phill Hogland
I have not used HarvestProject (or Heat.exe with a Project), but I use HarvestDirectory (which I prefer over calling heat.exe in a pre-build event), after calling a script which moves my project files to the directory. In this link

Re: [WiX-users] WcaDoDeferredAction amd HiddenTarget flag.

2015-06-18 Thread Phill Hogland
Silly me and sorry for the noise. I see that I need to set in in my wixlib authoring. Sorry! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WcaDoDeferredAction-amd-HiddenTarget-flag-tp7600669p7600670.html Sent from the wix-users mailing list arch

[WiX-users] WcaDoDeferredAction amd HiddenTarget flag.

2015-06-18 Thread Phill Hogland
I am just starting to create a new C++ CA, which will be driven by my Wix CompilerExtension which schedules an Immediate CA that then schedules the deferred CAs. In this situation I need to pass a password down to the CA. I have read the MSDN entries about Custom Action Security, and advice from

Re: [WiX-users] Impossible to install Wix 3.8 or 3.9 !

2015-06-18 Thread Phill Hogland
What does the log in your %temp% folder indicate? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Impossible-to-install-Wix-3-8-or-3-9-tp7600658p7600660.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] Auto-Generated GUIDs

2015-06-18 Thread Phill Hogland
From the link provided: " Correct where “goes” means “installs to”. ... 1. I found the implementation at `Uuid.NewUuid` in `src\tools\wix\Uuid.cs`. 2. Seems to be derived from the full KeyPath of the component. So as long as everything goes to the same place the GUID will not change. " I h

Re: [WiX-users] Auto-Generated GUIDs

2015-06-17 Thread Phill Hogland
>>I am seeing that every build, however, the GUID is the same. The GUID is generated based on the source path so if it did not change then the generated GUID will have the same result (appear to be the same GUID), which is fine in most situations when a Component has a single resource. See this li

Re: [WiX-users] Creating a folder in Common App Data Folder Windows

2015-06-16 Thread Phill Hogland
I prefer to us a RegistryValue as the KeyPath. The name and value could be anything, such as the path to the folder or the app's version, but the registry value gets used as the KeyPath for the component, allowing the GUID to be auto generated. I would rather take the hit, I

Re: [WiX-users] How to rollback installation after ApplyComplete event

2015-06-11 Thread Phill Hogland
Look at this wip , which I understand was implemented in wix 3.9. I have not used this feature, but seems like what you are looking for. -- View this message in context: http://windows-instal

Re: [WiX-users] WiX 3.x and 4.0 roadmap for 2015

2015-06-10 Thread Phill Hogland
There are some comments in this blog. I missed last nights meeting which is also summarized in another blog post, but there is often a comment about the general plan in the weekly meeting. -- View this message in con

Re: [WiX-users] Download Msi or Exe with Bundle

2015-06-10 Thread Phill Hogland
I believe that upgrading a bundle or msi, creating to use wix 3.7 tools, to a later version of wix 3.x as being none-breaking and supported. However the binary compatibility of a wix extension created with one version of 3.x does not extend to a later version of wix 3.x. You need to recompile you

Re: [WiX-users] Download Msi or Exe with Bundle

2015-06-10 Thread Phill Hogland
It is true that at compile time a Burn bundle must know about all of the items in the chain for that particular bundle. A self updating bundle is really a different issue, and the Wix toolset setup is an example implementation. Look at the source under src\Setup\WixBA, UpdateViewModel, for an mba

Re: [WiX-users] Duplicate files from multiple locations

2015-06-10 Thread Phill Hogland
Rob's blog post here may be of interest to you. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Duplicate-files-from-multiple-locations-tp7600572p7600587.

Re: [WiX-users] Signing issue with Burn installer

2015-06-09 Thread Phill Hogland
I use "%(SignBundleEngine.FullPath)" and "%(SignBundle.FullPath)" respectively. I am not using /a, but that would depend on how the cert is managed. I import a pfx into the current users personal store. Then I use /n and provide the 'Issued To' name of the certificate. I als

Re: [WiX-users] automatic selection perUser/perMachine installation

2015-06-08 Thread Phill Hogland
>>>I've even used a setup.exe and then a manifesto If you are referring to a Burn bundle, a bundle is always 'per-machine' as I understand it. But that does not preclude you from using the WiX toolset to produce a msi package which meets the guidelines to which Nir referenced. (I have not done t

Re: [WiX-users] Driver Install with Wix

2015-06-03 Thread Phill Hogland
I guess I do not know enough about Microsoft's Volume Shadow Copy driver to provide advice. There are some curious return codes. Regarding "I receive "Namespace prefix 'difxapp' is not defined"" That sounds like a project which has code something like this, defined: But, it was missing the na

Re: [WiX-users] Driver Install with Wix

2015-06-01 Thread Phill Hogland
I recommend using the Wix DifxAppExtension. In response to your post here did you learn anything by evaluating the setupapi log? >>The installation finishes with no errors. DpInstall has

Re: [WiX-users] hyperlinks and MSI 5.0

2015-06-01 Thread Phill Hogland
I define an ICommand similar to what is found in src\Setup\WixBA\ InstallationViewModel.cs See ICommand LaunchNewsCommand or similar. The xaml can then have something like:

Re: [WiX-users] Doing an Include file for HeatDirectory and HeatFile tasks?

2015-06-01 Thread Phill Hogland
The wixproj file is a MSBuild targets file. MSBuild .targets files do not need to have a .targets extension. You can put the HarvestDirectory/HeatFile targets in a .targets file (named as you wish) and then in the .wixproj file add a 'Import' statement with the path of the file. My code that is

Re: [WiX-users] How to pass command line switch to exe package ?

2015-05-29 Thread Phill Hogland
The Engine.Command.Display object lets you know if your BA is running with or without a UI. see src\burn\inc\IBootstrapperApplicaiton.h near line 17 see src\burn\engine\core.cpp near line 854 An example in a managed BA is at: src\Setup\WixBA\WixBA.cs Run Method. One approach is to use the Command.

Re: [WiX-users] Testing C# Custom Actions

2015-05-28 Thread Phill Hogland
I agree with John's advice and this advice . I found it helpful to study the WixGamingExtension and other WixExtension implementations, when learning to create CAs using the pattern recommended a

Re: [WiX-users] Localization doesn't work from ARP

2015-05-27 Thread Phill Hogland
By adding a PayloadGroupRef to your BootstrapperApplicationRef. Then when your BA is launched, use ProcessMon to watch what it does. The files are typically extracted to the user's %temp% folder under a_GUID\bal1 (or something similar) -- View this message in context: http

Re: [WiX-users] Localization doesn't work from ARP

2015-05-27 Thread Phill Hogland
My BA supports 13 cultures, and I am not seeing any problem when I use the ARP to launch my bundle. What kind of BA did you create and how does your BA detect the culture? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localization-doesn-t-work-f

Re: [WiX-users] localisable msi packages in a bundle

2015-05-27 Thread Phill Hogland
>> I wonder if it is possible to chain from a MSI Package depending of the user language. Yes, create a MsiPackage for each locale and use InstallCondition (or implement code in a custom BA in PlanBegin) which allows the package to be installed only for that locale. This would involve using a bui

Re: [WiX-users] allowing user to set firewall exception port number

2015-05-27 Thread Phill Hogland
I have not used the WixFirewallExtension to open a port, rather I use it to register my application with the Windows Firewall, which then allows the application to receive anonymous input when it is launched. (I understand this is prefered to opening a port in general.) Re: [WiX-users] R: Extend ProductSearch for working with Burn exe Package
I think that there may be different ways to approach RelatedBundle. I can only share the approach that I have been using. For every bundle I create I assign a "relatedBundleGuid" (which is different than the UpgradeCode for that bundle), along with a BundleTag: Then at the later time, in the a

Re: [WiX-users] Add new packages to install chain dynamically in managed BA

Rather than trying to do something that is not supported for security reasons, take a look at using the support for RelatedBundle and the Addon or Upgrade Actions, which allow you to ship a bundle and then later create another 'Addon' bundle (with new packages, or in the case of the Upgrade Action

Re: [WiX-users] Accessing files copied to the ProgramFiles folder during the installation

You might consider, for a per-machine setup, installing a 'template' to a single location under CommonAppDataFolder\somefolder (typically C:\ProgramData\...). Design the application so that if it needs to write user specific information, it should manage reading the default template and writing th

Re: [WiX-users] .NET Prerequisite, Burn, and the ARP

I came across a different, but I suspect it might be a related issue, discussed in this thread . Frankly because of other responsibilities, I set this issue aside and

Re: [WiX-users] R: Extend ProductSearch for working with Burn exe Package

I have done some experiments with 'bob' (bundle of bundles). I may not have it all figured out yet, but what I have done is this: 1) Add this to the parent bundle (I do this for every bundle, even when not planning to do 'bob', so that in the future I can decide to create a related Addon or Upgra

Re: [WiX-users] How Wix bootstrapper uninstall msi package that has been upgraded

In each msi use the MajorUpgrade element and increment the first three sections of the MSI version (i.e 1.0.0.0 to 1.0.1.0, and not 1.0.0.1) When building the second release of the bootstrapper, leave all of the MSIs in the first release in the chain and only change the MSI B if that is what is ch

Re: [WiX-users] Burn does not show close application warning during uninstall

I use a bundle to drive my msi packages. Generally I use util:RestartResource but some time ago I used util:CloseApplication. I do not recall observing the scenario that you described, however I do know that the underlying API used in either case, util:RestartResource or util:CloseApplication, de

Re: [WiX-users] Driver installation fails

If running DPInstall.exe on the command line fails, then those issues should be resolved first. Have you enabled verbose driver setupAPI logging? https://msdn.microsoft.com/en-us/library/windows/hardware/ff550808%28v=vs.85%29.aspx I think it is recommended that you use the Wix DifxAppExtension to

[WiX-users] ServiceDependency - conditional?

I am in the process of creating a wix mba/bundle/msi for an existing set of windows services. One of the services is a messaging server which the others connect too. When all services are installed locally, all is well. The following ServiceDependency element was used in each ServiceInstall.

Re: [WiX-users] Set location of binaries in wixproj file [SEC=UNOFFICIAL]

Would using a 'well-known' MSBuild Property, found here , such as $(MSBuildProjectDirectory)\... help? I have not used TFS, but I integrated my builds into our build server using MSBuild targets scripts, so I build both local in VS and rem

Re: [WiX-users] Custom BA cancelling upgrade deletes both versions

>From what I have read, this is related to where RemoveExistingProducts is scheduled (probably using MajorUpdate/@Schedule). This link provides details on when the old uninstallation will be rolledback. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.

Re: [WiX-users] Warning condition in Standard BA

With great respect for Rob, and I agree that bal:Condition does not support a non-blocking warning today, however by adding a BAFunctions.dll to your StdWixBa bundle, you can implement c++ code to detect different conditions, and then use the information to log, display a string on a dialog, or blo

Re: [WiX-users] Handling error from MSI in Custom BA

An example of doing this is in the wix source at: src\Setup\WixBA\InstallationViewModel.cs The event is registered in the class constructor (along with some other event which are helpful): WixBA.Model.Bootstrapper.Error += this.ExecuteError; And then the ExecuteError handler has an example of

Re: [WiX-users] Bootstrapper - Initializing phase very long

Based on other threads in this forum, (although I don't know that I could find them now) I have been using Chain/@DisableSystemRestore="yes". If the issue is related to a particular machine, you might try this and see if you can avoid the problem. -- View this message in context: http://window

Re: [WiX-users] Wix Built-in Variable escape content

Use Engine.FormatString on the path (in your mba or BAFunctions.dll when using WixStdBA, probably in the DetectComplete handler). In mba something like this: path = object.Engine.FormatString(object.Engine.StringVariables["WixBundleOriginalSource"]) Then save 'path' to a string variable for use in

[WiX-users] Is Windows Path namespace \\?\ supported by MSI/WiX as a target location

Does anyone know if MSI (and by extension WiX) supports the use of the "extended-length' prefix ("\\?\") on folder paths, such as for a directory property: INSTALLATIONFOLDER=\\?\D:\somereally_long_name\or_string_of_long_folder_names_of_32,767 characters\ The MSDN document here

Re: [WiX-users] Extend ProductSearch for working with Burn exe Package

"ProductSearch element works only with msi package," is true of the wix:ProductSearch (which can only be used in a msi context). However in another thread to answer your question John suggested that you look at util:ProductSearch (which is a Bundle related WixExtension). I have not needed any of

Re: [WiX-users] Could not access network location problems

Well one thought is that since there are the following log entries (among others): "LogonUser = administrator ", and "AppDataFolder = C:\Users\Administrator\AppData\Roaming\ " imply that "the" built-in administrator account was used to launch the setup. "the" built-in administrator has certain p

Re: [WiX-users] Not able to ship files in Network shared location

Similar issue to this issue . "mapped" network shares are defined for a specific user and typically not accessible to a service, so msiexec probably cann

Re: [WiX-users] Looking for working HeatProject Example

For what it is worth, I would look at using the HarvestProjects Target rather than the Task. I have not harvested projects, but I do harvest directories. I started using a batch file, then the HeatDirectory Task, and now I use HarvestDirectory Target, as described here

Re: [WiX-users] MSI command-line parameters via Burn?

You can use MsiProperties, but the msi command line is not exposed when using Burn. You can use MsiLogging (MSI4 or later), however this issue is open. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSI-

Re: [WiX-users] adding a twitter feed work around?

This forum is for Windows Installer XML (WiX) related questions. I suspect your intent was to contact the good folks here . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/adding-a-twitter-feed-work-aro

Re: [WiX-users] First install of WiX Toolkit - wix39.exe - Can't select installation folder

wixXX.exe InstallFolder=somepath I have not actually done this with the wix toolset setup, but this is how I read the source file. Look at: \src\Setup\WixBA InstallationViewModel.cs ~line 627 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/First-i

Re: [WiX-users] Burn Prerequisite Install and Configuration

#3 is not possible in the context of using a Burn bundle, as I understand it. For security reasons Burn will only install packages for which, at 'compile time', it can create a 'thumbprint' of the package. Whether a package in a Bundle/@chain has a RemotePayload or a Payload, certain information

Re: [WiX-users] Detect condition for a Burn Package ?

With regard to using a Burn bundle in the chain of a Bundle, I did a little experimenting and I defined the RelatedBundle Action=Detect in the parent and Action=Addon or Update in the child. I put logging code on the various RelatedBundle handlers in the mba but I did not need to do any implementa

Re: [WiX-users] Installing windows features with wix

Other than the versions of .Net supported by NetFxExtension, I do not think there is any specific support in wix. I prefer fondue.exe in the situations where it is supported because it does not fail in scenarios where dism.exe just errors out. However my CA drops back to using dism.exe for other

Re: [WiX-users] Restart - setting from CA and checking from Custon BA

>>Is it possible .and to check it from my WPF custom bootstrapper application? In the ApplyComplete handler (see WixBA InstallationViewModel of wix src) in code similar to this: if (this.root.State != this.root.PreApplyState) { this.root.State = Hresult.Succeeded(

Re: [WiX-users] Bootstrapper for multiple cultures

My comment was based primarily on this thread where I detailed two concerns which I observed after using embedTransform.exe, in the maner described here

Re: [WiX-users] Resolve Burn standard path variables in mba prior to Apply

Excellent! Thanks for the help Bob! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Resolve-Burn-standard-path-variables-in-mba-prior-to-Apply-tp7600094p7600097.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Resolve Burn standard path variables in mba prior to Apply

Is there Burn support to resolve an Engine Variable, which includes a Burn Standard Variable, (which can be called from a C# mba prior to ApplyBegin)? Example, given an "InstallFolder" variable set to a string like "[ProgramFiles6432Folder]\somefolder\" is there a way to resolve this so that the f

Re: [WiX-users] Looking for a Wix GUI

Any text or xml editor to edit the file. (Notepad++, etc.) The Project file allows VS/MSBuild to compile/link the files, but you can also do that by calling the various wix tools (candle.exe, light.exe, etc) directly. -- View this message in context: http://windows-installer-xml-wix-toolset.68

Re: [WiX-users] Heat source path

You could use a bind path (named or unnamed), which I have seen recommended over the use of preprocessor variables in this forum. Unnamed bind path: file source would be: wix.mybindname and then specify a XSLT transform some.xslt;..\..\Common\Transforms\bindpath.xslt which replaces the $(wix.mybin

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

My comment about using persisted variables is based on this thread , and posibly others that I may have stumbled across. I transitioned from using a bafunctions.dll (with Wix 3.

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

You posted: I set bal:Overridable='yes' on any variable I create in the Bundle and interact with in the bafunctions.dll or mba. And since I also read threads about Burn's functionali

Re: [WiX-users] MSI packages download and Firewall/Proxy settings

Fiddler is a helpful tool for debugging these kinds of issues. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSI-packages-download-and-Firewall-Proxy-settings-tp7599503p7599955.html Sent from the wix-us

Re: [WiX-users] Modifying Request State

The chain is installed from top to bottom and uninstalled from bottom to top. Probably all you need to do is set XxxPackage/@InstallCondiditons so that both packages are installed or uninstalled as a pair with the ExePackage before the MsiPackage in the chain. -- View this message in context:

Re: [WiX-users] m_pEngine->GetVariableString syntax?

Look at the sample, in src\burn\Samples\bafunctions\readme.txt, it even gives you the following example: //- // Example of reading burn variable. BalGetStringVariable(L"WixBundleName", &sczV

Re: [WiX-users] Kazakh language localization

What did you copy and past them into? A wxl file has an header that specifies the code page. If you also create string entries for the Codepage, you can then use the wxl string entries to set the Product/@Language="!(loc.LCID)" and the Package/@SummaryCodepage="!(loc.SummaryCodepage)". Something

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

OnDetectComplete handler is safe. OnDetectBegin if you know that WixStdBALanguageId has been initialized prior to OnDetectBegin. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/BAFunctions-dll-to-set-WixBundleName-from-the-language-of-the-user-s-c

Re: [WiX-users] Populating registry multiString MultiStringValue elements

I have not done this, but I did notice this post . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Populating-registry-multiString-MultiStringValue-elements-tp

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

I don't know if changing WixBundleName at run time is a very good idea. I never tried that. I would use the WixLocalization files to set strings displayed to a user. See here

Re: [WiX-users] Predicting Bootstrapper Cache Location

Sorry. Thanks for the correction. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Predicting-Bootstrapper-Cache-Location-tp7599709p7599736.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Predicting Bootstrapper Cache Location

>>So it looks like the bootstrapper is not passing BUNDLEPROVIDERKEY to the MSI at all. You need to define Bundle/@ProviderKey, here . I set it to a GUID (and like UpgradeCode I do not change the Bundle/@ProviderKey between b

Re: [WiX-users] Predicting Bootstrapper Cache Location

I described one approach in this thread . -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Predicti

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

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

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

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] SwapRunFromCD And SwapRunFromNet - What is it and How to Use ?

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] SwapRunFromCD And SwapRunFromNet - What is it and How to Use ?

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] Create text file

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] using custom variables on heat command line

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] Calling C API in WiX Standard Bootstrapper Application

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

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

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

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

Re: [WiX-users] Xpath Expression

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

  1   2   3   4   5   6   7   8   >