HighTechTalks DotNet Forums  

CAB install file in root folder

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss CAB install file in root folder in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
isineiro@gmail.com
 
Posts: n/a

Default CAB install file in root folder - 12-21-2007 , 05:07 AM






Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

..inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0


----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

.....

What I'm doing incorrectly?

Thanks in advance.

Iago.

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: CAB install file in root folder - 12-21-2007 , 08:56 AM






The root destination is not an empty string, it would be "\"


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


<isineiro (AT) gmail (DOT) com> wrote

Quote:
Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0


----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.



Reply With Quote
  #3  
Old   
isineiro@gmail.com
 
Posts: n/a

Default Re: CAB install file in root folder - 12-21-2007 , 09:57 AM



Hi.

I had also tried with "\" but didn't works. Gives me another error.

--- .inf ----

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,"\"

--- Cabwiz.log ----
Error: Section [DestinationDirs] not successfully processed

On 21 dic, 15:56, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
Quote:
The root destination is not an empty string, it would be "\"

--

Chris Tacke, eMVP
Join the Embedded Developer Communityhttp://community.opennetcf.com

isine... (AT) gmail (DOT) com> wrote in message

news:88941221-849f-475f-8210-f5b847712825 (AT) n20g2000hsh (DOT) googlegroups.com...

Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.


Reply With Quote
  #4  
Old   
Simon Hart [MVP]
 
Posts: n/a

Default Re: CAB install file in root folder - 12-22-2007 , 10:37 AM



Try using double slash "\\".
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"isineiro (AT) gmail (DOT) com" wrote:

Quote:
Hi.

I had also tried with "\" but didn't works. Gives me another error.

--- .inf ----

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,"\"

--- Cabwiz.log ----
Error: Section [DestinationDirs] not successfully processed

On 21 dic, 15:56, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
The root destination is not an empty string, it would be "\"

--

Chris Tacke, eMVP
Join the Embedded Developer Communityhttp://community.opennetcf.com

isine... (AT) gmail (DOT) com> wrote in message

news:88941221-849f-475f-8210-f5b847712825 (AT) n20g2000hsh (DOT) googlegroups.com...

Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.



Reply With Quote
  #5  
Old   
isineiro@gmail.com
 
Posts: n/a

Default Re: CAB install file in root folder - 12-24-2007 , 06:46 AM



Hi.

Using double slash "\\" gives me the same error.

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"\\"

CabWiz.log
-------
Error: Section [DestinationDirs] not successfully processed

Iago.

On 22 dic, 17:37, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Quote:
Try using double slash "\\".
--
Simon Hart
Visual Developer - Device Application Development MVPhttp://simonrhart.blogspot.com

"isine... (AT) gmail (DOT) com" wrote:
Hi.

I had also tried with "\" but didn't works. Gives me another error.

--- .inf ----

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,"\"

--- Cabwiz.log ----
Error: Section [DestinationDirs] not successfully processed

On 21 dic, 15:56, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
The root destination is not an empty string, it would be "\"

--

Chris Tacke, eMVP
Join the Embedded Developer Communityhttp://community.opennetcf.com

isine... (AT) gmail (DOT) com> wrote in message

news:88941221-849f-475f-8210-f5b847712825 (AT) n20g2000hsh (DOT) googlegroups.com...

Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.


Reply With Quote
  #6  
Old   
Simon Hart [MVP]
 
Posts: n/a

Default Re: CAB install file in root folder - 12-24-2007 , 07:22 AM



Could you post the whole INF file here please.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"isineiro (AT) gmail (DOT) com" wrote:

Quote:
Hi.

Using double slash "\\" gives me the same error.

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"\\"

CabWiz.log
-------
Error: Section [DestinationDirs] not successfully processed

Iago.

On 22 dic, 17:37, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Try using double slash "\\".
--
Simon Hart
Visual Developer - Device Application Development MVPhttp://simonrhart.blogspot.com

"isine... (AT) gmail (DOT) com" wrote:
Hi.

I had also tried with "\" but didn't works. Gives me another error.

--- .inf ----

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,"\"

--- Cabwiz.log ----
Error: Section [DestinationDirs] not successfully processed

On 21 dic, 15:56, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
The root destination is not an empty string, it would be "\"

--

Chris Tacke, eMVP
Join the Embedded Developer Communityhttp://community.opennetcf.com

isine... (AT) gmail (DOT) com> wrote in message

news:88941221-849f-475f-8210-f5b847712825 (AT) n20g2000hsh (DOT) googlegroups.com...

Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.



Reply With Quote
  #7  
Old   
isineiro@gmail.com
 
Posts: n/a

Default Re: CAB install file in root folder - 12-26-2007 , 02:36 AM



Hi, Simon.

This is the content of the file instalacionInventario.inf

instalacionInventario.inf
----------------------------------

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

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

[Strings]
Manufacturer="SNL"

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

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

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"
2=,"Common2",,"D:\Proyectos\Visual .Net 2005\pda\inventario\obj\Release
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1
"inventario.exe"=2

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"\\"
Files.Common2=0,"SNL\Inventario"

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

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


[Shortcuts]
"Inventario",0,"inventario.exe","%CE11%"
"Inventario",0,"inventario.exe","Windows\Deskt op"
"Inventario",0,"inventario.exe","%CE17%"

[RegKeys]

--- End of instalacionInventario.inf ----

On 24 dic, 14:22, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Quote:
Could you post the whole INF file here please.
--
Simon Hart
Visual Developer - Device Application Development MVPhttp://simonrhart.blogspot.com

"isine... (AT) gmail (DOT) com" wrote:
Hi.

Using double slash "\\" gives me the same error.

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"\\"

CabWiz.log
-------
Error: Section [DestinationDirs] not successfully processed

Iago.

On 22 dic, 17:37, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Try using double slash "\\".
--
Simon Hart
Visual Developer - Device Application Development MVPhttp://simonrhart.blogspot.com

"isine... (AT) gmail (DOT) com" wrote:
Hi.

I had also tried with "\" but didn't works. Gives me another error.

--- .inf ----

[SourceDisksNames]
1=,"Common1",,"C:\Archivos de programa\SQLite.NET\bin\CompactFramework
\"

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,"\"

--- Cabwiz.log ----
Error: Section [DestinationDirs] not successfully processed

On 21 dic, 15:56, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
The root destination is not an empty string, it would be "\"

--

Chris Tacke, eMVP
Join the Embedded Developer Communityhttp://community.opennetcf.com

isine... (AT) gmail (DOT) com> wrote in message

news:88941221-849f-475f-8210-f5b847712825 (AT) n20g2000hsh (DOT) googlegroups.com...

Hi.

I want to generate a CAB which install a file in root folder. Inside
VS 2005 I can not put a file in root folder. I try to edit the .inf
file to generate the CAB mannually with cabwiz but give me errors.

.inf file
---------------

[SourceDisksFiles]
"System.Data.SQLite.dll"=1

[DestinationDirs]
Files.Common1=0,""

[Files.Common1]
"System.Data.SQLite.dll","System.Data.SQLite.dll", ,0

----------------
CabWiz.log
----------------

Error: Section [DestinationDirs] key "Files.Common1" requires valid
data

....

What I'm doing incorrectly?

Thanks in advance.

Iago.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.