[WiX-users] WiX Burn - managing installed products after initial install

2014-06-19 Thread Alasdair King
This might also be titled How do I launch the modification of a Burn
install from the command line without the Burn executable? or What's the
Burn equivalent of 'msiexec /X ProductCode'?

I have a program, A, which ships with two optional programs B and C. All
have functioning MSI installers. I use Burn to manage the installation of
A, B and C.

On first install, the user is asked if they want to install B and C. All
works fine.

But subsequently, the user should be able to install or uninstall B and C.
The user can of course do this from Programs and Features, using Modify.
This relaunches my Burn executable.

However, I want the user to be able to trigger this functionality from
within Program A - that is, I don't want the user to have to launch
Programs and Features, find the bundle, and click Modify. I want to have a
button in Program A that will do it, launching Burn.

But how? If it was a single MSI, I could shell msiexec /I {ProductCode}.
I know the ProductCode because that's a property of the MSI. So I can save
and use it as required.

But a Burn bundle doesn't have a ProduceCode. It has RelatedBundle, but
there's no msiexec argument for that.

If I check for the bundle in the registry, I find the information I need in
an entry in
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall, which
is perfect. There's the line I need to launch Modify, it calls the cached
bundle executable in ProgramData\Package Cache. But how do I get that
line?

How do I launch the Burn package manager for my package from within a
program of my package?

-- 
Alasdair King
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Combo Box (Wix)Customization

2014-06-19 Thread Namrata Kumari
Could you plz share your code how you have populated data from C# Custom
action in combobox in Dialogs



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Combo-Box-Wix-Customization-tp687975p7595349.html
Sent from the wix-users mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Silent Install of Bootstrapper

2014-06-19 Thread Brian Enderle
Is it possible to do a silent install of a bootstrapper (.exe file).  If so
can you provide an example?

Brian

If you can't explain it simply, you don't understand it well enough.  -
Albert Einstein
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Install of Bootstrapper

2014-06-19 Thread John Cooper
From one my products (names changed and sensitive data obscured):

ECHO Quiet Deployment of Product
Product64.14.0.exe /quiet AccountName=w...@where.com 
AccountPassword=real-password-goes-here 
InstallFolder=%ProgramFiles%\JackHenry ProductSqlConnectionString=Data 
Source=%COMPUTERNAME%\ProductInstance;Initial Catalog=ProductDb;Integrated 
Security=True WebsiteName=Default Web Site

Note that I have overridable Burn variables to make this possible.  The 
important switch is /quiet.

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: Brian Enderle [mailto:bria...@gmail.com] 
Sent: Thursday, June 19, 2014 9:05 AM
To: WiX Users
Subject: [WiX-users] Silent Install of Bootstrapper

Is it possible to do a silent install of a bootstrapper (.exe file).  If so can 
you provide an example?

Brian

If you can't explain it simply, you don't understand it well enough.  - Albert 
Einstein
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems ___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Install of Bootstrapper

2014-06-19 Thread Phill Hogland
See this post:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-Burn-driven-installer-in-quiet-mode-command-line-parameters-td5913001.html



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Silent-Install-of-Bootstrapper-tp7595350p7595353.html
Sent from the wix-users mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Install of Bootstrapper

2014-06-19 Thread Kapil Shardha
Try using /quiet switch for silent install of bootstrapper file.

-Kapil



-Original Message-
From: Brian Enderle [mailto:bria...@gmail.com] 
Sent: Thursday, June 19, 2014 10:05 AM
To: WiX Users
Subject: [WiX-users] Silent Install of Bootstrapper

Is it possible to do a silent install of a bootstrapper (.exe file).  If so can 
you provide an example?

Brian

If you can't explain it simply, you don't understand it well enough.  - Albert 
Einstein
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems ___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn - managing installed products after initial install

2014-06-19 Thread Rob Mensching
Not implemented yet. There are discussions how best to implement this feature 
in a supportable way.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Alasdair King [mailto:alasdairk...@gmail.com] 
Sent: Thursday, June 19, 2014 2:07 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] WiX Burn - managing installed products after initial 
install

This might also be titled How do I launch the modification of a Burn install 
from the command line without the Burn executable? or What's the Burn 
equivalent of 'msiexec /X ProductCode'?

I have a program, A, which ships with two optional programs B and C. All have 
functioning MSI installers. I use Burn to manage the installation of A, B and C.

On first install, the user is asked if they want to install B and C. All works 
fine.

But subsequently, the user should be able to install or uninstall B and C.
The user can of course do this from Programs and Features, using Modify.
This relaunches my Burn executable.

However, I want the user to be able to trigger this functionality from within 
Program A - that is, I don't want the user to have to launch Programs and 
Features, find the bundle, and click Modify. I want to have a button in Program 
A that will do it, launching Burn.

But how? If it was a single MSI, I could shell msiexec /I {ProductCode}.
I know the ProductCode because that's a property of the MSI. So I can save and 
use it as required.

But a Burn bundle doesn't have a ProduceCode. It has RelatedBundle, but there's 
no msiexec argument for that.

If I check for the bundle in the registry, I find the information I need in an 
entry in HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall, 
which is perfect. There's the line I need to launch Modify, it calls the cached 
bundle executable in ProgramData\Package Cache. But how do I get that line?

How do I launch the Burn package manager for my package from within a program 
of my package?

--
Alasdair King
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems ___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn - managing installed products after initial install

2014-06-19 Thread Phill Hogland
One approach, which may not be sanctioned and may have risks, is to add code
to your mba, which imports the data from the
BootstrapperApplicationData.xml.  There are examples of a class here which
you may need to modify for a specific purpose.

http://stackoverflow.com/questions/12846421/getting-display-name-from-packageid
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-access-BootstrapperApplicationdata-xml-from-wix-extension-td7592877.html

My observation is that the BootstrapperApplicationData has a BundleId (which
changes with each build).  This value is used as the name of the registry
key in the 32 bit ARP Uninstall key to register the bundle with ARP.  You
can install your bundle, then launch it again and compare the
BootstrapperApplicationData.xml in the cache subfolder of %temp% with the
registry key where the bundle is registered with ARP.

One approach might be in the mba to get the BundleId and pass it to a MSI in
the bundle chain as a MsiProperty, which then writes the information to a
location known by Program A.  Program A could then look up the BundleId to
locate the ARP registry entry for the bundle, and learn the modify path and
command.  There may be issues with this approach when using web downloads or
when some future implementation of the wix tools are released since it is
based on current implementation details which may change.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Burn-managing-installed-products-after-initial-install-tp7595346p7595368.html
Sent from the wix-users mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom action to modify a text file during installation with install path

2014-06-19 Thread Priya Thadanki
Hi All,

 

I am looking for help in creating a custom action to modify a text file
during installation and put the install path in it. If anyone worked
previously on this please let me know.

 

Thanks,

PT

 

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Bootstrapper will launch in Win 8 but not Win 7

2014-06-19 Thread Devin Morrow
First off, sorry for all the questions!

I was able to figure out all my localization issues. I'm ready to deliver
the project except I can't get the bootstrapper to launch on Win  machines.
The only Win 7 machine it will run on is mine. Every other Win 7 machine in
the office gives me this error in the log:

[0CE8:0CEC][2014-06-19T17:40:22]i000: Loading managed bootstrapper
application.
[0CE8:0CEC][2014-06-19T17:40:22]e000: Error 0x8013141a: Failed to create the
managed bootstrapper application.
[0CE8:0CEC][2014-06-19T17:40:22]e000: Error 0x8013141a: Failed to create UX.
[0CE8:0CEC][2014-06-19T17:40:22]e000: Error 0x8013141a: Failed to load UX.
[0CE8:0CEC][2014-06-19T17:40:22]e000: Error 0x8013141a: Failed while running 
[0CE8:0CEC][2014-06-19T17:40:22]i410: Variable: DisplayVersion = 1.0.0.0
[0CE8:0CEC][2014-06-19T17:40:22]i410: Variable: WixBundleAction = 4

I assumed it was a .net issue but I have the exact same .net versions
installed on my machine as the other Win 7 comps. My MBA is a WPF app
targeted at .net 4.0. All the machines in my office are set up with 4.5 or
higher. If I remove .net from a machine and use the wix bundle to install
4.0, it installs fine but gives me the same error as above. Here is my
bundle code.

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
  xmlns:bal=http://schemas.microsoft.com/wix/BalExtension;
  xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;
  ?define BundleVersion=1.0.0.0 ?
  
 
  Bundle Name=Client Package Version=$(var.BundleVersion)
Manufacturer=Mi UpgradeCode=01C56548-DD67-425F-BA0C-875705F36327
IconSourceFile=$(var.ICONNAME)
  BootstrapperApplicationRef Id=ManagedBootstrapperApplicationHost 
  Payload
SourceFile=$(var.SolutionDir)Client_Wizard\BootstrapperCore.config/
  Payload
SourceFile='!(wix.PreqbaThemeXml=SourceDir\Resources\mbapreq.thm)'
Compressed='yes' Name='mbapreq.thm'/
  Payload
SourceFile='!(wix.PreqbaThemeWxl=SourceDir\Resources\mbapreq.wxl)'
Compressed='yes' Name='mbapreq.wxl'/
Chain
  PackageGroupRef Id='Netfx4Full' /
  MsiPackage  SourceFile=$(var.TargetDir)ClientInstall.msi
Id=Client  Cache=no Visible=no ForcePerMachine=yes
MsiProperty Name=INSTALLDIR Value=[InstallFolder]/
  /MsiPackage   
/Chain
  /Bundle
 
  Fragment
Variable Name=InstallationPath bal:Overridable=yes /
WixVariable Id=PreqbaThemeXml Value=Resources\mbapreq.thm /
WixVariable Id=PreqbaThemeWxl Value=Resources\mbapreq.wxl /
WixVariable Id=WixMbaPrereqPackageId Value=Netfx4Full /
WixVariable Id=WixMbaPrereqLicenseUrl Value=NetfxLicense.rtf /
Variable Name=DisplayVersion Value=$(var.BundleVersion) /

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 /
util:RegistrySearch Root=HKCU  Key=SOFTWARE\Microsoft\PFE\Client
Value=Client Variable=ClientExists /

PackageGroup Id=Netfx4Full
  ExePackage Id=Netfx4Full Cache=no PerMachine=yes
Permanent=yes Vital=yes Compressed=no
  Name=..\..\DotNetInstallers\dotNetFx40_Full_x86_x64.exe
 
DownloadUrl=http://go.microsoft.com/fwlink/?LinkID=402630;
  DetectCondition=Netfx4FullVersion OR
Netfx4x64FullVersion
  /ExePackage
/PackageGroup


There has to be some kind of .net conflict here. 

Also, where is the best place to report bugs? I found a few issues with
copying files and MBA preq installer localization.

Any help you can offer is much appreciated!




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-will-launch-in-Win-8-but-not-Win-7-tp7595374.html
Sent from the wix-users mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users