-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
-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
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
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
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
.
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
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
]
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
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
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
-
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
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
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
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
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
: 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
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
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
-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
]
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
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
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]
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
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
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
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,
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
: 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
]
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
]
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
'/
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
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
32 matches
Mail list logo