There is no tallow for wix 3.0 - its been replaced by heat.  Heat should allow you to create authoring for lots of simple projects pretty effortlessly (I hope).
 
I totally agree with your sentiments on 3.0 stability.  There's been a few really nasty regressions in the weekly builds recently, but since the major dev work on the core is mostly complete now, hopefully we can just fix bugs for a month or so and then start asking people to switch to 3.0 for limited scenarios to get more test passes and more bugs.  The current plan for 3.0 is to get the core tools stable as quickly as possible, but keep the extensions in active development for a while (note: the 2.0 server and IIS extensions are still considered to be under active development, so this isn't really that big a change from 2 to 3).
 
Derek


From: John Ludlow [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 1:46 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Fwd: Unique Short Names?

Good to know.  However, I think we're waiting till it's at release stage and considered stable.  I don't know when that's likely to happen, so for the time being we're with WiX 2.0.  I'm hearing good things about 3.0 though - like the fact that tallow will generate fragments that can be plugged straight into a WiX project without too much work.
 
Thanks
 
On 6/8/06, Derek Cicerone <[EMAIL PROTECTED]> wrote:
Better yet - just use wix 3.0 because it handles the short file names for you automatically :)


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of John Ludlow
Sent: Tuesday, June 06, 2006 2:52 AM
Subject: [WiX-users] Fwd: Unique Short Names?

 


I have a Ruby script that chops up the filenames to be shorter than 8.3.  It's not perfect, but it may help (obviously you need Ruby to run it, but it could probably be ported to .vbs or C# or something).
 
Anyway, here it is:

# Loops through a WiX project (change the wixfilename variable to specify the filename) to
# * slice the Name attribute if it's too long (non-8.3 compliant)
# * append _x (where x is a number) before the dot in the Name attribute
# * set the LongName parameter to the old value of Name if it fixes the Name parameter as above
# * set the

require 'rexml/document'

include REXML

wixfilename = "test.wxs"

xf = File.open(wixfilename, 'r')
xd = Document.new xf.read
xf.close

#slice everything to 8.3 lengths.  For example, myapplication.config will get sliced to myapplic.config

XPath.each xd, "//Wix:File", {'Wix', 'http://schemas.microsoft.com/wix/2003/01/wi' } do |f|

 file_name = f.attributes['Name'].split('.')[0]
 file_ext = f.attributes['Name'].split('.')[1]


 if file_name.length > 8 or file_ext.length > 3
  short_file_name = f.attributes['Name'].split('.')[0].slice(0..7)
  short_file_ext = f.attributes['Name'].split('.')[1].slice(0..2)

  f.attributes['LongName'] = f.attributes['Name']
  count = 0
  
  f.attributes['Name'] = short_file_name + '.' + short_file_ext
 end

 if f.attributes['LongName'] != nil
  f.attributes['Id'] = f.attributes['LongName']
 else
  f.attributes['Id'] = f.attributes['Name']
 end
end

#look for duplicates.  If it finds any, it will further slice it to 6.3 and append _x, where x is a number.

XPath.each xd, "//Wix:File", {'Wix', 'http://schemas.microsoft.com/wix/2003/01/wi' } do |f|
 name = f.attributes['Name']
 matches = XPath.match xd, "//Wix:[EMAIL PROTECTED] = '#{name}']", {'Wix', ' http://schemas.microsoft.com/wix/2003/01/wi'}
 
 if matches.length > 1
  count = 0
  matches.each do |m|
   short_file_name = f.attributes['Name'].split('.')[0].slice(0..5)
   short_file_ext = f.attributes ['Name'].split('.')[1].slice(0..2)

   count = count + 1
   m.attributes['Name'] = "#{short_file_name}_#{count}.#{short_file_ext}"
  end
 end
end

xf = File.open(wixfilename, 'w')
xd.write xf
xf.close

Hopefully that will help
 
John

 
On 6/6/06, Derek Cicerone < [EMAIL PROTECTED] > wrote:
Please be sure to run MSI validation on your msi files before shipping them to customers.  I think you'll find that using the same short files will generate lots and lots of errors.  You'll likely also discover many other issues.  light in WiX 3.0 automatically runs validation, but in 2.0 you'll need to use an outside tool such as Orca, smoke (from the 3.0 wix toolset) or msival2.
 
Derek


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Rob Mensching
Sent: Monday, June 05, 2006 9:40 PM
To: Simon Burgess; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Unique Short Names?

 

Possibly.  If your install ever ends up on a short name system (and you don't have complete control over that) then you're going to be seriously hosed.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Simon Burgess
Sent: Monday, June 05, 2006 1:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Unique Short Names?

 

I am using the latest wix v2.

 

Does anyone know if the 'Name' attribute on the <File> element needs to be unique? All of the file's I install I use the appropriate 'Longname' value, but as I 'm having trouble auto-generating short names I have used the same value for the 'Name' attribute for every file and it seems to work fine. Is this likely to cause me problems down the line?




_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



 

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to