[WiX-users] Fw: Fw: Some STUPID Limitations in WiX

2007-10-03 Thread Cristian N. Baiu
Hello Peter,

Thanks again for your answers. Melt is great for me.

However, from what I have tested so far, I got stuck with it because of a bug 
(I am using Wix 3.0.3307.0).
In the generated wxs, every "Source" attribute of the "File" element contents 
the modularization guid in double -
 like: "SourceDir\File\MyFile.ext.MSM_GUID.MSM_GUID".
I have debuged my melt version (3.0.3307.0) and found the problem in 
Decompiler::FinalizeFileTable.
When the the output type is Module I have
file.Source = String.Concat("SourceDir", Path.DirectorySeparatorChar, "File", 
Path.DirectorySeparatorChar, file.Id, '.', this.modularizationGuid.Substring(1, 
36).Replace('-', '_')); 
But the file.Id already contains the modularization GUID, so it would not be 
necessary to append it again.

I will correct the problem and build my own melt, but I would also like to have 
this problem corrected if possible in a future WIX release, so that I wouldn't 
be forced to integrate and build it everytime I need to update my WIX version.

In addition, I must say I'm disappointed that melt hardcodes "SourceDir" in the 
file source path instead of resolving it with the path provided through the -x 
switch. Due to this, it cannot be used "as it is" in an automated build 
process. I hope this would also be fixed someday.

Thanks a lot,
Cristian.-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Fw: Fw: Some STUPID Limitations in WiX

2007-10-02 Thread Cristian N. Baiu
Thanks Bob, thanks Peter for your answers.
I will not have problems with the localizations. The only problem will be 
the time to generate a patch, because my setup takes a very long time to 
build - about 30 mins for each MSI and I have over 20 MSI's (12 languages * 
2 - due to x86 and x64). Knowing that my patches (hot-fixes most of them) 
will patch only non-localizable files (practically will update versioned DLL 
files), I was hoping I could optimize the patch build process by building 
only two upgrade MSIs (one for x86 and x64) and then pass by some other 
means only the product codes for the other MSI's to pyro. I don't know if it 
would be a "best practice" but it would sure suite me. Anyway, in lack of 
alternatives, I will do all the differences.

Still, the biggest of my problems is the patching of the MSM which I was 
talking earlier. I have done some testing, trying to patch a (versioned) dll 
which is part of my MSM using pyro but had no success. The patch log wasn't 
saying anything about my file. Then I have tried to build the patch removing 
all the physical occurences of the file which I needed to patch (the MSM and 
MSI  target and upgrade versions being build at the testing time). I have 
removed the DLL from my deployment folder - from where the MSM setup 
resolves it, I have removed the MSM from the folder used by the MSI which 
includes the MSM, I have removed the upgrade MSI's cabinet from the folder 
where torch is using it's upgrade wixpdb input file. Then I have build the 
patch and had no errors. This makes me think that neither torch, candle, 
light or pyro are even trying to do something with that file. (The reason 
for all of these was my hope to find out which of them needs to resolve the 
file and then try to debug it and understand what I've done wrong).

Peter, you said in an earlier post that you could provide some workarounds 
for patching MSMs. It seems I have reached the moment when I need very bad 
to know them. Could you help me please ?

Also Bob said earlier: "It will update the shared component but it won't 
update the other product, so a repair operation can "undo" the patch. That's 
why merge modules are
falling way out of favor..." (refering to a patch for an MSM component which 
targets only one of more products containing the MSM).
These are bad news. I do not know how installer performs the repair so my 
question is : does the repair replace a newer version of the shared file 
with an older one if the file is versioned correctly ?

Thanks for your answers. I hope I was not too boring with my long story.
Cristian.

- Original Message - 
From: "Peter Marcu" <[EMAIL PROTECTED]>
To: "Peter Marcu" <[EMAIL PROTECTED]>; "Bob Arnson" 
<[EMAIL PROTECTED]>; "Cristian Baiu" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, October 02, 2007 8:24 PM
Subject: RE: [WiX-users] Fw: Some STUPID Limitations in WiX


I meant pyro when I said torch below.

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Marcu
Sent: Tuesday, October 02, 2007 10:15 AM
To: Bob Arnson; Cristian Baiu
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Fw: Some STUPID Limitations in WiX

You should be able to pass transforms generated from wixpdb's in combination 
with ones generated from admin images. You will need a transform passed to 
torch for each product you want to target because product code information 
is important and I assume each language you ship has a different product 
code.

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Tuesday, October 02, 2007 9:07 AM
To: Cristian Baiu
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Fw: Some STUPID Limitations in WiX

Cristian Baiu wrote:
> So far I don't know how to instruct pyro to address my patch to all
> MSIs unless I make differences for
> all of them and pass all these difference sets to pyro.
> Can you please advice me if it's possible to target multiple MSIs with
> only one set of differences and how ?
>

You'll need to use Torch's -ax switch to use admin images. I'm not sure
how well that works to create one patch that also targets products using
.wixpdbs.

--
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https: