Jump to content











Photo

Target file names


  • Please log in to reply
2 replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 23 June 2008 - 10:20 AM

Sometimes an app which you are delivering to the PE, is case sensitive when opening certain needed files.
An actual sample is the '34kb ISO' issue where mkisofs.exe adds the boot sector and does not find it at any UC / LC mismatch.

Because you never know how the file is written on the source CD (maybe it is different at a different user), and you also never know how the UC / LC is changed during the build process, with this small script insert you can make sure that the file is named as you want.
  • Put your candidate into a variable, e.g
    Set,%myvar%,%target_sys%\lower_UPPER.tst
  • Insert a simple rename

    FileRename,%myvar%,%myvar%

This lets the candidate in the final target appear exactly as you have written in the Set definition.

Peter

#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10554 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 23 June 2008 - 11:48 AM

Good solution.

Also worth mentioning for other readers that this was related to a bug discovered on some Vista DVD sources because of the upper/lower case differences that affected the output of mkisofs.

http://www.boot-land...?...ost&p=38182

:)

#3 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 23 June 2008 - 11:53 AM

Good solution.

Also worth mentioning for other readers that this was related to a bug discovered on some Vista DVD sources because of the upper/lower case differences that affected the output of mkisofs.

http://www.boot-land...?...ost&p=38182

:)


Look at the second line of my post :)
The above link has been the reason for me to write this topic. :)

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users