Jump to content

Recommended Posts

Posted
do you add them here at the top or at the bottom  and do you do the same with txtsetup.sif

[Files] 
RVMUpPck.inf = 1,,,,,,,20,0,0
RVMUpPck.cab = 100,,,,,,_x,,3,3
d1,RVMUpPck.inf <----
d1,RVMUpPck.cab <----
d1,nlite.inf
d9,1394.in_
d9,845.in_
d9,bcm4sbxp.in_
d9,cm821f.in_
d9,net1394.in_
d9,nv4_disp.in_
d9,smwdmch4.in_
d9,845.inf
d9,1394.inf
d9,bcm4sbxp.inf
d9,nv4_disp.inf
d9,smwdmch4.inf
d9,cm821f.inf
d9,net1394.inf
d1,ntdll.dll,system32\ntdll.dll
d1,RVMUpPck.inf <----
d1,RVMUpPck.cab <----

First off, why are you adding the txtsetup.sif entries to dosnet.inf???

Second, yes, the dosnet.inf entries are fine there, but REMOVE THE TXTSETUP.SIF ENTRIES.


Posted
About the date I think what we need to know is if hotfixes use date template from Regional and language settings.

If so, then this code will solve the problem

FOR /F %%I IN ('DATE /T') DO SET INSTALLDATE=%%I

The problem I see is that with the English version, DATE /T (or %DATE%) returns "Sun 10/10/2004" while for non-English versions, it doesn't put the day in front. Doing %DATE:~-10% fixes that because it takes the last 10 characters which appear to be the same for all languages.

Posted
do you add them here at the top or at the bottom  and do you do the same with txtsetup.sif

[Files] 
RVMUpPck.inf = 1,,,,,,,20,0,0
RVMUpPck.cab = 100,,,,,,_x,,3,3
d1,RVMUpPck.inf <----
d1,RVMUpPck.cab <----
d1,nlite.inf
d9,1394.in_
d9,845.in_
d9,bcm4sbxp.in_
d9,cm821f.in_
d9,net1394.in_
d9,nv4_disp.in_
d9,smwdmch4.in_
d9,845.inf
d9,1394.inf
d9,bcm4sbxp.inf
d9,nv4_disp.inf
d9,smwdmch4.inf
d9,cm821f.inf
d9,net1394.inf
d1,ntdll.dll,system32\ntdll.dll
d1,RVMUpPck.inf <----
d1,RVMUpPck.cab <----

First off, why are you adding the txtsetup.sif entries to dosnet.inf???

Second, yes, the dosnet.inf entries are fine there, but REMOVE THE TXTSETUP.SIF ENTRIES.

im not i just wanted to know if the placement for the files go the same

Posted
im not i just wanted to know if the placement for the files go the same

Yeah, as long as the entries are in the correct section, it doesn't matter where in the section they are.

Posted
About the date I think what we need to know is if hotfixes use date template from Regional and language settings.

If so, then this code will solve the problem

FOR /F %%I IN ('DATE /T') DO SET INSTALLDATE=%%I

The problem I see is that with the English version, DATE /T (or %DATE%) returns "Sun 10/10/2004" while for non-English versions, it doesn't put the day in front. Doing %DATE:~-10% fixes that because it takes the last 10 characters which appear to be the same for all languages.

I thought weird behavior were for non-english windows version.

%DATE% is supposed to be a short date like mm/dd/yy and now it's the english version that is not predictable.

Coding for Windows platform is all about dealing with exception.

But we know that since long time ago. ;)

Posted
I thought weird behavior were for non-english windows version.

%DATE% is supposed to be a short date like mm/dd/yy and now it's the english version that is not predictable.

Coding for Windows platform is all about dealing with exception.

But we know that since long time ago.  ;)

Well, it's quite possible that the English version is the exception (I wouldn't have known that since it's the version I use :P). It's also quite irrelevant. If -10 works for all instances, then we're set.

Can some people using XP languages other than English confirm that for me? In a command prompt, type in

echo %DATE:~-10%

and post the results.

Posted
Can some people using XP languages other than English confirm that for me? In a command prompt, type in
echo %DATE:~-10%

and post the results.

Well, I'm using English, but my result is: 10/10/2004

Posted

echo %DATE:~-10%

Returns 11/10/2004

Im, using a Corp-English installation

echo %date%

returns 11/10/2004 but seeing not everyones is the same, so the universal version is just great :) well done swgreed I think :wacko:

Posted

It all depends on your regional settings (more specifically: Regional and language options -> Regional options -> Customize -> Date -> Short date format).

For me %DATE% returns 11.10.04.

Posted
"echo %DATE:~-10%" returns "11.10.2004"

actually, for me, it doesn't!

My output is: 10/11/2004

German date format doesn't use slashes... it's standardized with dots ;)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...