[WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
Hi All, I am fairly new to Wix, and I am running into a strange issue that I can't seem to figure out. I have a simple bootsrapper application that works fine until I add a resource dictionary to the wpf component. These resource dictionaries work fine on a normal wpf application, however

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
much with managed BA's, but there is a difference between a standard WPF Exe project and a BA which is a DLL. You might want to have a look at the Wix BA (src\Setup\WixBA) to see if there is an example to go by there. -Original Message- From: Nick Miller [mailto:nmil

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
? If not, they are certainly missing from where your BA is being run. On Mon, Apr 8, 2013 at 12:51 PM, Nick Miller nmil...@livetechnology.comwrote: Thanks for the reply. This looks like what I currently have but it still doesn't work. Currently there is only one window in the installer. Am I missing

Re: [WiX-users] Problem with SqlDatabase extension

2013-04-08 Thread Nick Miller
in the Sql Extension? I am using Wix version 3.6. Thanks, Nick Nick Miller GE Intelligent Platforms Senior Software Engineer T (518) 464-4503 F (518) 464-4613 C (518) 281-1898 D 8*687-4503 E nick.mil...@ge.commailto:nick.mil...@gefanuc.com 1 Columbia Circle, Albany, NY 12203

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
to be in the same directory as the .dll or in subdirectories like: Views\Style? If the latter, try adding a Payload/@Name attribute that adds the relative path to the name of the files. On Mon, Apr 8, 2013 at 1:42 PM, Nick Miller nmil...@livetechnology.comwrote: There are two resource files

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
a Payload/@Name attribute that adds the relative path to the name of the files. On Mon, Apr 8, 2013 at 1:42 PM, Nick Miller nmil...@livetechnology.com wrote: There are two resource files, and the ButtonStyles RD depends on the Resources RD. I've added the payload entries as follows

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread Nick Miller
at my boostrapper and it also needed a Application.ResourceAssembly = typeof(MainWindow).Assembly; Can you add it to your BS and see if it helps Raj On Mon, Apr 8, 2013 at 3:08 PM, Nick Miller nmil...@livetechnology.comwrote: I am currently using the MergedDictionaries construct

[WiX-users] WiX vs NSIS

2013-04-16 Thread Nick Miller
Hi All, My company is evaluating two different Windows installer solutions, WiX and Nullsoft installer (NSIS). I was wondering if anyone has had experience with both, and could weigh in on the pros and cons, benefits, limitations, etc. Thanks, Nick

Re: [WiX-users] WiX vs NSIS

2013-04-17 Thread Nick Miller
group. Wes -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: April 16, 2013 7:44 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX vs NSIS Hi All, My company is evaluating two different Windows installer solutions

[WiX-users] Bootstrapper Upgrade Problem

2013-04-22 Thread Nick Miller
Hi All, I am trying to upgrade an msi from a custom managed bootstrapper. For some reason the upgrade fails when trying to remove the cached bootstrapper package. When the installer tries to run C:\ProgramData\Package Cache\...\MyCustomBa.exe -uninstall -quiet -burn.related.upgrade it just

Re: [WiX-users] Bootstrapper Upgrade Problem

2013-04-23 Thread Nick Miller
Awesome tip, thanks! -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Monday, April 22, 2013 5:20 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bootstrapper Upgrade Problem you have to magae the case when the

[WiX-users] Trouble with DotNet

2013-04-24 Thread Nick Miller
Hi All, I am having a very annoying problem. I have a managed bootstrapper application which requires .Net 4.5. I have the proper PackageGroupRef in my bundle's chain, and it installs .Net 4.5 successfully when there is no .Net installed. The problem is that if .Net 4 is already installed I

Re: [WiX-users] Bundle - NET4.5 - WinXP(and other unsupported OS'es)

2013-04-24 Thread Nick Miller
Is there anywhere where I can see an example of this? I tried using the same condition I have for .Net 4.5 and it still skips the prereq and tries to run the BA. Also, what is the correct syntax for the BootstrapperCore.config for .Net 4.5? If I use 'supportedFramework version=v4.5 /' the

Re: [WiX-users] Trouble with DotNet 4.5

2013-04-24 Thread Nick Miller
Can anyone help me with this? Nick -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Wednesday, April 24, 2013 2:08 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Trouble with DotNet Hi

Re: [WiX-users] Including third party DLLs for installer to use

2013-04-24 Thread Nick Miller
Hi Greg, If I understand your problem correctly, what you need to do is add these dll's as references to the custom action project, then set the Copy Local property to true. When you build the custom action, your customaction.CA.dll will contain all of the dependencies needed for it to run,

Re: [WiX-users] Including third party DLLs for installer to use

2013-04-24 Thread Nick Miller
Hi Greg, I had one other idea, you might be able to include your unmanaged dll as an embedded resource and have the CA copy it to a temp directory, then reference it from there. It's a quick and dirty way to get it done, but it should work. Basically it would look like this: private void

Re: [WiX-users] Trouble with DotNet

2013-04-25 Thread Nick Miller
supportedRuntime version=v4.0 sku=.NETFramework,Version=v4.5 / /startup -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Wednesday, April 24, 2013 2:08 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX

[WiX-users] Current Bundle Version Property

2013-04-26 Thread Nick Miller
Hi All, I was wondering if there is a way to get the current bundle version in my managed BA? I can get the currently installed version with DetectRelatedMsiPackageEventArgs, but I can't seem to find a property for the running installer version. So, for example, let's say I want a textblock

Re: [WiX-users] Current Bundle Version Property

2013-04-26 Thread Nick Miller
Bundle Version Property WixBundleVersion ? On Fri, Apr 26, 2013 at 11:44 AM, Nick Miller nmil...@livetechnology.comwrote: Hi All, I was wondering if there is a way to get the current bundle version in my managed BA? I can get the currently installed version

[WiX-users] RequestState

2013-04-29 Thread Nick Miller
Hi All, Can anyone explain to me what each of these items do (besides the obvious)? Or perhaps point me to some documentation? namespace Microsoft.Tools.WindowsInstallerXml.Bootstrapper { // Summary: // Indicates the state desired for an installation package. public enum

Re: [WiX-users] RequestState

2013-04-29 Thread Nick Miller
, 2013 at 11:00 AM, Nick Miller nmil...@livetechnology.comwrote: Hi All, Can anyone explain to me what each of these items do (besides the obvious)? Or perhaps point me to some documentation? namespace Microsoft.Tools.WindowsInstallerXml.Bootstrapper { // Summary: // Indicates

Re: [WiX-users] RequestState

2013-04-29 Thread Nick Miller
guess ForceAbsent could use documentation. I think it's in the .h file for the native code, not the managed code since the managed code is just a proxy for the native code. On Mon, Apr 29, 2013 at 11:25 AM, Nick Miller nmil...@livetechnology.comwrote: Correct, so for example, what

Re: [WiX-users] RequestState

2013-04-29 Thread Nick Miller
Awesome, thanks! -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, April 29, 2013 4:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] RequestState IIRC, yes, exactly. On Mon, Apr 29, 2013 at 12:10 PM, Nick Miller

[WiX-users] Burn Prerequisites

2013-04-30 Thread Nick Miller
Hi All, Is there a way to define prerequisites that need to be installed before the BA loads? For example, I want burn to install SQL express before loading the bootstrapper application. The reason for this is my BA checks SQL connectivity before beginning the install process. I need to

Re: [WiX-users] Burn Prerequisites

2013-04-30 Thread Nick Miller
code. It's not simple but you can see how it works in the code under src\ext\BalExtension\mba\host and src\ext\BalExtension\wixstdba On Tue, Apr 30, 2013 at 2:04 PM, Nick Miller nmil...@livetechnology.comwrote: Hi All, Is there a way to define prerequisites that need to be installed before

Re: [WiX-users] Burn Prerequisites

2013-05-01 Thread Nick Miller
and if it is not present install it in the normal burn chain sequence. Is there a reason why you can't do this? -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: 30 April 2013 22:05 To: General discussion for Windows Installer XML toolset. (wix-users

[WiX-users] Not so silent SQL install

2013-05-01 Thread Nick Miller
Hi All, My BA is supposed to install SQL Server express silently, however there is this ugly black command prompt window that appears during the process. I am fairly certain my install commands are correct, but I could be wrong... Is this a known problem? Expected behavior? Or am I doing

Re: [WiX-users] Not so silent SQL install

2013-05-02 Thread Nick Miller
:25 PM, Nick Miller nmil...@livetechnology.comwrote: Hi All, My BA is supposed to install SQL Server express silently, however there is this ugly black command prompt window that appears during the process. I am fairly certain my install commands are correct, but I could be wrong

Re: [WiX-users] Not so silent SQL install

2013-05-02 Thread Nick Miller
- you will still see a brief console window but it should be present all the time. Neil -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: 02 May 2013 05:25 To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX

[WiX-users] Uninstall Order

2013-05-02 Thread Nick Miller
Hi All, I have another question for you guys. Is there any way to specify the uninstall order in my bootstrappers chain? The reason I ask, is because I have two MSI's, the first one installs the application, and the second installs the sql data. There is a service that runs which accesses

Re: [WiX-users] Uninstall Order [P]

2013-05-02 Thread Nick Miller
it is FILO (first in, last out) order? -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: May-02-13 11:11 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Uninstall Order Hi All, I have another question

Re: [WiX-users] Uninstall Order

2013-05-02 Thread Nick Miller
is not removed until after the service uninstalled. Daniel Madill -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: May-02-13 11:12 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Uninstall Order

Re: [WiX-users] Uninstall Order [P]

2013-05-02 Thread Nick Miller
be complaining if it wasn't in that order. You'd essentially remove perquisites then try to remove application. Not likely to work out well in many cases. smile/ On Thu, May 2, 2013 at 8:25 AM, Nick Miller nmil...@livetechnology.com wrote: Seems to be, yes. -Original Message

Re: [WiX-users] Windows 7 Professional encryption

2013-05-02 Thread Nick Miller
VirtualBox is your friend. ;) -Original Message- From: Wesley Manning [mailto:wmann...@dynagen.ca] Sent: Thursday, May 02, 2013 12:50 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Windows 7 Professional encryption That was me actually. I'm going

[WiX-users] Wix WCF

2013-05-07 Thread Nick Miller
Hi All, I have an interesting question for you guys. I am trying to get my custom MBA to consume a WCF service that it installs after it completes. I've successfully imported the service reference to the project, but when the installer runs, it can't seem to find the endpoints in the

[WiX-users] Burn Execute Sequence

2013-05-08 Thread Nick Miller
Hi All, I was wondering if there is some documentation somewhere that details the execute sequence that burn goes through on install? Thanks, Nick -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases

Re: [WiX-users] Burn Execute Sequence

2013-05-08 Thread Nick Miller
: Wednesday, May 08, 2013 12:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn Execute Sequence http://wix.sourceforge.net/manual-wix3/wix_xsd_installexecutesequence.htm Hope this is what you need. Thanks, J On Wed, May 8, 2013 at 10:11 AM, Nick Miller

Re: [WiX-users] .Net installation using Wix

2013-05-09 Thread Nick Miller
Hi Ashish, I don't know if you can install the .Net prequisite in an MSI, however I can tell you that all of your needs are what burn is for. You will also run into problems if your MSI is run on a Windows 7 machine with UAC enabled, whereas if you use burn, it will elevate your MSI for you

[WiX-users] Burn Console Output

2013-05-10 Thread Nick Miller
Hi All, I was wondering if there was a way to output text to the console (like error messages) when running a BA in silent mode? If not, is there some other way I can alert a user to an error without loading the UI? Thanks, Nick

[WiX-users] Help Menu for Custom MBA

2013-05-10 Thread Nick Miller
Hi All, Is there anything special I need to do to create a command line help menu in my custom managed bootstrapper application? Bootstrapper.Command.GetCommandLineArgs() seems to ignore /?, /h, and /help completely... Thanks, Nick Nicholas Miller (Network Administrator) LiveTechnology

Re: [WiX-users] Help Menu for Custom MBA

2013-05-10 Thread Nick Miller
Awesome, thanks! -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Friday, May 10, 2013 5:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Help Menu for Custom MBA Yes, because with Burn the standard command line args are

[WiX-users] Heat creates duplicate IDs

2013-05-13 Thread Nick Miller
Hi All, Does anyone know how Heat generates the component and file ID's? Here is the situation: I have two folders, and those folders contain some of the same files (dll's and such). If I run Heat on both of those directories it creates the same component and file IDs for those like files.

[WiX-users] CA Error with MBA

2013-05-13 Thread Nick Miller
Hi All, I have a managed bootstrapper application that installs a couple of MSI I created, and for some reason the Bootstrapper.Error event never fires when one of the custom actions fails. The CA returns ActionResult.Failure, and the install rolls back, but my installer informs the user that

Re: [WiX-users] CA Error with MBA

2013-05-14 Thread Nick Miller
: Tuesday, May 14, 2013 12:21 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA Error with MBA CA messages come back to the MsiExecuteMessage() callback, IIRC. On Mon, May 13, 2013 at 7:31 PM, Nick Miller nmil...@livetechnology.comwrote: Hi All, I have

Re: [WiX-users] CA Error with MBA

2013-05-15 Thread Nick Miller
Anyone have any ideas? -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Tuesday, May 14, 2013 11:09 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA Error with MBA Tried looking for Result.Error

Re: [WiX-users] CA Error with MBA

2013-05-15 Thread Nick Miller
more like the CA is crashing and not actually sending an error back to the BA. Debug the CA to identify the underlying exception. -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Wednesday, May 15, 2013 9:53 AM To: General discussion for Windows Installer XML

Re: [WiX-users] CA Error with MBA

2013-05-15 Thread Nick Miller
it sounds like you have a managed CA and that you are catching the exception and are returning the correct result. Then the question is how are you referencing the CA from your MSI? On your CustomAction element, do you have Return=ignore by chance? -Original Message- From: Nick Miller

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Here is what I use: util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes /

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed Here is what I use

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General discussion

[WiX-users] Sending lots of properties to a deferred CA

2013-05-29 Thread Nick Miller
Hi All, I have a deferred CA that I need to send 18 properties to. If I shove all of these into one CustomAction Data CA I get an ICE03: String overflow warning. How do I go about getting all of these properties to the CA? Can I split it up somehow? Thanks, Nick

Re: [WiX-users] Sending lots of properties to a deferred CA

2013-05-29 Thread Nick Miller
Value=[CAFooA][CAFooB][CAFooC] And then just schedule the ABC variants to happen before the final one which brings it all together. -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Wednesday, May 29, 2013 9:31 AM To: General discussion for Windows Installer

Re: [WiX-users] Sending lots of properties to a deferred CA

2013-05-29 Thread Nick Miller
Value=[CAFooA][CAFooB][CAFooC] And then just schedule the ABC variants to happen before the final one which brings it all together. -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Wednesday, May 29, 2013 9:31 AM To: General discussion for Windows Installer

Re: [WiX-users] CA Error with MBA

2013-05-30 Thread Nick Miller
Installer XML toolset. Subject: Re: [WiX-users] CA Error with MBA Sorry for the delay, in your MBA, what is the value of e.Status from private void ApplyComplete(object sender, ApplyCompleteEventArgs e) From: Nick Miller [nmil...@livetechnology.com] Sent

Re: [WiX-users] CA Error with MBA

2013-05-30 Thread Nick Miller
doesn't check for e.Error but rather e.Status. -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 30, 2013 8:54 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA Error with MBA Thanks for the reply, Here

Re: [WiX-users] CA Error with MBA

2013-05-30 Thread Nick Miller
: InstallationState.Failed; } } -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 30, 2013 11:41 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA Error with MBA That is from the ApplyComplete handler in my MBA

[WiX-users] Quick Question

2013-07-02 Thread Nick Miller
Hi All, I am passing some properties to a custom action, and one of the values being passed is quite large, and never seems to make it to the CA. I am wondering what is the maximum size of a string that can be passed via CustomActionData? Thanks, Nick Nicholas Miller (Network Administrator)

Re: [WiX-users] Quick Question

2013-07-02 Thread Nick Miller
Well, the value I am trying to pass is the contents of an INI file, so I doubt it's running out of memory. There must be something else going on... -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, July 02, 2013 11:26 AM To: General discussion for Windows

Re: [WiX-users] Start application after WIX bundle installation

2013-07-19 Thread Nick Miller
The way I accomplished this is I created a Boolean value that is true if it's an initial install (not upgrade or uninstall), then I created an event handler for the Finish button that launches the executable. It looks something like this: View.FinishButton.Click += (s, e) = {