[WiX-users] Localized bundle: Picking up the right files

2012-02-08 Thread Ian Williams
Using WixStdba.RtfLicense, I'm able to localize various strings with the .wxl. But I'm having difficulty customizing the theme with the .xml files, and I can't figure out how to get a different license to load for each language. WixVariable Id=WixStdbaThemeWxl Value=RtfTheme.wxl /

Re: [WiX-users] msp patch does not update one of files

2012-02-08 Thread Sergey
What is the easiest/fastest way to prepare versioned binary file, used only for patching support? I need hundreds of such files to be companion files for each of unversioned file. So it must be as small in size, as possible. In general only version from resources of this file is needed. It may

Re: [WiX-users] msp patch does not update one of files

2012-02-08 Thread David Watson
If your un-versioned files are not modified by the user (or your application) then you do not need to worry. The windows installer will overwrite older files with newer ones. See http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx for details on how it handles versioned/un-versioned

Re: [WiX-users] CustomAction not running

2012-02-08 Thread jhennessey
Disclaimer: As you probably know, it is a bad practice to register files this way during installation. The preferred way is to author the actual registry values that get written during registration. Ignoring the disclaimer, you shouldn't rely on using the value of the ADDLOCAL property. Instead,

[WiX-users] installer file specification

2012-02-08 Thread Mena Samy
Hi , i need to do the following : 1- The installer file needs to be signed with an authenticode signature from a valid third party Certificate Authority such as Verisign. 2- If installer is .EXE it needs to have an embedded manifest with the security context properly included. 3- If installer

Re: [WiX-users] CustomAction not running

2012-02-08 Thread Dodd, Gregory (Atlanta)
I am new to WIX, so I didn't know this was bad practice. How do you author the actual registry values? Thanks, Greg Greg Dodd Towers Watson - Developer 3500 Lenox Road Atlanta, GA. 30326 404-365-1692 404-365-1660 gregory.d...@towerswatson.com -Original Message- From: jhennessey

Re: [WiX-users] CustomAction not running

2012-02-08 Thread jhennessey
Well, for DLLs it is pretty easy because you can use heat.exe to generate the authoring for you. However, it doesn't handle EXEs. See this thread for more details: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Heat-and-COM-executable-registry-extraction-td1308713.html

Re: [WiX-users] CustomAction not running

2012-02-08 Thread Dodd, Gregory (Atlanta)
Thanks. I don't think that helps me much since I am dealing with an EXE. Guess I will try doing it the bad way and hope that works. Thanks, Greg Greg Dodd Towers Watson - Developer 3500 Lenox Road Atlanta, GA. 30326 404-365-1692 404-365-1660 gregory.d...@towerswatson.com -Original

Re: [WiX-users] CustomAction not running

2012-02-08 Thread Dodd, Gregory (Atlanta)
Also, are there set values for the After and Before attributes in the Custom element? Thanks, Greg Greg Dodd Towers Watson - Developer 3500 Lenox Road Atlanta, GA. 30326 404-365-1692 404-365-1660 gregory.d...@towerswatson.com -Original Message- From: jhennessey

Re: [WiX-users] Optionally keep a file on MajorUpgrade

2012-02-08 Thread nagesh vanam
unsubscribe 2012/2/8 Alexander Krivács Schrøder alexander.schro...@mermaid.no I have an installer that installs a configuration file, like so: Feature Id=AppName.Feature Title=Application Name Level=1 Feature Id=AppConfig.Feature Level=1 Display=hidden Component Id=AppConfig.Component

Re: [WiX-users] Optionally keep a file on MajorUpgrade

2012-02-08 Thread Wilson, Phil
Where is your RemoveExistingProducts sequenced? If it was towards the end, the upgrade would behave more like an update and replace only files with higher versions and not replace altered data files (when they have the same component guid). BTW Permanent really means permanent. It's a setting

[WiX-users] Configuring service being installed fails during silent upgrade (but passes when UI is enabled)

2012-02-08 Thread Sameer Arora
Hi, I have a WiX 3.5 project that installs and starts a windows service and thereafter executes a custom action to configure the service using command line utility sc.exe that ships with the OS. This MSI can be used both for fresh install or major upgrade. It uses custom dialogs to capture user

Re: [WiX-users] Optionally keep a file on MajorUpgrade

2012-02-08 Thread Sameer Arora
I had a similar requirement, but not exactly. In my case - config file was getting generated instead of being installed (it's more like data file rather than config file) - we needed to keep the file mandatorily during an upgrade/repair, but remove it on uninstall. Since it was a generated file,

[WiX-users] Upgrade table issue

2012-02-08 Thread Mena Samy
i wrote this code but my installer file recognize that there exists another version installed and give me error that I have to uninstall first while i need installer to do that automatically remove or upgrade !-- upgrade table -- Property Id=PREVIOUSVERSIONSINSTALLED Secure=yes / Upgrade

[WiX-users] Using IF condition based on a Property's Value

2012-02-08 Thread Hari kris
Hi, We have the following scenario: During installation we are checking for a particular Software and if it is present we need to do some action. Can this be achieved by using IF condition ? Is it possible to use a property in an IF condition? ?if $(var.test) = 1 ?Property Id=testp

[WiX-users] exit code for msu packages

2012-02-08 Thread Grant Samuels
Hi All I am currently attempting to bootstrap windows installer 4.5 using burn on multiple platforms (windows xp and vista). The windows installer 4.5 redistributable is an .exe file for windows xp, but a .msu file for vista. I noticed support has recently been added for the ExePackage/ExitCode

Re: [WiX-users] Included reference pulls in WixUI_Advanced

2012-02-08 Thread Bob Arnson
On 06-Feb-12 17:08, Derrick Brown wrote: [Show Dialog=InstallDirDlg After=WelcomeDlg]UPGRADING_OLDER_PRODUCT AND NOT INSTALL_LOCATION_FOUND[/Show] You can't use Show for that; once the first modal dialog is shown, you have to publish control events to manage the back/next flow. --

Re: [WiX-users] BootstrapperApplication.DetectMsiFeature not fired

2012-02-08 Thread Bob Arnson
On 06-Feb-12 06:44, Alexander Krivács Schrøder wrote: I'm using the WiX v3.6 Beta (v3.6.2221.0) here. This functionality has worked before, but now, the DetectMsiFeature event does not fire at all upon calling Engine.Detect(). Did you set MsiPackage/@EnableFeatureSelection? -- sig://boB

Re: [WiX-users] exit code for msu packages

2012-02-08 Thread Bob Arnson
On 08-Feb-12 22:47, Grant Samuels wrote: I noticed support has recently been added for the ExePackage/ExitCode in order to provide some control in a reboot scenario, there is currently no option for MsuPackage/ExitCode. Because MSUs return standard exit codes:

Re: [WiX-users] Using burn to install the same package in two different locations

2012-02-08 Thread Bob Arnson
On 07-Feb-12 10:29, Christian List wrote: My first burn installer installs: msi package A to location 1 msi package B to location 1 My second burn installer installs: msi package A to location 2 That won't work: The product is already installed so Burn won't install it again. -- sig://boB

[WiX-users] handling reboots from managed BA application

2012-02-08 Thread Grant Samuels
Hi All I am attempting to force a reboot after installing windows installer 4.5 on windows xp. The reboot is setup in the bundle.wxs file like the following: ExePackage Id=Windows_Installer_XP Cache=no Compressed=no PerMachine=yes Permanent=yes

[WiX-users] Installing software on cluster computers

2012-02-08 Thread Uma Harano
Hi, I have been tasked to research how to create installation programs for clusters of computers. Does anyone have any insights into this? Can MSI technology be used for installing to clusters? Is there any documentation for this? Thanks! Uma Harano