[WiX-users] WIX MSI Issue

2011-01-18 Thread Arun Kumar
Hi, I have an issue in building WIX MSI. The scenario is explained below. I have created an WIX MSI that has huge number of components and building this MSI takes lot of time. Now in order to make small change in any binary I do not want to re-build the whole MSI. Again I can create MSPs to tak

Re: [WiX-users] Change/Repair requires the msi with exactly the same name as it is when installed?

2011-01-18 Thread Rob Mensching
No, this is a silliness in the Windows Installer. If you signed your MSI, they modify the cached MSI (in the "Installer" directory) to add some information to it... invalidating the signature. Windows Installer "fixed" this in MSI5.0 by caching the entire MSI. That's why you'll start to see me sug

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-18 Thread Blair
Do we need to add another "entry" for XmlConfig that is set @PatchUninstall="yes"? Except that only works for MSI 4.5 and above, and we have the problem of archiving/obtaining the data that is being removed (the only link we have is the patch's GUID in the MSIPATCHREMOVE property). Oh, Great and Wo

Re: [WiX-users] Can a wixlib know the referring projects Package Platform?

2011-01-18 Thread Blair
The closest thing we have today is $(sys.PLATFORM) (which the documentation says comes from the Package\@Platform attribute but IIRC actually comes from Candle's "-arch" command-line switch). That doesn't help you with the WixLib which may have been compiled using a separate invocation of Candle, h

Re: [WiX-users] How to continue on close of modal popup?

2011-01-18 Thread Blair
In the set of actions that SpawnDialog is a part of, continue with further actions that either end there or move onto the next dialog (based on the value of the property you set in the warning dialog). -Original Message- From: Matt Johnson [mailto:ma...@timeamerica.com] Sent: Monday, Janu

Re: [WiX-users] Patch Creation Issues

2011-01-18 Thread Blair
As I understand it, it uses the fragmentation of the updated installer (and ignores the fragmentation of the original), but Peter is a much better authority than I on that. -Blair -Original Message- From: Aaron DeMarre [mailto:adema...@gmail.com] Sent: Monday, January 17, 2011 10:12 AM T

[WiX-users] How to divide big datas from my app

2011-01-18 Thread KATO Kanryu
Hi, My app has big data(about 3GB), not so changed. And other programs(about 10MB), many changed. So I want to divide data and programs, is it possible? And hopefully, only file copy is needed to merge to main msi without building. Comments? Kanryu

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Castro, Edwin G. (Hillsboro)
Here is a XSLT that should add the Shortcut element: http://www.w3.org/1999/XSL/Transform"; xmlns:wix="http://schemas.microsoft.com/wix/2006/wi";> http://schemas.microsoft.com/wix/2006/wi";> startmenuImport Test Import App

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Castro, Edwin G. (Hillsboro)
You are matching the entire document and processing only a subset of the data. The result of that match will replace the entire document with your processing results. The reason the processing results are NULL is that you are not properly addressing nodes using the necessary namespaces. You sho

Re: [WiX-users] Change/Repair requires the msi with exactly the same name as it is when installed?

2011-01-18 Thread Elfe Xu
Thanks for the reply. What I want to do, is not updates/upgrades. It’s just change the installation: I have FeatureA and FeatureB, previously I’ve installed FeatureA, and now I want to add FeatureB. I notice one thing strange: when I try to uninstall my foo application, by click the Uninstall but

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Wilson, Brian
I was looking at this option, but I am not sure what is going on. I created the following XSL file: http://www.w3.org/1999/XSL/Transform"; xmlns:wix="http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Wilson, Brian
Thank you. I will look at this and I will use the link in the future to do searches for questions I have.   Thank you,   Brian Wilson Programmer Analyst, Associate Department of Human Resources - Administrative Services Phone #: 334-353-5025 Email: brian.wil...@dhr.alabama.gov -Original

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Castro, Edwin G. (Hillsboro)
You'll need to properly specify and use XML namespaces. See http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg42889.html Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environmen

Re: [WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Maillet, Ed
Have you tried doing it with an xslt instead? See the "-t" option. -Original Message- From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Tuesday, January 18, 2011 3:29 PM To: 'WiX-users@lists.sourceforge.net' Subject: [WiX-users] Modify Heat Generated Fragment with C# Hello

[WiX-users] First build gives ICE errors; subsequent builds don't

2011-01-18 Thread Brownfield, Cory
Setup: Windows 7 64-bit (fully patched) Visual Studio 2010 Ultimate WiX 3.5 build 2430 (latest weekly) I've recently noticed a problem with all my WiX projects. Trying to build after a change or after a clean, I get a set of ICE errors. So rebuilding always gives me these errors and follow

[WiX-users] Modify Heat Generated Fragment with C#

2011-01-18 Thread Wilson, Brian
Hello, I have a Heat generated WXS file that I am trying to modify, so I can add the shortcut node to the file node for my application. I am trying to use a C# program to do this for me. I am using the following code: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(@"C:\Wix Files\wix_impo

Re: [WiX-users] Update InstallExecuteSequence Condition Programmatically using DTF

2011-01-18 Thread Castro, Edwin G. (Hillsboro)
I have a few MSI packages that do not uninstall because a couple of custom actions at failing at uninstall. I don't want those custom actions to execute so we can "uninstall" these packages. Although, now that I think about this a little bit more... the reason the custom action fails is that t

Re: [WiX-users] Wix upgrade process does not consider 4th part of the version string

2011-01-18 Thread Wilson, Phil
Those scenarios you mention are not major upgrades, they are patches. If you want a major upgrade then obey the three version digits rule; if you want to update or patch an existing version that's fine, but it can't be an upgrade based on RemoveExistingProducts. Phil Wilson 949-639-1680 ---

Re: [WiX-users] compression

2011-01-18 Thread Tobias S
If you really need best compression don't pack the files with WiX in a cab but leave them separate (Compressed="no") and afterwards use 7zip ( http://www.7-zip.org/download.html -> 7z Library, SFXs for installers, Plugin for FAR Manager) and compress them with a sfx header as self extracting exe. T

Re: [WiX-users] Japanese Windows 7 conundrum

2011-01-18 Thread Kurt Jensen
Never mind. Apparently there was a previous installation that was messing things up. Install on a clean OS works fine. -Original Message- From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] Sent: Monday, January 17, 2011 1:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-u

Re: [WiX-users] Change/Repair requires the msi with exactly the same name as it is when installed?

2011-01-18 Thread Rob Mensching
1. Windows Installer probably automatically elevates for you since the program was already installed it is "trusted". I think. 2. I think this holds true: http://blogs.msdn.com/b/robmen/archive/2004/12/08/278746.aspx On Mon, Jan 17, 2011 at 11:48 PM, Elfe Xu wrote: > Hi all, > > I have a foo.ms

Re: [WiX-users] compression

2011-01-18 Thread Pally Sandher
WiX sources are widely available, knock yourself out. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No.

Re: [WiX-users] compression

2011-01-18 Thread Alec Taylor
Aye, LZMA is much better [see my thread on MakeMSI's use of UPX for more info] But nothing stops utilisation of a test mode to overwrite all compression within the files with each supported algorithm in order, and checking the outputted MSI against eachother; then give the user the result =] On W

Re: [WiX-users] Where are my project variables?

2011-01-18 Thread Peter Shirtcliffe
$ should come before the opening parenthesis: $(var.MessagesProject.TargetPath) -Original Message- From: Rune Moberg [mailto:jjfl...@gmail.com] Sent: 18 January 2011 14:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Where are my project variables? Looking at the output wind

Re: [WiX-users] Where are my project variables?

2011-01-18 Thread Rune Moberg
My bad, $(var works a lot better than ($var... Kindly disregard previous message. Thx. -- Rune -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understan

[WiX-users] Where are my project variables?

2011-01-18 Thread Rune Moberg
Looking at the output window, I see this: candle.exe (...) -dMessagesProject.TargetPath=C:\src\Flamingo\Main\bin\Messages.exe which (admittedly after reading the help) lead me to believe that the following might work: But light.exe fails with: "C:\src\Flamingo\Main\src\setup\MessagesMSI\Produc

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript - Emailfound in subject - Email found in subject - Email found in subject

2011-01-18 Thread Christopher Painter
Perhaps SourceForge is swallowing my messages again but here are links and notes I sent you yesterday.     - Original Message From: Christopher Painter To: General discussion for Windows Installer XML toolset. Sent: Mon, January 17, 2011 11:00:52 AM Subject: Re: [WiX-users] Custom Ac

Re: [WiX-users] Custom Actions - C++ vs C# vs VBScript

2011-01-18 Thread Shaun Hayward
Thanks, Rob - that's exactly what I was after. In all my Googling, I was looking for a way to retrieve the version number and then do my own comparison (with no luck). This is a slightly different way but acheives my exact aim. Many thanks - Shaun From:

Re: [WiX-users] compression

2011-01-18 Thread Pally Sandher
Because the Cabinet file format doesn't track compression by each individual file. The cabinet file itself has a compression level set & all files compiled into the cabinet file are compressed using that compression. The Cabinet file format is outlined in the Windows SDK documentation. It would

Re: [WiX-users] compression

2011-01-18 Thread Alec Taylor
Why isn't there a "best" setting? Like with NSIS; one which tries each one and gives you the best compression =] On Mon, Jan 17, 2011 at 9:31 PM, Pally Sandher wrote: > Try  CompressionLevel="high" as it's better than "mszip" in my > experience. > > Also your MSI itself will be a significant par