I'm wondering what the situation is that makes you ask this question 
(seriously).   In my installs, my .NET assemblies have really long names and 
they wouldn't work if the names changed.  I let WiX automatically hash the 
shortname with something seriously meaningless just to make MSI happy and I 
never concern myself with it.  The only time I've been bit by long | short 
names is in the media table which only understands shortnames.  InstallShield 
has a bug where you can get bit real bad when installing from a CDROM.
 
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: "Socky, David R (GE Energy)" <david.so...@ge.com>
To: wix-users@lists.sourceforge.net
Sent: Fri, November 5, 2010 7:32:25 AM
Subject: [WiX-users] - File short names

I am trying to define the short name of a file, but the installer
ignores my entry and creates its own automatic short name.  For
instance, I'm using the following in the file table:
gehnum01.pdf|GEH-6421_Vol_I.pdf but when installed, the short name turns
out to be GEH-64~1.pdf



My code looks like:



            <Component Id="GEH_6421_Vol_I.pdf"
Guid="{A12AF620-A279-4445-A461-6CF5867A7B9E}" >

              <File Id="GEH_6421_Vol_I.pdf" Name="GEH-6421_Vol_I.pdf"
ShortName=" gehnum01.pdf" Source=".\RuntimeFiles\Doc\GEH-6421_Vol_I.pdf"
KeyPath='yes' Checksum="no" >

                <Shortcut Id="startmenuMarkVIDocsSysManVol1"
Directory='ProgramMenuMarkVIDocuments' Name='System Manual Vol 1'
WorkingDirectory='Doc' />

              </File>

            </Component>



Once built, the .msm in Orca looks ok in the file table.



What do I need to do to get the short name to be what I want it to.



Thanks,

Dave

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to