[WiX-users] [SPAM] Re: Localizing Managed BA

2014-11-07 Thread Phill Hogland
I also wanted to comment that ILSpy along with ProcessMon and ProcessExplorer were helpful in sorting these issues out. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizing-Managed-BA-tp7597813p7597817.html Sent from the wix-users mailing lis

[WiX-users] [SPAM] Re: Localizing Managed BA

2014-11-07 Thread Phill Hogland
I had similar challenges back when I first created a mba and added localization about a year ago. I was just learning C# (from a C++ background) and so I was pretty green (and still am with C#). One issue that I had was that since my mba.dll is hosted in another application, there seemed to be a

[WiX-users] [SPAM] Re: Package download failed in Web Installer

2014-11-07 Thread Phill Hogland
I sometimes see errors like this when the bundle downloads several packages successfully and starts installing those packages. Then while downloading a later package, one of the earlier packages encounters an error, and starts a rollback. The download process is aborted resulting in errors like t

[WiX-users] [SPAM] Re: Naming convention of "heat.exe" harvested comp and file id.

2014-11-08 Thread Phill Hogland
-suid Suppress unique identifiers for files, components, & directories. http://wixtoolset.org/documentation/manual/v3/overview/heat.html -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Naming-convention-of-heat-exe-harvested-comp-and-file-id-tp75

[WiX-users] [SPAM] RestartManager: Failed to register the process name

2014-11-09 Thread Phill Hogland
I am looking for advice on how to handle a failure when I use util:RestartResource. In most situations this implementation works fine, but I have one peculiar failure mode. The application is a c++ windows tray application, which originally did not have any windows or message pump. The developer

[WiX-users] [SPAM] Re: RestartManager: Failed to register the process name

2014-11-10 Thread Phill Hogland
If I remove the attempt to use the Restart Manager, then we do not hit this problem. However if the tray app was started and running then a reboot is needed. However the need for a reboot is only indicated the next time we run the bundle again. Is there a way to learn about the need for a reboot

[WiX-users] [SPAM] Re: RestartManager: Failed to register the process name

2014-11-10 Thread Phill Hogland
I think I have a workaround for this issue working, by removing the util:RestartResource from this msi and detecting if a restart is needed in ApplyComplete. If someone knows how to keep WixRegisterResources from returning a fatal error, due to Access Denied (0x80070005) when calling RmuAddProces

[WiX-users] [SPAM] Re: Package download failed in Web Installer

2014-11-11 Thread Phill Hogland
If this is really your URL "Error 0x80072ee2: Failed to download URL: http://dummy.msi";, don't you need to include a valid 'domain' to a web site? I think this says the file is at the root of the Internet, where ever that is. -- View this message in context: http://windows-installer-xml-wix-

[WiX-users] [SPAM] Re: Package download failed in Web Installer

2014-11-12 Thread Phill Hogland
OK, that makes sense. Did you use Fiddler (or similar) to evaluate why you are getting network failures? Since you are reporting having network problems on both install and uninstall, related to this package, it seems like determining the core cause of those problems is needed. I have several m

[WiX-users] [SPAM] Re: setting permissions when creating folder...

2014-11-12 Thread Phill Hogland
Use the Well-Known SID to look up the localized name for built-in accounts. I think the C# code would look like this: string aSID = new SecurityIdentifier(WellKnownSidType.LocalServiceSid, null).ToString(); string domain_localService = new System.Security.Pr

[WiX-users] [SPAM] Re: Language packs difference causing installation to fail.

2014-11-12 Thread Phill Hogland
I have noticed this issue today, with Wix 3.9.1006 in the simplest msi setup project, which makes no reference to any security element (or any other extension), when there is not a reference in the project to WixUtilExtension. Adding the WixUtilExtension referenced silenced this build error. --

[WiX-users] [SPAM] Re: [SPAM] Re: Localizing Managed BA

2014-11-12 Thread Phill Hogland
There are different approaches to doing localization in a managed context, and since this is a .Net issue and not specifically related to WiX I did not find a specific document with steps on how to do it. Yes I localize my mba for en, de, es, it, ja, and zh. My approach was a little different tha

[WiX-users] [SPAM] Re: [SPAM] Re: [SPAM] Re: Localizing Managed BA

2014-11-13 Thread Phill Hogland
Yes the LCIDs are used in the WiX context for wxl files, but in the .Net context of the managed BA two letter culture or culture-Region tags are used. I think that there are two areas where issues are likely. 1) Validating that your DLL is at the path from which the app is trying to load it. Use

[WiX-users] [SPAM] Re: LogPathVariable not working

2014-11-13 Thread Phill Hogland
Did you review this thread? http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Disable-logging-in-Burn-td7597469.html -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LogPathVariable-not-working-tp7597897p7597901.html Sent from the wix-u

[WiX-users] [SPAM] Re: Customized downloaded MSI location

2014-11-13 Thread Phill Hogland
Not sure I understand, but if you want to modify MsiPackage/@DownloadUrl at runtime, you can do that in your ResolveSource handler. The package at the URL you specify must be the exact same package as was available to Burn when the setup was compiled or you will get hash failures. There is a 1:1

[WiX-users] [SPAM] Re: Silent installation of an exe using ExePackage element

2014-11-13 Thread Phill Hogland
Use the ExePackage/@InstallCommand, but the specific flag depends on the design of the exe. Did you mean to use a /q or a -q rather than \q? I don't think I have ever seen \q used before. The vendor of the exe package should provide the correct syntax for that package. -- View this message in

[WiX-users] [SPAM] Re: Change MSI Package Install/Uninstall Order

2014-11-13 Thread Phill Hogland
I don't think the chain sequence can be changed, but the following thread proposes using a RelatedBundle to achieve a similar goal. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Change-MSI-Package-Install-Uninstall-Order-tp7597904p7597907.html S

[WiX-users] [SPAM] Re: RadioButton property not evaluating correctly in Components Condition

2014-11-13 Thread Phill Hogland
MSI conditions are only evaluated for initial install of a Feature, unless you mark the component as transitive. http://msdn.microsoft.com/en-us/library/aa372462(v=vs.85).aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RadioButton-property-no

[WiX-users] [SPAM] Re: RadioButton property not evaluating correctly in Components Condition

2014-11-13 Thread Phill Hogland
I think a more complete log would be helpful. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RadioButton-property-not-evaluating-correctly-in-Components-Condition-tp7597915p7597922.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] [SPAM] RE: RadioButton property not evaluating correctly in Components Condition

2014-11-13 Thread Phill Hogland
Attachments don't come through. Either post a link to a sharring location or post the text. This is an area I have not worked with for a long time, so maybe someone else sees the issue. Is the issue related to the fact that the KeyPath is not on the File? Does your RemoveFile on='both' element

[WiX-users] [SPAM] HarvestDirectory

2014-11-13 Thread Phill Hogland
I have used HeatDirectory Tasks in several projects by creating a custom Target and adding it to the BeforeBuild DependsOnTargets list. But now I am trying to understand how to user the HarvestDirectory target. I added code like this to a wixproj file. INSTALLFOLDER EDSsetupG

[WiX-users] [SPAM] Re: HarvestDirectory

2014-11-13 Thread Phill Hogland
Well it seems that a path to a Transform file must be provided. I provided a path and now heat is launched. Still not working as it is a bogus path, but I can refine that further. Curiously I don't think that I used a path to the transform when the project was building a few days ago, as I have

[WiX-users] [SPAM] Re: HarvestDirectory

2014-11-13 Thread Phill Hogland
OK I figured out the issues. A Transform is not required, however until I provided a path to a Transform file it would just skip the HarvestDirectory target. Once the path to the Transform (bogus as it was) was provided, it launched heat, which provided error (0,0) and printed the full path to th

[WiX-users] [SPAM] Re: Automatically 'harvest' files in VS 2013

2014-11-14 Thread Phill Hogland
"Brian the Wix documentation defines both a "HeatDirectory Target" and a "HeatDirectory Task". " I provided incorrect information in this thread and I appreciate John's prompt to go research this in more detail. There is a HarvestDirectory target and a HeatDirectory task. Here is an example

[WiX-users] [SPAM] Re: WixStdBA launches 32-bit msiexec.exe for a 64-bit MsiPackage

2014-11-14 Thread Phill Hogland
When you open your "64 bit package" with Orca and look at the Summary Information does it indicate that it is a 64 bit package? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixStdBA-launches-32-bit-msiexec-exe-for-a-64-bit-MsiPackage-tp7597932p7

[WiX-users] [SPAM] Re: not working when kept out of

2014-11-16 Thread Phill Hogland
At least one item that you put in a Fragment needs to be referenced in your Product for all of the items in your Fragment to be included in your product. InstallUISequence does not have a XxxxRef so you should use something else which does have a reference. A common approach in this case is to pu

[WiX-users] [SPAM] Re: not working when kept out of

2014-11-17 Thread Phill Hogland
Yes, but something in that Fragment needs to be referenced back in the Product (or Bundle in the case of a bootstrapper). If you have the CustomAction elements i separate Fragments (with the related XxxxSequence elements) then you could group the CustomActionRef(s) in a Fragment (or Fragments) and

[WiX-users] [SPAM] Re: Payload not copying inf?

2014-11-17 Thread Phill Hogland
I install the CP210x driver. The approach I take is to create a msi package and use WixDifxAppExtension. I use a single project to build both x86 and x64 packages. This is one example (although I would revise several details, like using InstallerPlatform): http://alekdavis.blogspot.com/2011/05/b

[WiX-users] [SPAM] Re: Antw: [SPAM] Re: Payload not copying inf?

2014-11-17 Thread Phill Hogland
I use MsiPackage/@Permanent='yes' When my bundle is uninstalled, the CP210x ARP entry created by the SiLab installer is still there and can be uninstalled by a user at a later time if they want too. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/

[WiX-users] [SPAM] Re: not working when kept out of

2014-11-17 Thread Phill Hogland
I looked at it earlier but don't have any experience in that area, so don't want to give missinformation. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallUISequence-not-working-when-kept-out-of-product-tp7597976p7597994.html Sent from the wi

[WiX-users] [SPAM] Re: How to register all the dlls in a folder and sub folder to GAC using heat.exe

2014-11-17 Thread Phill Hogland
See this thread for example of harvesting a folder: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatically-harvest-files-in-VS-2013-td7597592.html#a7597939 I don't have any experience with GAC or Com+, but I assume that the above code could be modified to not set the SuppressR

[WiX-users] [SPAM] Re: [SPAM] Re: Antw: [SPAM] Re: Payload not copying inf?

2014-11-17 Thread Phill Hogland
I have a single MSI project, which get built twice to produce a x86 package and a x64 package (with different names). " In the msi project I have something like this:

[WiX-users] [SPAM] Re: [SPAM] Re: Payload not copying inf?

2014-11-17 Thread Phill Hogland
You need to define the folder tree based on those tow root folders. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Payload-not-copying-inf-tp7597985p7598013.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] [SPAM] Re: not working when kept out of

2014-11-17 Thread Phill Hogland
As I was/am learning wix, particularly as I converted from IS to wix and needed to write a CAs for some printer driver configuration, I found it helpful to study the WixExtensions, and particularly the WixGamingExtension was helpful. These also demonstrate using an immeadiate custom action to sche

[WiX-users] [SPAM] Re: Wixstdba: Not invoking right msi for 32 bit platform in uninstallation

2014-11-18 Thread Phill Hogland
http://schemas.microsoft.com/wix/2006/wi"; xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wixstdba-Not-invoking-right-msi-for-32-bit-platform

[WiX-users] [SPAM] Re: Antw: [SPAM] Re: Payload not copying inf?

2014-11-18 Thread Phill Hogland
Glad it is helping. 1) Your bundle (I assume) is placing one ARP entry, which you can control with the Bundle attributes DisableModify, DisableRemove. You can try to use Driver/@AddRemovePrograms to suppress the driver entry. I have not done either. http://wixtoolset.org/documentation/manual/v3/

[WiX-users] [SPAM] Re: Can I pass the installation location to a custom action?

2014-11-18 Thread Phill Hogland
Search the wix source code for fIs64Bit and notice how they use that flag in the wix custom actions. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Can-I-pass-the-installation-location-to-a-custom-action-tp7598066p7598068.html Sent from the wix-us

[WiX-users] [SPAM] Re: WXS File : How to insert accents in TEXT Tag ?

2014-11-19 Thread Phill Hogland
Did you set Package/@SummaryCodepage. I don't use the Text element (or any MSI UI so can't advise on that, but I build MSI(s) and mba which supports French. I added a wxl file to the project and set header of that file as follows: http://schemas.microsoft.com/wix/2006/localization";> 1036

[WiX-users] [SPAM] Re: [SPAM] Re: WXS File : How to insert accents in TEXT Tag ?

2014-11-19 Thread Phill Hogland
I can't advise on using an ANT script. I guess I would create a project using the localization tutorials, and then evaluate how to change the ANT script to achieve the same results. When wix setup project is created in VS there is a .wixproj file, and if localization is added, then there are entr

[WiX-users] [SPAM] Re: Conditional variables in burn?

2014-11-20 Thread Phill Hogland
If using WixStdBA, a BAFunctions.dll could be used. A sample project is in the wix source (src\burn\Samples\bafunctions). Add a C# library project to your solution and copy the sample files from the bafunctions sample , and get it compiling. Then in WixBootstrapperBAFunction::OnDetectComplete im

[WiX-users] [SPAM] Re: WXS File : How to insert accents in TEXT Tag ?

2014-11-20 Thread Phill Hogland
I am not familiar with using ANT or the TEXT UI, but your script is calling candle.exe and light.exe I assume. Here is an example of using a localization file by passing -loc to the linker. http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/build_a_localized_version.html htt

[WiX-users] [SPAM] Re: use of $(var.Platform) and $(var.SolutionDir)

2014-11-20 Thread Phill Hogland
v4 is unstable. Are you sure you want to use it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/use-of-var-Platform-and-var-SolutionDir-tp7598141p7598147.html Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] [SPAM] Re: v4 or v3.9 installer drops supporting use in vs15 [ / dev14 ] preview

2014-11-20 Thread Phill Hogland
vs14 is not dropped. There is work in-process to add it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/v4-or-v3-9-installer-drops-supporting-use-in-vs15-dev14-preview-tp7598142p7598148.html Sent from the wix-users mailing list archive at Nabble.

[WiX-users] [SPAM] Re: Package download failed in Web Installer

2014-11-21 Thread Phill Hogland
I haven't thought about how to retry until a specified time. If you look at the wix source (src\Setup\WixBA\InstallationViewModle in ResolveSource function) you will notice that it maintains a dictionary of download retires and increments the retry associated with the package Id. My mba had simil

[WiX-users] [SPAM] Re: Wixstdba: Not invoking right msi for 32 bit platform in uninstallation

2014-11-21 Thread Phill Hogland
What issue? Burn works find for me when I have x64 and x86 packages in the chain. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wixstdba-Not-invoking-right-msi-for-32-bit-platform-in-uninstallation-tp7598029p7598169.html Sent from the wix-users

[WiX-users] [SPAM] Re: WixStdBA Does not allow to modify the chained msi features in maintenance mode

2014-11-21 Thread Phill Hogland
>>> John said: For my own work, I am creating a managed bootstrapper to handle my previous collection of features as individual MSI's property-driven by the UI of the bootstrapper. IMHO, this is the way to go. I agree that this approach is the way to go! A separate msi for each "feature" (or su

[WiX-users] [SPAM] Re: Writing to 64-bit registry hive from 32-bit msi

2014-11-21 Thread Phill Hogland
This is not a wix constraint. msi only allows x64 msi to write to 64 bit areas. It is easy to create bot x86 and x64 msi and then use burn bundle to install either/both packages. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Writing-to-64-bit-r

[WiX-users] [SPAM] Re: Facing issues with util:XmlFile

2014-11-25 Thread Phill Hogland
You need to specify XMLConfig/@Node='value' and XMLConfig/@On='install' -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Facing-issues-with-util-XmlFile-tp7598214p7598226.html Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] [SPAM] Re: Package download failed in Web Installer

2014-11-25 Thread Phill Hogland
>From IBootstrapperApplication.h // OnCacheAcquireComplete - called after the engine copied or downloaded // a payload to the working folder. // // Return: // IDRETRY instructs the engine to try the copy or download of the payload again. // //

[WiX-users] [SPAM] Re: [ProductName]-magic

2014-11-27 Thread Phill Hogland
> I wonder how the [ProductName] connects to the > > - > properyt? > Where is it documented? > I wonder where I can use [ProductName] instead of my defined variable: > $(var.ProductName)... The string represented by $(var.ProductName), typically defined in a wxi file, is substituted by the

Re: [WiX-users] Unhandled exception when launching MBA

2014-12-02 Thread Phill Hogland
I'm not sure if this comment will be much help, but when I started working on an mba I made the mistake of trying to interact with Engine Variables early in my app startup, before DetectBegin handler was fired, which caused threads to close and then an exception later. I add System.Diagnostics.Deb

Re: [WiX-users] Install certificate in users store

2014-12-02 Thread Phill Hogland
I have not used this but I recalled seeing it in the docs http://wixtoolset.org/documentation/manual/v3/xsd/iis/certificate.html -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-certificate-in-users-store-tp7598330p7598335.html Sent from the

Re: [WiX-users] Embedded Transforms for L10n and how to display them.

2014-12-03 Thread Phill Hogland
I suspect that wxl files were used to batch build the msi resulting in n msi packages for n cultures defined. I used to do what I think he is doing, using torch(or similar) to create mst files of the difference between my base msi (english msi) and each of the other cultures, named ":lcid.mst".

Re: [WiX-users] Embedded Transforms for L10n and how to display them.

2014-12-03 Thread Phill Hogland
Some more info: http://stackoverflow.com/questions/16770848/how-to-read-msttransform-table-along-with-msi -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Embedded-Transforms-for-L10n-and-how-to-display-them-tp7598340p7598372.html Sent from the wix

Re: [WiX-users] [WIX]: Getting error 1316, While running the MSI package after changing the name [P]

2014-12-04 Thread Phill Hogland
I think you have this issue. If it is not a MajorUpgrade then it is running the same msi product twice and will not work. http://blogs.msdn.com/b/robmen/archive/2004/12/08/278746.aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-WIX-Getting

Re: [WiX-users] Unhandled exception when launching MBA

2014-12-04 Thread Phill Hogland
At the time, after researching the the wix source code, I concluded that I could not interact with Engine Variables until after Engine.Detect was called. It may be more relevant that I also concluded that I could not interact with engine variables except in code in a WiX event handler (or code cal

Re: [WiX-users] How to prevent upgrade and downgrade if system depends from particular installed product version

2014-12-05 Thread Phill Hogland
A while back I was also struggling with understanding the DependencyExtension. (My razor is often dull. ) I was trying to assure that a particular version of one dependency was not removed after my bundle/packages were installed. I came across Rob's advice in the following link. Since my scenari

Re: [WiX-users] Deploying multiple cultures using Burn/MSI(s). Wix 3.9 issue??

2014-12-05 Thread Phill Hogland
Based on input in this thread I concluded that using embedded transforms would not work in a Burn driven scenario reliably. At the time I had difficulty understanding how to allow the packages to be created with multiple cultures in separate output folders and then pull those back into the bundle.

Re: [WiX-users] AdvertiseFlags - what do they mean?

2014-12-08 Thread Phill Hogland
I would 'guess' that it is an internal implementation detail of MSI (not related to WiX, but to the following MSI functionality) http://msdn.microsoft.com/en-us/library/aa367548%28v=vs.85%29.aspx http://technet.microsoft.com/en-us/library/cc782152%28v=ws.10%29.aspx -- View this message in cont

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread Phill Hogland
Jacob has detailed the approach to take, using a bundle (not msi) to conditionally instal other msi (or exe/bundle) packages. There are some more examples of modifying an options dialog at: https://wixextba.codeplex.com/SourceControl/latest#Examples/Bundle10.wxs Since the extended bootstrapper f

Re: [WiX-users] Pass value from command line to Custom action-Burn

2014-12-09 Thread Phill Hogland
In the bundle.exe define a string Variable element and use bal:Overridable='yes'. Then in MsiPackage use a MsiProperty element to pass the value of the variable into the msi. At that point follow the examples that you found to pass the msi property to your CA, depending on the type of CA. VarN

Re: [WiX-users] Deploying multiple cultures using Burn/MSI(s). Wix 3.9 issue??

2014-12-09 Thread Phill Hogland
Define a variable in your bundle, detect the culture in your BA, and set this variable (or use one of the Burn built-in language variables). You could take different approaches here, but the result is that you use the variable in your InstallCondition to determine which of the msi packages will be

Re: [WiX-users] How to install a new user?

2014-12-11 Thread Phill Hogland
Every component needs a keypath and if it does not include a File or Registry element it must have a Component/@Directory which implies that you define a directory tree. There is an example directory structure here. http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/add_a_file

Re: [WiX-users] Unable to select radio buttons in Hyperlink Theme

2014-12-12 Thread Phill Hogland
anything the BA modifies needs to have bal:overridable='yes' -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-select-radio-buttons-in-Hyperlink-Theme-tp7598537p7598546.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Unable to select radio buttons in Hyperlink Theme

2014-12-12 Thread Phill Hogland
I use a mba, and have not tried what you are doing for some time so I don't want to confuse the discussion in this thread. but I would use the approach detailed here which is supported in 3.8 and later by creating a BAFun

Re: [WiX-users] WIX build failures

2014-12-12 Thread Phill Hogland
You also need to get and install the vs2012SDK and the vs2013sdk (different from windows sdk) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-build-failures-tp7598551p7598552.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] Unable to select radio buttons in Hyperlink Theme

2014-12-12 Thread Phill Hogland
This thread has info setting up bafunctions.dll for a slightly different purpose. And this link

Re: [WiX-users] Unhandled exception when launching MBA

2014-12-12 Thread Phill Hogland
I am not sure how to reproduce this issue now. I tried what I recalled running into some months back and did not hit the problem. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unhandled-exception-when-launching-MBA-tp7598331p7598565.html Sent fr

Re: [WiX-users] Package download failed in Web Installer

2014-12-13 Thread Phill Hogland
I do not have experience in this area. You might want to start a new thread. Scanning the source code (I have 3.9.702 handy, so you might want to check a more recent download), Result.Suspend (or IDSUSPEND) is only handled by OnExecutePackageComplete ( see IBootstrapperApplication.h). CacheAcqui

Re: [WiX-users] Launch Application on Exit - with Elevated Privileges

2014-12-15 Thread Phill Hogland
One approach, which I have looked at, but not actually used. http://support.microsoft.com/kb/981778 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Launch-Application-on-Exit-with-Elevated-Privileges-tp7598584p7598585.html Sent from the wix-users

Re: [WiX-users] How to install a new user?

2014-12-16 Thread Phill Hogland
You have 'TESTPC/Users' The separator should be a backslash. Try 'TESTPC\Users' Another issue that you may want to consider is that Group names are localized. I use an mba to get the localized name, and then pass that in a Burn variable (in this case the name of the Administrators group).

Re: [WiX-users] How to install a new user?

2014-12-16 Thread Phill Hogland
It is curious that the error message has a forward slash, rather than a backslash: >>CreateUser: Error 0x80004005: Failed to get group 'TESTPC/Users'. Both the Users group and the Administrators group are in the 'Builtin' domain, but the name of the group might be localized so using the English

Re: [WiX-users] XmlFile or XmlConfig in patch .msp ?

2014-12-16 Thread Phill Hogland
-ext "%WIX%\WixUtilExtension.dll" -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/XmlFile-or-XmlConfig-in-patch-msp-tp7598517p7598615.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Options for pausing the download and installation in wix custom BootStrapper

2014-12-17 Thread Phill Hogland
So far as I can understand, the only place in the wix source where the UX can indicate to Burn to "suspend" by returning Result.Suspend is in OnExecutePackageComplete. It looks to me like the only option in OnCacheAcquireProgress is to cancel or continue. Some of the other Cache handlers allow t

[WiX-users] Votive: What is purpose of ProductVerstion in wixproj

2014-12-18 Thread Phill Hogland
When using Votive to create a setup project, the wixproj file includes the line: 3.9 The wxs indicates that the Product/@Version is Version="1.0.0.0", which I always edit to implement auto-incremented verssioning system. But since I started creating projects using Wix 3.7, I still have many proje

Re: [WiX-users] Votive: What is purpose of ProductVerstion in wixproj

2014-12-18 Thread Phill Hogland
Also SchenaVersion gets set to 2.0. I've always wondered if it should be 3.0, but I am not sure what this is used for either. 2.0 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Votive-What-is-purpose-of-ProductVerstion-in-wixproj-tp7598643p7598

Re: [WiX-users] Burn - WACK, unresolvable warnings?

2014-12-19 Thread Phill Hogland
Regarding the following comment (and as an alternative approach until the issue is addressed in Burn): >>I'll just have to live with that warning. However, to me, it looks like the version warnings are just an oversight. Is that so? And is there a clean way of resolving these warnings? The GUID i

Re: [WiX-users] What can cause an error when setting a bootstrapper variable?

2014-12-19 Thread Phill Hogland
Typo between " http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-can-cause-an-error-when-setting-a-bootstrapper-variable-tp7598651p7598655.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] BURN: Logging, BURN_PACKAGE-> sczLogPathVariable to be used to create complete Log file path

2014-12-27 Thread Phill Hogland
You might be running into this bug recently discussed in this thread . I think a fix was submitted in wix 3.10. -- View this message in context: htt

Re: [WiX-users] Adding service installation to wix installer

2015-01-01 Thread Phill Hogland
In regard to using HarvestDirectory, look at the folder obj\$Configuration and review the wxs file produced by the HarvestDirectory. Does it include all of the files that you are trying to harvest from the folder ..\PRISMContingencyService\bin\$(Configuration)\ ? Or are you installing some of the

Re: [WiX-users] What can cause an error when setting a bootstrapper variable?

2015-01-07 Thread Phill Hogland
I don't have very many ideas for you. I think some deeper debugging is needed to sort the issues out. Are the computers where 'all is well' also running German (or the culture where the failure is observed)? Are you dealing with the fact that the built-in domain names for accounts are localized

Re: [WiX-users] Burn - WACK, unresolvable warnings?

2015-01-07 Thread Phill Hogland
http://wixtoolset.org/issues/ click 'New Issue' -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-WACK-unresolvable-warnings-tp7590378p7598753.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Phill Hogland
Regarding the comments about using "AnyCPU" this blog explains one reason why on a x64 system AnyCPU runs a 32 bit instance of .Net http://blogs.microsoft.co.il/sasha/2012/04/04/what-anycpu-really-means-as-of-net-45-and-visual-studio-11/ -- View this message in context: http://windows-installe

[WiX-users] BindPath and supporting 'patches'

2015-01-09 Thread Phill Hogland
There is a discussion about supporting 'patching' here and I have a followup question, but slightly different focus. I use File elements like this //which is in m

Re: [WiX-users] BindPath and supporting 'patches'

2015-01-09 Thread Phill Hogland
Thanks for the help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/BindPath-and-supporting-patches-tp7598792p7598799.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] Create Service w/ Existing Executable

2015-01-09 Thread Phill Hogland
I do not know if this is possible (and if the exe is designed to be a service and interacts with the SCM, then one wonders why it was not installed as a service). But if I were trying register an existing file as a service, I would ditch the Wix\File element (which should get rid of the light erro

Re: [WiX-users] Problem uninstalling running app and service when using WixUI

2015-01-10 Thread Phill Hogland
Which wix version was used to build the installer? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problem-uninstalling-running-app-and-service-when-using-WixUI-tp7598814p7598815.html Sent from the wix-users mailing list archive at Nabble.com. ---

[WiX-users] Named bindpath when using HarvestDirectory target

2015-01-10 Thread Phill Hogland
I use HarvestDirectory on a few of my projects so I am trying to get HarvestDirectory to use a named bindpath. I figured out how to get HarvestDirectory to use a WixVariable by specifying HarvestDirectory meta item: wix.EdsClient I also tried to set HarvestDirectory%AdditionalOptions' to -wixvar.

Re: [WiX-users] Problem uninstalling running app and service when using WixUI

2015-01-10 Thread Phill Hogland
The reason I asked is that I worked on this bug , for Wix 3.10, which is not the same scenario that you observed, but may be related. The pull request was accepted last week, and I don't know if there has been a build of wix 3.10 with this change yet. I also

Re: [WiX-users] HarvestDirectory target for multiple directories

2015-01-10 Thread Phill Hogland
FYI - the information that I posted is incorrect. Here is a sample using HarvestDirectory. I am still learning more about this functionality. -- View this message

Re: [WiX-users] Named bindpath when using HarvestDirectory target

2015-01-10 Thread Phill Hogland
I figured out how to use a named bindpath by modifing a xslt which someone else had posted here . I am still interested in any clarification on how to use HarvestDirectoryAdditionalOpt

Re: [WiX-users] Bootstrapper doesn't run MSI package

2015-01-12 Thread Phill Hogland
You need to evaluate the verbose log (or past to a post relevant parts for others to help). It is typically in your %temp% folder, with obvious name based on your product name. There will be a log for the bootstrapper which contains the 'plan' and for each msi, if launched. -- View this messag

Re: [WiX-users] Strange behavior of SetupAPI function : InstallHInfSection

2015-01-12 Thread Phill Hogland
I would also enable MSI extra debug logging and evaluate the msi logs, typically in %temp%. My first guess, and it is only a guess (without specific data from the log) is that on a x64 system, if the msi CA tried to launch a 32 bit version of the api it would fail. But again this is only one poss

Re: [WiX-users] Bootstrapper doesn't run MSI package

2015-01-12 Thread Phill Hogland
[1D28:0570][2015-01-12T15:19:10]i101: Detected package: Application, state: Obsolete, cached: None [1D28:0570][2015-01-12T15:19:12]i201: Planned package: Application, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, depe

Re: [WiX-users] Two Mutually Exclusive Products

2015-01-12 Thread Phill Hogland
I'm a little confused by the comment about ProductSearch, sorry. - ProductSearch: requires a product code which I cannot use The wix:ProductSearch for use in authoring an MSI takes ProductSearch/@UpgradeCode as the input. The util:ProductSearch for use in a bundle takes either a ProductCode or a

Re: [WiX-users] Uniting Burn and WiX(MSI) projects

2015-01-12 Thread Phill Hogland
I suspect that you might be able to create a MSBuild targets file that would do that. The wix source tree uses MSBuild targets files (.proj) which reference groups of projects. Each project still has a project file (.proj or .wixproj), which is unique to the type of project being output (by setti

Re: [WiX-users] WiX custom BA: How to detect a failure in downloading payload?

2015-01-13 Thread Phill Hogland
The place to look for this kind of information is in the wix source code, and in particular in Events.h and IBootstrapperApplication.h in particular. I also look at the WixBA implementation and started with a ResolveSource similar to that implementation. But I needed to handle failures for a part

Re: [WiX-users] Bootstrapper for multiple cultures

2015-01-13 Thread Phill Hogland
Here are a couple of quick links (and there are many more on this topic): When this link was posted I was using WixStdBA http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-td7208949.html#a7587770 Here I use an mba, but the same concepts can

Re: [WiX-users] LaunchConditions on a REG_DWORD returned from a RegistrySearch

2015-01-14 Thread Phill Hogland
IF using a bundle, use util:RegistrySearch Format="raw" and pass the result as a property to the MSI (or handle the launch condition in the ba). From what I have read, if using a msi only, then I think you need the CA. -- View this message in context: http://windows-installer-xml-wix-toolset.6

[WiX-users] App1 to launch an App2 (with advertised shortcut, not installed yet)

2015-01-14 Thread Phill Hogland
I have amsi which installs a single app with an advertised shortcut in the Start menu. After the MSI is installed, until the user clicks on the advertised shortcut, the exe is not yet installed yet. I have a c++/Win32 developer who plans to add code to his app to launch this exe as a child proces

<    1   2   3   4   5   6   7   8   >