Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-23 Thread Freedman, Mark P.
-self-contained-net-3-5-sp1-inst Mark Freedman -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, July 22, 2013 2:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] It's

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-23 Thread Steven Ogilvie
-Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: July-23-13 7:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I did'nt realize it was overwriting the wix generated bootstrapper

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Mark, you simply need to use an MsiProperty element as a child to your MsiPackage one. A burn variable is only involved if you are not hardcoding the value you are passing

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I've tried Steven's method of defining a variable and assigning it to the MsiProperty, as well not using a burn variable and just using the MSI Property with a constant. When I have the Property

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
it... -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: July-22-13 8:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I've tried Steven's method of defining a variable and assigning

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public Take out the Value out of your Product.wxs i.e.: Property Id=SETLOCALDB Secure=yes / Set the default value of the property in the bundle.wxs so it is passed on to the MSI, that way you have the default

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Thanks Steven, I tried that as well, not defaulting the value in the Product.wxs and it seems that when the MSI takes over, the value of the property is empty string or null. If I do call my setup.exe via

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Hoover, Jacob
] Sent: Monday, July 22, 2013 9:35 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I'm really at a loss as to why I'm seeing this behavior. Only if I manually run setup.exe on the command line with my parameter

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
Ogilvie [mailto:steven.ogil...@titus.com] Sent: Monday, July 22, 2013 12:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public If you run your bootstrapper exe (burn.wxs) then through it run the MSI

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] The bundle and installer logs would tell the story... Start with the bundle log and ensure it is passing the default value to the MSI, then inspect the MSI log file

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: July-22-13 10:35 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I'm really at a loss as to why I'm seeing this behavior. Only if I manually run

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
your main installer. I am not really familiar with MSBuild Steve -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: July-22-13 12:15 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Steven, I see what you're doing and it all makes sense. I can't find any logs files where you describe, or any log files that include my bundle name. I do see an install.log, but doesn't mention the defaulted

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread John Cooper
toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Steve, Correct, I do not see the logs. I experimented with removing my GenerateBootstrapper task as I mentioned before, reproduced below. I then see the log file show up, and I see similar log files as you have

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public The log files from the bundle are placed in %temp% are i.e.: Name of bundle_datetime.log Weird, try taking out the Persisted=yes out of the variable element in your bundle.wxs Btw

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
: Monday, July 22, 2013 12:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public Sorry Mark, I am not familiar with Generatebootstrapper what is that? Steve -Original Message- From

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread John Cooper
jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: Monday, July 22, 2013 10:23 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I've removed the default value in product.wxs, but to no avail. That's why my custom action reports the property as being null. I'm assuming that the bundle log is the install.log I see by default in my temp directory

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
-Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Monday, July 22, 2013 9:49 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public Nope the property I have is a made up

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
] Sent: Monday, July 22, 2013 12:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public If you run your bootstrapper exe (burn.wxs) then through it run the MSI, you don't see any log files in your

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Freedman, Mark P.
XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] I've removed the default value in product.wxs, but to no avail. That's why my custom action reports the property as being null. I'm assuming that the bundle log is the install.log I see by default in my temp

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public Sorry Mark, I am not familiar with Generatebootstrapper what is that? Steve -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: July-22-13 12:15 PM

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread John Cooper
: Re: [WiX-users] passing command args to MSI from bundle [P] Old MsBuild/Visual Studio task that takes a manifest, a set of dependencies usually embedded in the project file, and builds a primitive bootstrapper. We used to use it before they hired me. -- John Merryweather Cooper Build Install

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-22 Thread Steven Ogilvie
Classification: Public I totally agree :) -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: July-22-13 2:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] It's redundant

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-21 Thread Blair Murri
Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public Mark, In my bundle.wxs I have the following: /BootstrapperApplicationRef Variable Name=SERVICESLOGLEVEL Type=string bal:Overridable=yes Value=WARN/ Chain MsiPackage Id=MainInstall

Re: [WiX-users] passing command args to MSI from bundle

2013-07-19 Thread Rahul V
Create a variable inside the Bundle, pass that variable to MsiProperty, and change the variable in the bootstrapper code like Bootstrapper.Engine.StringVariables[MyVariable] = now you can see it in the log, for the reference,

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-19 Thread Steven Ogilvie
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle Create a variable inside the Bundle, pass that variable to MsiProperty, and change the variable in the bootstrapper code like Bootstrapper.Engine.StringVariables[MyVariable] = now you can see

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-19 Thread Freedman, Mark P.
: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Friday, July 19, 2013 10:08 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public I do the same thing: Variable Name=SERVICESLOGLEVEL Type

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-19 Thread Steven Ogilvie
] Sent: Friday, July 19, 2013 1:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public The bundle.wxs is the bootsrapper code file, when you compile it, it creates an exe -Original Message

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-19 Thread Freedman, Mark P.
] Sent: Friday, July 19, 2013 1:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public The bundle.wxs is the bootsrapper code file, when you compile it, it creates an exe -Original Message

Re: [WiX-users] passing command args to MSI from bundle [P]

2013-07-19 Thread Steven Ogilvie
'/ Mark Freedman -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Friday, July 19, 2013 10:08 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] passing command args to MSI from bundle [P] Classification: Public I do the same

[WiX-users] passing command args to MSI from bundle

2013-07-18 Thread Freedman, Mark P.
I'm on Wix 3.7. I have an MSI that I would like to set a registry key (perhaps via a Custom Action, as he will have to check if the key already exists). I'm understand that a Bundle in a bootstrapper project can't change the machine state (such as setting the registry). Therefore, I'm