Resources.dll do not update .cab (third try in this NG! MS Bug ?!)

  • Thread starter Michael Coelsch
  • Start date
M

Michael Coelsch

When i deploy a localized solution directly from VS2005 to a device, the
resource DLLs embed correctly into their language dependent folders.
When creating a CAB-File (with localized resources) and install it on a
device, the resource DLLs copy randomly in any localized sub-folder.
Any workaround available??
 
I

Ilya Tumanov [MS]

Have you included subfolder(s) and files into the CAB? Please post CAB's INF
file.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
C

Cocotteseb

Hello I've made a similar post a few days ago and encounter the same
problem. Please look also for me:
http://groups.google.com/group/micr...24249067?q=cocotteseb&rnum=1#27a0b07124249067

the inf.
[Version]
Signature="$Windows NT$"
Provider="JDH Software"
CESignature="$Windows CE$"

[CEStrings]
AppName="IconXT"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="JDH Software"

[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000

[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3,Files.Common4,Files.Common5,Files.Common6

[SourceDisksNames]
1=,"Common1",,"c:\program files\microsoft visual studio .net
2003\compactframeworksdk\v1.0.5000\windows ce\designer\"
2=,"Common2",,"C:\Documents and Settings\Cocotteseb\Mes
documents\Visual Studio 2005\Projects\IconXT\"
3=,"Common3",,"C:\Documents and Settings\Cocotteseb\Mes
documents\Visual Studio 2005\Projects\IconXT\obj\Debug\"
4=,"Common4",,"C:\Documents and Settings\Cocotteseb\Mes
documents\Visual Studio 2005\Projects\IconXT\obj\Release\fr\"
5=,"Common5",,"C:\Documents and Settings\Cocotteseb\Mes
documents\Visual Studio 2005\Projects\IconXT\obj\Release\en\"
6=,"Common6",,"C:\Documents and Settings\Cocotteseb\Mes
documents\Visual Studio 2005\Projects\IconXT\obj\Release\de\"

[SourceDisksFiles]
"OpenNETCF.dll"=1
"icones.exe"=2
"IconXT.exe"=3
"IconXT.resources.dll"=4
"IconXT.resources.dll"=5
"IconXT.resources.dll"=6

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%"
Files.Common4=0,"%InstallDir%\fr"
Files.Common5=0,"%InstallDir%\en"
Files.Common6=0,"%InstallDir%\de"

[Files.Common1]
"OpenNETCF.dll","OpenNETCF.dll",,0

[Files.Common2]
"icones.exe","icones.exe",,0

[Files.Common3]
"IconXT.exe","IconXT.exe",,0

[Files.Common4]
"IconXT.resources.dll","IconXT.resources.dll",,0

[Files.Common5]
"IconXT.resources.dll","IconXT.resources.dll",,0

[Files.Common6]
"IconXT.resources.dll","IconXT.resources.dll",,0


[Shortcuts]
"IconXT",0,"IconXT.exe","%CE17%"

[RegKeys]
"HKCU","SOFTWARE\JDH Software\IconXT","","0x00000000",""



I've also this problem :
http://groups.google.com/group/micr...6dd417ec?q=cocotteseb&rnum=2#c6268b436dd417ec
Can you check this to ! Thanks a lot in advance!
 
I

Ilya Tumanov [MS]

I see... I though localized resource files were not deployed correctly which
is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
M

Michael Coelsch

Dear Ilya,
thanks, but localized resource files were not deployed correctly!!!
The shortcuts problem has only been the second question.

The most important question is the issue with localized dlls.

Thanks
Michael


Ilya Tumanov said:
I see... I though localized resource files were not deployed correctly
which is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF
files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Ilya,

enclosed, please find my INF file.

As you can see, i also have to manually create startmenu subfolders for
different languages because the Setup Project does not place links in
localized versions of Windows Mobile 2003 at all. It seems to me that
Setup CAB Wizzard has only been tested for english versions of WM 2003. I
have no experience jet if these issues also affect WM5 devices in
different languages.

Thanks a lot in advance for your help.

Michael
 
C

Cocotteseb

Thanks for your reply. I believe I only use Ascii characters in the
..inf (there are no accents,....)
 
I

Ilya Tumanov [MS]

Interesting: So, what exactly is going on with these files? Can you see them
in the CAB (you can open it on desktop to check)?

Are subfolders created? If they are not deployed correctly (how?), are other
files deployed?

Basically these files are no different from any other file in the CAB,
CabWiz is not aware of their nature.



I've one comment on the INF, but it should not be an issue - you've declared
InstallDir macro:



InstallDir=%CE1%\%AppName%



However, it's not actually used.





--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Dear Ilya,
thanks, but localized resource files were not deployed correctly!!!
The shortcuts problem has only been the second question.

The most important question is the issue with localized dlls.

Thanks
Michael


Ilya Tumanov said:
I see... I though localized resource files were not deployed correctly
which is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF
files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Ilya,

enclosed, please find my INF file.

As you can see, i also have to manually create startmenu subfolders for
different languages because the Setup Project does not place links in
localized versions of Windows Mobile 2003 at all. It seems to me that
Setup CAB Wizzard has only been tested for english versions of WM 2003.
I have no experience jet if these issues also affect WM5 devices in
different languages.

Thanks a lot in advance for your help.

Michael

Newsbeitrag Have you included subfolder(s) and files into the CAB? Please post
CAB's INF
file.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

When i deploy a localized solution directly from VS2005 to a device,
the
resource DLLs embed correctly into their language dependent folders.
When creating a CAB-File (with localized resources) and install it on
a
device, the resource DLLs copy randomly in any localized sub-folder.
Any workaround available??
 
M

Michael Coelsch

Hi Ilya,

the CAB file itself makes all subfolders and installations correctly. I
checked the _setup.xml file and found, that all is OK,

The issue seems that VS 2005 can not divide during CAB creation between
different languages. The CAB file that results contains either only englisch
Resource.dlls or french dlls. Although in the CAB file should be two
different dlls (english and french)
there are two exactly same files CONVEN~1.008 and CONVEN~1.009 (french, if
you open them in editor you can see french words)

The english DLL is not transferred from VS2005 into the CAB-file at all.

I can send you the original files if you give me your email address.

Thanks
Michael


Ilya Tumanov said:
Interesting: So, what exactly is going on with these files? Can you see
them
in the CAB (you can open it on desktop to check)?

Are subfolders created? If they are not deployed correctly (how?), are
other
files deployed?

Basically these files are no different from any other file in the CAB,
CabWiz is not aware of their nature.



I've one comment on the INF, but it should not be an issue - you've
declared
InstallDir macro:



InstallDir=%CE1%\%AppName%



However, it's not actually used.





--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Dear Ilya,
thanks, but localized resource files were not deployed correctly!!!
The shortcuts problem has only been the second question.

The most important question is the issue with localized dlls.

Thanks
Michael


Ilya Tumanov said:
I see... I though localized resource files were not deployed correctly
which is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not
support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF
files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Ilya,

enclosed, please find my INF file.

As you can see, i also have to manually create startmenu subfolders
for
different languages because the Setup Project does not place links in
localized versions of Windows Mobile 2003 at all. It seems to me that
Setup CAB Wizzard has only been tested for english versions of WM 2003.
I have no experience jet if these issues also affect WM5 devices in
different languages.

Thanks a lot in advance for your help.

Michael

Newsbeitrag Have you included subfolder(s) and files into the CAB? Please post
CAB's INF
file.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

When i deploy a localized solution directly from VS2005 to a device,
the
resource DLLs embed correctly into their language dependent folders.
When creating a CAB-File (with localized resources) and install it
on
a
device, the resource DLLs copy randomly in any localized sub-folder.
Any workaround available??
 
C

Cocotteseb

Same here:
I have three langauges french english and german
If they are correct the size is respectively 80 ko, 72 ko, 80 ko
But it appears with cab installation that all language are with a of 80
ko and french and german doesn't work.
Is there a relation with neutral language ( I set english) or
assembly???
I also can send files If you want to check deeplier. Just ask what you
need.
And for the installation dir: I do not set this variable it is VS2005
smart project cab which defines path like this. So a bug?
 
I

Ilya Tumanov [MS]

It appears CabWiz could not distinguish between source files with the same
name but in different folders.

So, it would grab first file and duplicate it twice (or more):



[SourceDisksFiles]
....



"CONVENO Sales.resources.dll"=8
"CONVENO Sales.resources.dll"=9



[Files.Common8]
"CONVENO Sales.resources.dll","CONVENO Sales.resources.dll",,0

[Files.Common9]
"CONVENO Sales.resources.dll","CONVENO Sales.resources.dll",,0



Note entries are the same; CabWiz does not pay attention to the folder.



Here's a workaround:



1. In main project which produces resource files run a post build procedure
which would create copies of these files with unique name.

For example, "fr\CONVENO Sales.resources.dll" would be copied to
fr\fr_CONVENO Sales.resources.dll

2. In your CAB project add files with unique names instead of originals.

3. Select these files one by one, choose "Rename" in context menu and type
original name.



Here's sample INF. Note files are unique now, but original names would be
restored on device.

Also note I've added files to "Application folder" so %InstallDir% macro is
actually used.

This macro can be redirected to storage card upon installation.



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



[CEStrings]
AppName="PPC_CAB_1"
InstallDir=%CE1%\%AppName%



[Strings]
Manufacturer="Microsoft"



[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000



[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3



[SourceDisksNames]
1=,"Common1",,"C:\Projects\LVTest\LVTest\bin\Debug\Fr\"
2=,"Common2",,"C:\Projects\LVTest\LVTest\bin\Debug\"
3=,"Common3",,"C:\Projects\LVTest\LVTest\bin\Debug\Gr\"



[SourceDisksFiles]
"fr_test.txt"=1
"LVTest.exe"=2
"gr_test.txt"=3



[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%\Fr"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%\Gr"



[Files.Common1]
"test.txt","fr_test.txt",,0



[Files.Common2]
"LVTest.exe","LVTest.exe",,0



[Files.Common3]
"test.txt","gr_test.txt",,0


[Shortcuts]



[RegKeys]




--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Hi Ilya,

the CAB file itself makes all subfolders and installations correctly. I
checked the _setup.xml file and found, that all is OK,

The issue seems that VS 2005 can not divide during CAB creation between
different languages. The CAB file that results contains either only
englisch
Resource.dlls or french dlls. Although in the CAB file should be two
different dlls (english and french)
there are two exactly same files CONVEN~1.008 and CONVEN~1.009 (french, if
you open them in editor you can see french words)

The english DLL is not transferred from VS2005 into the CAB-file at all.

I can send you the original files if you give me your email address.

Thanks
Michael


Ilya Tumanov said:
Interesting: So, what exactly is going on with these files? Can you see
them
in the CAB (you can open it on desktop to check)?

Are subfolders created? If they are not deployed correctly (how?), are
other
files deployed?

Basically these files are no different from any other file in the CAB,
CabWiz is not aware of their nature.



I've one comment on the INF, but it should not be an issue - you've
declared
InstallDir macro:



InstallDir=%CE1%\%AppName%



However, it's not actually used.





--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Dear Ilya,
thanks, but localized resource files were not deployed correctly!!!
The shortcuts problem has only been the second question.

The most important question is the issue with localized dlls.

Thanks
Michael


Newsbeitrag
I see... I though localized resource files were not deployed correctly
which is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not
support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF
files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Ilya,

enclosed, please find my INF file.

As you can see, i also have to manually create startmenu subfolders
for
different languages because the Setup Project does not place links in
localized versions of Windows Mobile 2003 at all. It seems to me that
Setup CAB Wizzard has only been tested for english versions of WM
2003.
I have no experience jet if these issues also affect WM5 devices in
different languages.

Thanks a lot in advance for your help.

Michael

Newsbeitrag Have you included subfolder(s) and files into the CAB? Please post
CAB's INF
file.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group"
button.
3. Hit "Search this group" button.
4. Read answer(s).

When i deploy a localized solution directly from VS2005 to a device,
the
resource DLLs embed correctly into their language dependent folders.
When creating a CAB-File (with localized resources) and install it
on
a
device, the resource DLLs copy randomly in any localized sub-folder.
Any workaround available??
 
M

Michael Coelsch

Thanks Ilya for the workaround. I will try to build this into our project.

Would you please pass this issue to the Microsoft VS-development team in
order to fix this in next VS2005 update?

Thanks again
Ragards from Germany
Michael


Ilya Tumanov said:
It appears CabWiz could not distinguish between source files with the same
name but in different folders.

So, it would grab first file and duplicate it twice (or more):



[SourceDisksFiles]
...



"CONVENO Sales.resources.dll"=8
"CONVENO Sales.resources.dll"=9



[Files.Common8]
"CONVENO Sales.resources.dll","CONVENO Sales.resources.dll",,0

[Files.Common9]
"CONVENO Sales.resources.dll","CONVENO Sales.resources.dll",,0



Note entries are the same; CabWiz does not pay attention to the folder.



Here's a workaround:



1. In main project which produces resource files run a post build
procedure which would create copies of these files with unique name.

For example, "fr\CONVENO Sales.resources.dll" would be copied to
fr\fr_CONVENO Sales.resources.dll

2. In your CAB project add files with unique names instead of originals.

3. Select these files one by one, choose "Rename" in context menu and type
original name.



Here's sample INF. Note files are unique now, but original names would be
restored on device.

Also note I've added files to "Application folder" so %InstallDir% macro
is actually used.

This macro can be redirected to storage card upon installation.



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



[CEStrings]
AppName="PPC_CAB_1"
InstallDir=%CE1%\%AppName%



[Strings]
Manufacturer="Microsoft"



[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000



[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3



[SourceDisksNames]
1=,"Common1",,"C:\Projects\LVTest\LVTest\bin\Debug\Fr\"
2=,"Common2",,"C:\Projects\LVTest\LVTest\bin\Debug\"
3=,"Common3",,"C:\Projects\LVTest\LVTest\bin\Debug\Gr\"



[SourceDisksFiles]
"fr_test.txt"=1
"LVTest.exe"=2
"gr_test.txt"=3



[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%\Fr"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%\Gr"



[Files.Common1]
"test.txt","fr_test.txt",,0



[Files.Common2]
"LVTest.exe","LVTest.exe",,0



[Files.Common3]
"test.txt","gr_test.txt",,0


[Shortcuts]



[RegKeys]




--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Michael Coelsch said:
Hi Ilya,

the CAB file itself makes all subfolders and installations correctly. I
checked the _setup.xml file and found, that all is OK,

The issue seems that VS 2005 can not divide during CAB creation between
different languages. The CAB file that results contains either only
englisch
Resource.dlls or french dlls. Although in the CAB file should be two
different dlls (english and french)
there are two exactly same files CONVEN~1.008 and CONVEN~1.009 (french,
if
you open them in editor you can see french words)

The english DLL is not transferred from VS2005 into the CAB-file at all.

I can send you the original files if you give me your email address.

Thanks
Michael


Ilya Tumanov said:
Interesting: So, what exactly is going on with these files? Can you see
them
in the CAB (you can open it on desktop to check)?

Are subfolders created? If they are not deployed correctly (how?), are
other
files deployed?

Basically these files are no different from any other file in the CAB,
CabWiz is not aware of their nature.



I've one comment on the INF, but it should not be an issue - you've
declared
InstallDir macro:



InstallDir=%CE1%\%AppName%



However, it's not actually used.





--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Dear Ilya,
thanks, but localized resource files were not deployed correctly!!!
The shortcuts problem has only been the second question.

The most important question is the issue with localized dlls.

Thanks
Michael


Newsbeitrag
I see... I though localized resource files were not deployed correctly
which is not the case.



What you see is expected as CabWiz from from WM 2003 SDK does not
support
Unicode, you can only use ASCII characters in INF.

My recommendation would be to avoid any none-ASCII characters in INF
files.



CabWiz from WM 5.0 offers limited Unicode support.



In this particular case you might be able to use macros:



[Shortcuts]
"Sales",0,"CONVENO Sales.exe", %CE11%\CONVENO


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Ilya,

enclosed, please find my INF file.

As you can see, i also have to manually create startmenu subfolders
for
different languages because the Setup Project does not place links in
localized versions of Windows Mobile 2003 at all. It seems to me that
Setup CAB Wizzard has only been tested for english versions of WM
2003.
I have no experience jet if these issues also affect WM5 devices in
different languages.

Thanks a lot in advance for your help.

Michael

Newsbeitrag Have you included subfolder(s) and files into the CAB? Please post
CAB's INF
file.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group"
button.
3. Hit "Search this group" button.
4. Read answer(s).

When i deploy a localized solution directly from VS2005 to a
device,
the
resource DLLs embed correctly into their language dependent
folders.
When creating a CAB-File (with localized resources) and install it
on
a
device, the resource DLLs copy randomly in any localized
sub-folder.
Any workaround available??
 
C

Cocotteseb

Hello!

I first want to thank you for your interest in our problem concerning
ressources dll!
I also deeply think that you find the solution but have difficulties to
apply it :
"1. In main project which produces resource files run a post build
procedure
which would create copies of these files with unique name. "
Can you explain how to do this ? I'm lost....

then you said : "3. Select these files one by one, choose "Rename" in
context menu and type
original name. "
Rename in the files himselves in the folders where they are or rename
the files in the cab project into VS2005?

Should I continue to generate the cab from VS2005 or should make a
builtcab.bat using cawiz.exe (which I still do not manage)

Finally I check the inf generated by vs 2003 and for the start menu it
is : IconXT,0,IconXT.exe,%CE11%
Whereas in VS2005 when you create the folder start menu it put as
property %CE17% and so we have in the inf "IconXT",0,"
IconXT.exe","%CE17%"
How could I change it? If I change 17 to 11 will it solve my problem of
the shortcuts which is added with every install (IconXT, IconXT(1),
etc) and never delete during uninstallation.

Thanks you a lot in advance!!!!
 
C

Cocotteseb

Thank you a lot Ilya!
I've finally manage to do the buildcab.bat, the correct inf and the
copy command.
And it seems that it works like a charm!!!
However Michael is right, please pass this issue to Microsoft and also
to the fact why in vs2005 start menu folder is %CE17% (\Start menu\)
whereas %CE11% is corresponds to \Start Menu\Programs\
Thanks again!
 
C

Cocotteseb

Thank you a lot Ilya!
I've finally manage to do the buildcab.bat, the correct inf and the
copy command.
And it seems that it works like a charm!!!
However Michael is right, please pass this issue to Microsoft and also
to the fact why in vs2005 start menu folder is %CE17% (\Start menu\)
whereas %CE11% is corresponds to \Start Menu\Programs\
Thanks again!
 

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