Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DateTime stamp of orginal files and Makecab

Featured Replies

Hi All,

All the new files added via HF folder and HFEXPERT subfolders and files inside driver.cab ultimately got stamped with current date and time. Is there any way to retain original date and time of files.

Is it a makecab issue or am I missing something here?

Test Installation of both WinXP sp2 and Win2000 sp4 went through fine except for Date stamp.

Work environment:

OS=WinXP sp2 Pro

HFSVER=70325

Thanks,

Anita K


Known issue with version of makecab.exe from XP SP2 and 2003. What's the file version on your computer? The version of makecab.exe from XP SP1 or older should work properly. Maybe Tomcat could code HFSLIP to accept makecab in HFTOOLS (if it's not already).

the_guy

  • Author

Hi the_guy.

Thanks for the reply. I will try with different version of Makecab.exe and will post the result here.

Anita K

  • Author

Hi,

Here is the update on this issue.

If MAKECAB Directive is given via .ddf file like one given for driver.cab

MAKECAB /F UC.DDF

- Works fine and after windows setup, installed file date stamp is same as original

whereas any file created without .DDF directive like on below

MAKECAB /D CompressionMemory=%COMPMEM% /D CompressionType=LZX "%ALTSRCDIRS%HFEXPERT\STORAGE\%%I" /L SOURCESS\I386 >NUL

gives wrong date stamp.

- after windows setup, installed file date stamp is current date and not original file date

Even with files from original CABSDK (1997 version), error persists. But here if expand/extract directly to a folder it shows original file date, but after windows setup, it shows current date instead of original file date.

Hope above points will give some clue.

Attached is the directory listing of Windows 2000 driver folder after windows installation. Marked files are the files added via HFExpert - Drivers / Storage folders. same for HFExplert - Win folder.

Work environment:

OS=WinXP sp2 Pro

HFSVER=70325

Anita K

post-129648-1176801500_thumb.png

For the main CAB files (like DRIVER.CAB and SPX.CAB), HFSLIP uses the Diamond Directive File (DDF). I don't remember if this is also true about files from HFEXPERT or the like.

What if you put that older version of makecab.exe in the HFSLIP working folder alongside the main script file?

I used the version of Makecab from Vista alongside the cmd in HFSLIP and it worked perfectly. :thumbup

I read somewhere that the version of makecab.exe included in Vista fixed the bug made with prior versions.

the_guy

hi! where can i get that from Vista cd? tried searching for file in a Dell OEM Vista CD but i couldn't find it ... thanks!

hi! where can i get that from Vista cd? tried searching for file in a Dell OEM Vista CD but i couldn't find it ... thanks!

It's in the windows\system32 folder. If you don't have Vista installed then you will need to mount install.wim to find it.

heisking

hmm ... thanks heisking ... i didn't install it (& don't want to :) ) so i tried searching from the cd itself (from teh cabs too but didn't find it) ... thanks for the tip ... i'll try to mount it then ...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.