[WiX-users] Install hang

2013-07-03 Thread Vadivel Natarajan
Installation was hang at installation ending stage. It occurs only in some machines and other OS machines while the prerequisites setup installation is going on. Rest of the other configuration machines, installation was working fine without any hang issue. Am using Wix3.7 and bootstrapper. Any

Re: [WiX-users] Condition on service permissions

2013-07-03 Thread Blair Murri
Unfortunately, no. > From: m...@henningkrause.eu > To: wix-users@lists.sourceforge.net > Date: Tue, 2 Jul 2013 15:37:52 + > Subject: Re: [WiX-users] Condition on service permissions > > Ok, an immediate custom action would do the trick. > > Is there anything out-of-the-box that I missed? I'

Re: [WiX-users] Quick Question

2013-07-03 Thread Blair Murri
How are you setting your CustomActionData property? You will want to log what you set it to, log what the entire CustomActionData value is when you run deferred, and log how you are parsing it all out (at least until you have it all working). If you are using library support (DTF or the WiX C+

[WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Hi, I'm trying to execute a PowerShell V3 script on installation using the following action Is there any way I can get the output from the script to be logged to the log file if the script fails, I'm having a hard time to figure out why the script is failing, all I get in the log file is CA

[WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Hi, I'm trying to execute a PowerShell V3 script on installation using the following action Is there any way I can get the output from the script to be logged to the log file if the script fails, I'm having a hard time to figure out why the script is failing, all I get in the log file is CAQ

Re: [WiX-users] Burn - Localization Identifiers Duplicated

2013-07-03 Thread Blair Murri
I would love for you to contribute documentation so the next person doesn't have to find this email thread :) I'll have updated instructions in for how do update the documentation in a pull request before the week is out. > Date: Tue, 2 Jul 2013 14:35:09 -0700 > From: ma...@costar.ca > To: wi

Re: [WiX-users] Feature Selection

2013-07-03 Thread Blair Murri
Not certain but do you need to publish AddLocal before you publish NewDialog? > From: reesslin...@matthews.com.au > To: wix-users@lists.sourceforge.net > Date: Tue, 2 Jul 2013 23:16:15 + > Subject: [WiX-users] Feature Selection > > I am have a simple problem connecting feature selection to a

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread Blair Murri
The only way to do that today would be to write a custom BA that cycles through plan and apply twice: once to remove the previous bundle and the second time to install the MSI. > From: jo...@msli.com > To: wix-users@lists.sourceforge.net > Date: Tue, 2 Jul 2013 18:13:45 -0700 > Subject: [WiX-us

Re: [WiX-users] Web installer - Bootstrapper

2013-07-03 Thread Blair Murri
During the build the MSI is needed in the location indicated by SourceFile. It does not need to be there during installation because it can be downloaded. The build won't download the file to read out of the package information it needs to prepare the relevant metadata. > Date: Tue, 2 Jul 2013

Re: [WiX-users] Install hang

2013-07-03 Thread Blair Murri
We always start with logs... > From: vadiv...@syncfusion.com > To: vadiv...@syncfusion.com; wix-users@lists.sourceforge.net > Date: Wed, 3 Jul 2013 03:26:29 -0400 > Subject: [WiX-users] Install hang > > Installation was hang at installation ending stage. It occurs only in some > machines and ot

Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Blair Murri
Your string starting with 8? is the output from the script (with '?' used for all unmapped chars). My guess is that your script is returning wide chars while CAQuietExec is expecting whatever your system's default codepage is. > From: christoffe...@flowcentric.com > To: wix-users@lists.sourcefo

Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Ahh thanks a bunch Blair, my script indeed output some text while executing for logging purposes, so then I assume that no output should be returned from the script except for the exit code? How do you know when something goes wrong from reading the log file? Is it possible to achieve? -Ori

Re: [WiX-users] Condition on service permissions

2013-07-03 Thread Henning Krause
Ok, I implemented it via a C# Custom action. Just a handful of lines... I also thought about extending the PermissionEx element by adding a Condition property. I briefly looked at the WIX source and it doesn't look that hard. Much harder is getting the WIX source to build. Is there any documentat

Re: [WiX-users] Web installer - Bootstrapper

2013-07-03 Thread Kannan24
Hi, Thanks for your response. I tried with your suggestions and I got the setup by both SourceFile and DownloadURL but when compare with the exiting setup(without downloadurl property) size are same. I think the web installer setup is very less than normal setup. Could you please help for this?

Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Blair Murri
Determining success or failure is usually done from the exit code. Any code other than 0 is considered by Windows Installer to be a failure. Normally we do want to see output from our scripts, preferably in the same log. I haven't used powershell in custom actions so I haven't looked to see how

Re: [WiX-users] Condition on service permissions

2013-07-03 Thread Blair Murri
There is documentation in the wix.chm file (towards the bottom in the "Developing for" section). The WiX sources make use of some tools that are part of the sources, as well as several inter-dependencies between the different projects, so generally you need to build the entire thing (documentati

Re: [WiX-users] Web installer - Bootstrapper

2013-07-03 Thread Blair Murri
What you need to know is if your package is being compressed into the setup exe. Try running the setup exe on a machine with no network connection or check the log after running the setup exe by itself from a USB stick. > Date: Wed, 3 Jul 2013 04:14:57 -0700 > From: skan...@syncfusion.com > To:

[WiX-users] FW: Upgrade uninstall restart issue

2013-07-03 Thread Blair Murri
There is no such dependency "baked-in" to the system. The only tracking is the parent process's ID is in placed in the child's process information structure at the child's launch. When a process ends, all handles assigned to that process are automatically closed and children are not given any ha

[WiX-users] How to quietly execute CA with admin privileges asyncronously?

2013-07-03 Thread Blair Murri
According to http://msdn.microsoft.com/library/windows/desktop/aa368071.aspx only EXE custom actions can be asynchronous/nowait. > From: afor...@cmu.edu > To: wix-users@lists.sourceforge.net > Date: Tue, 2 Jul 2013 18:24:23 -0400 > Subject: [WiX-users] How to quietly execute CA with admin privi

Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Awesome thanks Blair, I'm going to try as suggested and output some log from the script itself to a separate log file. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: 03 July 2013 01:22 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CAQuietExec64 log ou

Re: [WiX-users] Burn - Localization Identifiers Duplicated

2013-07-03 Thread mvd1
Sure, let me know what to do and I would be happy to add some docs :) From: Blair Murri-3 [via Windows Installer XML (WiX) toolset] [mailto:ml-node+s687559n7587114...@n2.nabble.com] Sent: Wednesday, July 03, 2013 2:59 AM To: Mark Van Dyke Subject: Re: Burn - Localization Identifiers Duplicated I

Re: [WiX-users] Burn - Localization Identifiers Duplicated

2013-07-03 Thread Neil Sleightholm
I think you are hitting a bug that is now fixed in 3.8 - the engine was looking up the system LCID not the user. For many languages this was ok but for UK English or French Canadian it would be wrong. Would it be possible for you to try 3.8 and see if that works ok? Neil >The good news is that t

Re: [WiX-users] How to quietly execute CA with admin privileges asyncronously?

2013-07-03 Thread Blair Murri
I suspect that some combination of security, control, and/or infrastructure issues precluded them from leaving one of their sandbox processes remaining after their service is shut down. Original Message Subject: RE: [WiX-users] How to quietly execute CA with admin privileges

Re: [WiX-users] Burn - Localization Identifiers Duplicated

2013-07-03 Thread mvd1
I am using 3.8.401.0. The problem has been fixed. It was unclear exactly how to configure things but with the help of the forum and some trial and error the solution has been found. It is in this thread (which has grown a little lengthy). I will provide some updated documentation once Blair

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread jo...@msli.com
That's the only way? Isn't there a way to force the user to uninstall one bundle before installing a new one? The reason I'm resistant to a custom BA is that I don't know how to approach programming a BA correctly. I know perl, python, bash, some C (from a unix world). I have made ant scripts t

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread Hoover, Jacob
You could create a new MSI and bundle with a higher version number but with the older files. As long as you schedule remove existing products "early" in the chain, it will remove the bad build before installing the fixed/reverted files. -Original Message- From: jo...@msli.com [mailto:jo

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread David Watson
Generally people fix the issue and release a later build version, so your scenario is quite odd. If you can't do that you could take the msi with build 3698 in it and edit it so that it does a major upgrade* (one that uninstalls and reinstalls) with orca or insted (you may need to re-sign it after

Re: [WiX-users] Adding language transform .mst's to Burn Bundle Chain?

2013-07-03 Thread TimM
Thanks Jacob, So added all the supported language .mst's using the Payload element under the MsiPackage, but without being able to condition if one of the supported .mst's are to be used or to have to use the default languages of English then again it makes it harder to use. So it looks like I'll

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread Phil Wilson
Exactly what I was thinking. Just rebuild that 3698 version to be a major upgrade of 3699. Schedule RemoveExistingProducts to be early so that it removes all the 3699 versioned files during the upgrade, if that's what is needed. Alternatively, if there are just one or a few files in 3699 that are f

[WiX-users] Question on custom dialogs : Dialog Title text stopped showing

2013-07-03 Thread Nik Twerdochlib
I have some custom dialogs in my installer, and recently moved all the text to wxl file. This was all working quite well, but now I have realized that the test defined as the title for each dialog no longer shows. Examining the MSI with Orca shows me that each dialog as the correct title, some

[WiX-users] ServiceInstall fails when installing service containing a Mixed Mode dll

2013-07-03 Thread Andrew Jones
I have a .NET 4 Windows Service that references a Mixed Mode .NET2.0/3.5 dll. In my Windows Service application I've had to alter app.config to add a useLegacyV2RuntimeActivationPolicy="true" to allow use of the legacy dll. I can install and start this service manually from a command prompt us

Re: [WiX-users] Adding language transform .mst's to Burn Bundle Chain?

2013-07-03 Thread TimM
Okay adding all supported language .mst's by Payload element and then having: Does work. The install did install the shortcuts under the correct language, but if you are running on a unsupported language, a language that we do not have a .mst for, then the BootStrappper will fail when attempting t

Re: [WiX-users] ServiceInstall fails when installing service containing a Mixed Mode dll

2013-07-03 Thread Christopher Painter
This would be an interesting one to profile. I stand by my assertion that installutil CA's to create and start services is an antipattern. ServiceInstall and ServiceControl should always be comparable. The problem is what else is in the InstallUtil CA? I've seen people doing things such as

Re: [WiX-users] ServiceInstall fails when installing service containing a Mixed Mode dll

2013-07-03 Thread Phill Hogland
Today while working on another issue, I added the paths to the WiX source and pdbs to the Visual Studio options and found that I could launch my setup, attach to it, and debug into the WiX code. Also for developing CAs there is a good tool called catest which I have not used with WiX yet. I have

Re: [WiX-users] Upgrade uninstall restart issue

2013-07-03 Thread Blair Murri
Have you tried an exe that launches the updater and then immediately exits (without waiting for the updater to exit)? I'm curious if that would change any of this dynamic. > From: afor...@cmu.edu > To: os...@live.com > Subject: RE: [WiX-users] Upgrade uninstall restart issue > Date: Wed, 3 Jul

Re: [WiX-users] Feature Selection

2013-07-03 Thread Blair Murri
From: os...@live.com To: reesslin...@matthews.com.au Subject: RE: [WiX-users] Feature Selection Date: Wed, 3 Jul 2013 17:27:41 -0700 I've used various "home-grown" bootstrappers, embedded UI, and more recently Burn with custom BAs. From: reesslin...@matthews.com.au To: os...@live.com Subj

Re: [WiX-users] Adding language transform .mst's to Burn Bundle Chain?

2013-07-03 Thread Blair Murri
The prereq strings are translated into several languages but the wixstdba strings (theme wxl) are not (as of yet). If you supply one (or more) and place it (via the Payload element) it will be used. Contributions of translations are more than welcome. Please inquire on the wix-devs list if you'r

Re: [WiX-users] Feature Selection

2013-07-03 Thread Ralph Esslinger
Figured it out. Need to insert the '1' on the contents of Publish element. I was actually selecting the feature but then not moving on to the next form because the condition was blank which is false. If there is only one publish event and it is blank then it is true. So if you add another pu

[WiX-users] WiX v3.7 - CopyFile not working

2013-07-03 Thread Stephane Fagnan
I'm creating a major upgrade for a program using WiX. The last version of the program had a data file that is always found in C:\. I am allowing the user to either keep the file in the same location or select a different location. I am using a CopyFile element to move the file, which looks like t