cabwiz.exe problem with special characters in files

S

Steve B.

Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment nous
rejoindre à partir de strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
A

Alex Feinman [MVP]

Try saving your INF file in unicode format. You can use notepad. Choose
regular unicode (not UTF-8 or big endian)


Steve B. said:
Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
S

Steve B.

It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can handle. Any
other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as "content".

The log file emitted by VS.Net show exactly the same error. So I suppose
deploying files with special chars is not supported with cabwiz (bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

Alex Feinman said:
Try saving your INF file in unicode format. You can use notepad. Choose
regular unicode (not UTF-8 or big endian)


Steve B. said:
Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
A

Alex Feinman [MVP]

I was able to build a cab using your file name and your inf file svaed as
unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

Steve B. said:
It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can handle.
Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I suppose
deploying files with special chars is not supported with cabwiz (bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

Alex Feinman said:
Try saving your INF file in unicode format. You can use notepad. Choose
regular unicode (not UTF-8 or big endian)


Steve B. said:
Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
S

Steve B.

I cannot use your inf file.
Maybe having Winows XP and VS.Net all in french can be an error source...

Thanks,
Steve

Alex Feinman said:
I was able to build a cab using your file name and your inf file svaed as
unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

Steve B. said:
It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can handle.
Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I suppose
deploying files with special chars is not supported with cabwiz (bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

Alex Feinman said:
Try saving your INF file in unicode format. You can use notepad. Choose
regular unicode (not UTF-8 or big endian)


Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
A

Alex Feinman [MVP]

What is the error you get?
Also, I've added cabwiz, makecab and cabwiz.ddf to the zip. Could you try
again, to eliminate the possible version issues?

Steve B. said:
I cannot use your inf file.
Maybe having Winows XP and VS.Net all in french can be an error source...

Thanks,
Steve

Alex Feinman said:
I was able to build a cab using your file name and your inf file svaed as
unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

Steve B. said:
It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can handle.
Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I suppose
deploying files with special chars is not supported with cabwiz
(bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de [email protected]...
Try saving your INF file in unicode format. You can use notepad. Choose
regular unicode (not UTF-8 or big endian)


Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file
e:\FileRepository\temp\Comment nous rejoindre à partir de
strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
S

Steve B.

I launch the inf file with your cabwiz.exe file, and I get this error :

Error: Required file "E:\downloads\inf_uni\cabwiz.ddf" not found.

I added mine to the directory and I get this error :

Error: Required file "E:\downloads\inf_uni\makecab.exe" not found.

Than I added makecab.exe too and finallty get this error :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment nous
rejoindre à partir de strasbourg.doc not found

When I open both cabwiz files, I detect a version mismatch.

Yours is v3.7.0.3083, mine is 3.1.0.9386

I look into another computer with VS.Net in English, the version is
3.1.0.9386 too.

On my dev computer, I installed VS.Net 2003 FR, PPC 2003 SDK, Smartphone
2003 SDK and some emulator images

Thanks,
Steve

Alex Feinman said:
What is the error you get?
Also, I've added cabwiz, makecab and cabwiz.ddf to the zip. Could you try
again, to eliminate the possible version issues?

Steve B. said:
I cannot use your inf file.
Maybe having Winows XP and VS.Net all in french can be an error source...

Thanks,
Steve

Alex Feinman said:
I was able to build a cab using your file name and your inf file svaed as
unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can
handle. Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I
suppose deploying files with special chars is not supported with cabwiz
(bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de [email protected]...
Try saving your INF file in unicode format. You can use notepad.
Choose regular unicode (not UTF-8 or big endian)


Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file
e:\FileRepository\temp\Comment nous rejoindre à partir de
strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
A

Alex Feinman [MVP]

This cabwiz comes with PPC 2003 SDK. So, to make sure I understand
correctly - if you expand contents of my zip somewhere on your machine and
run
cabwiz test.inf
you still get an error?

Steve B. said:
I launch the inf file with your cabwiz.exe file, and I get this error :

Error: Required file "E:\downloads\inf_uni\cabwiz.ddf" not found.

I added mine to the directory and I get this error :

Error: Required file "E:\downloads\inf_uni\makecab.exe" not found.

Than I added makecab.exe too and finallty get this error :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

When I open both cabwiz files, I detect a version mismatch.

Yours is v3.7.0.3083, mine is 3.1.0.9386

I look into another computer with VS.Net in English, the version is
3.1.0.9386 too.

On my dev computer, I installed VS.Net 2003 FR, PPC 2003 SDK, Smartphone
2003 SDK and some emulator images

Thanks,
Steve

Alex Feinman said:
What is the error you get?
Also, I've added cabwiz, makecab and cabwiz.ddf to the zip. Could you try
again, to eliminate the possible version issues?

Steve B. said:
I cannot use your inf file.
Maybe having Winows XP and VS.Net all in french can be an error
source...

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de news: (e-mail address removed)...
I was able to build a cab using your file name and your inf file svaed
as unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can
handle. Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I
suppose deploying files with special chars is not supported with
cabwiz (bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de [email protected]...
Try saving your INF file in unicode format. You can use notepad.
Choose regular unicode (not UTF-8 or big endian)


Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file
e:\FileRepository\temp\Comment nous rejoindre à partir de
strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 
S

Steve B.

Yes, I get errors.

But as I said before, your archive did not contain neither cabwiz.ddf nor
makecab.exe, so I added mines.
I don't know what are theses files used for.

FYI, my cabwiz.exe is located in "D:\Program Files\Microsoft Visual Studio
..NET 2003\CompactFrameworkSDK\v1.0.5000\bin"

I search within my computer and found Cabwiz.exe in "D:\Program
Files\Windows CE Tools\wce420\POCKET PC 2003\Tools".

This file is in v3.7.0.3083 (same as yours).

I tryed with this files (cabwiz.exe, cabwiz.ddf and makecab.exe), but I get
exactly the same error :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment nous
rejoindre à partir de strasbourg.doc not found

Thanks,
Steve

Alex Feinman said:
This cabwiz comes with PPC 2003 SDK. So, to make sure I understand
correctly - if you expand contents of my zip somewhere on your machine and
run
cabwiz test.inf
you still get an error?

Steve B. said:
I launch the inf file with your cabwiz.exe file, and I get this error :

Error: Required file "E:\downloads\inf_uni\cabwiz.ddf" not found.

I added mine to the directory and I get this error :

Error: Required file "E:\downloads\inf_uni\makecab.exe" not found.

Than I added makecab.exe too and finallty get this error :

Error: Section [SourceDisksFiles] - file e:\FileRepository\temp\Comment
nous rejoindre à partir de strasbourg.doc not found

When I open both cabwiz files, I detect a version mismatch.

Yours is v3.7.0.3083, mine is 3.1.0.9386

I look into another computer with VS.Net in English, the version is
3.1.0.9386 too.

On my dev computer, I installed VS.Net 2003 FR, PPC 2003 SDK, Smartphone
2003 SDK and some emulator images

Thanks,
Steve

Alex Feinman said:
What is the error you get?
Also, I've added cabwiz, makecab and cabwiz.ddf to the zip. Could you
try again, to eliminate the possible version issues?

I cannot use your inf file.
Maybe having Winows XP and VS.Net all in french can be an error
source...

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de news: (e-mail address removed)...
I was able to build a cab using your file name and your inf file svaed
as unicode. What does not work for you?
YOu can find my test files at
http://www.alexfeinman.com/download.asp?doc=inf_uni.zip

It did not solve the problem.
Moreover, ASCII is the only encoding of inf file that cabwiz can
handle. Any other encoding I tryed make cabwiz have errors.

I added the file with special char to a VS.Net project, marked as
"content".

The log file emitted by VS.Net show exactly the same error. So I
suppose deploying files with special chars is not supported with
cabwiz (bug?)...

If you have any other suggestion, I would appreciate it.

Thanks,
Steve

"Alex Feinman [MVP]" <[email protected]> a écrit dans le
message de [email protected]...
Try saving your INF file in unicode format. You can use notepad.
Choose regular unicode (not UTF-8 or big endian)


Hi,

I use a custom inf file and cabwiz.exe to build som cabfiles.

It works fine but with special chars.

For example (french chars):

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

there is a "à" char ...

When I launch cabwiz, I get this log :

Error: Section [SourceDisksFiles] - file
e:\FileRepository\temp\Comment nous rejoindre à partir de
strasbourg.doc not found

And the cab file is not generated (the file actually exists)...

Thanks for any advice.

Steve

PS/ I pasted the full inf file below for informations :

[Version]
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEStrings]
AppName = TestApplication
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files

[DefaultInstall.X86]
CopyFiles=Files.X86
CESetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]
CopyFiles=Files.MIPS
CESetupDLL=vsd_setup.dll

[DefaultInstall.SH3]
CopyFiles=Files.SH3
CESetupDLL=vsd_setup.dll

[DefaultInstall.ARM]
CopyFiles=Files.ARM
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"e:\FileRepository\temp\"

[SourceDisksNames.X86]
11=,"X86_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\X86\"
12=,"X86_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.MIPS]
21=,"MIPS_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\MIPS\"
22=,"MIPS_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.SH3]
31=,"SH3_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\SH3\"
32=,"SH3_Config",,"e:\FileRepository\temp\"

[SourceDisksNames.ARM]
41=,"ARM_Setup",,"d:\program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\ARM\"
42=,"ARM_Config",,"e:\FileRepository\temp\"

[SourceDisksFiles]
"Comment nous rejoindre à partir de strasbourg.doc"=1

[SourceDisksFiles.X86]
vsd_setup.dll=11
vsd_config.txt=12

[SourceDisksFiles.MIPS]
vsd_setup.dll=21
vsd_config.txt=22

[SourceDisksFiles.SH3]
vsd_setup.dll=31
vsd_config.txt=32

[SourceDisksFiles.ARM]
vsd_setup.dll=41
vsd_config.txt=42

[DestinationDirs]
Files=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.ARM=0,%InstallDir%

[Files]
"Comment nous rejoindre à partir de strasbourg.doc",,,0

[Files.X86]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.MIPS]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.SH3]
vsd_setup.dll,,,0
vsd_config.txt,,,0

[Files.ARM]
vsd_setup.dll,,,0
vsd_config.txt,,,0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top