Indigo Rose Software
  #1  
Old 07-06-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
File Names & Capitalization

I have a file named graphic.bmp and another file named GRAPHIC.bmp. They both show up as differant components. When run from the MSI, they both keep their differant names, yet the last .bmp added to the build is placed in both folders.

C:\My Program\graphic.bmp --
-- both of these end up as the same file
C:\My Program\Utils\GRAPHIC.bmp --

I have resolved the issue by doing a bunch of renaming and changing them back, but this is a chore I am hoping not to have to do.
Reply With Quote
  #2  
Old 07-06-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Hmmm...you shouldn't have to do any renaming.

What is the destination folder for the two files?

Would you be able to send me the .wxs file that was generated?
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 07-09-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
Example

45ELBOW.BMP is 2KB in size.
45 Elbow.bmp is 384 KB in size.

They are coming and going to two differant folders.
Attached Files
File Type: zip setup.zip (2.3 KB, 3 views)
Reply With Quote
  #4  
Old 08-21-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
I am back to this problem and just checking to see if anything has been figured out.
Reply With Quote
  #5  
Old 08-21-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Thanks for the reminder, actually...somehow I missed your response.

Code:
<Fragment>
<DirectoryRef Id="FolderBMP">
<Component Id="File45ELBOW.BMP" Guid="24B4C3F4-C137-4BAE-8A32-8C11436DA2B2">
<File Id="File45ELBOW.BMP" Name="45ELBOW.BMP" DiskId="1" KeyPath="yes" Source="C:\Sample\BMP\45ELBOW.BMP"/>
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="Digi">
<Component Id="File45Elbow.bmp" Guid="0EA14A7B-73FA-4979-92F7-832527F2A8DC">
<File Id="File45Elbow.bmp" Name="45 Elbow.bmp" DiskId="1" KeyPath="yes" Source="C:\Sample\Digi\45 Elbow.bmp"/>
</Component>
</DirectoryRef>
</Fragment>
The two files are getting file IDs that differ by case only: File45ELBOW.BMP and File45Elbow.bmp. It could be that WiX is having a problem with that.

What are the file IDs set to in the resulting .msi file when you open it with Orca?
__________________
--[[ Indigo Rose Software Developer ]]

Last edited by Lorne; 08-21-2007 at 02:34 PM.
Reply With Quote
  #6  
Old 08-21-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
I hope this is what you are looking for. I found ORCA online and opened the MSI. Just one thing to say, WOW.

File File Name Component

File45Elbow.bmp File45Elbow.bmp y7cwid3t.bmp|45 Elbow.bmp
File45ELBOW.BMP File45ELBOW.BMP 45ELBOW.BMP
Reply With Quote
  #7  
Old 08-21-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Okay, I'm able to duplicate it here, and it's really odd...the case of the IDs is preserved in the .msi file, everything looks good in Orca, it just doesn't work right when you install it.

Possible Workaround:
I was able to make it work by putting the files into separate cabinet files.
  1. Choose Project > Media.
  2. Click Add to add a new media source.
  3. Enter a unique media ID (e.g. "2").
  4. Enter something appropriate in the Disk name field, e.g. "Disk 2" or "workaround.cab" or something.
  5. Change the cabinet filename to a unique name, e.g. "workaround.cab" or "other.cab" or "setup2.cab" or something.
  6. Click OK.
  7. Double-click on one of the files in question, and set its media source to the media ID you used. We want each file to use a different media ID.
  8. Build the setup.msi again and test it.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #8  
Old 08-21-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
Thank you, it worked great.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to share custom buttons with the group? mwreyf1 AutoPlay Media Studio 6.0 10 09-03-2009 05:01 AM
http://yourfilelink.com - 50MB max upload, free! Intrigued General Chat 14 09-26-2006 09:44 AM
Error 3038: Could not seek in compressed file Rikard Setup Factory 7.0 Discussion 2 05-25-2006 12:55 PM
Can search allow manual browse even if file is found? RichardShaw Setup Factory 5.0 2 08-28-2000 07:08 PM
Install only into one of several directories with specific existing file? RichardShaw Setup Factory 5.0 0 08-17-2000 03:29 PM


All times are GMT -6. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software