Hmm... I'm not sure CabWiz can support that many files.
Anyway, you can use a simple batch file to generate file list in INF:
----- CUT
@echo off
rem Make sure delayed environment variables are enabled
if not "%VENABLED%"=="TRUE" (
setlocal
set VENABLED=TRUE
cmd /v

n /c %0 %*
endlocal
goto exit
)
if "%1" == "" (
echo Usage: %0 file_list ^>^> file.inf
goto exit
)
echo [Files.Plenty]
for /f %%i in (%1) do (
@echo "%%~nxi",%%~nxi,,0x40000001
)
echo [SourceDisksNames]
set Source=0
for /f %%i in (%1) do (
set /a Source=!Source! + 1
set Folder=%%~dpi
set Folder=!Folder:~0,-1!
@echo !Source! = ,"Path!Source!",,!Folder!
)
set Source=0
echo [SourceDisksFiles]
for /f %%i in (%1) do (
set /a Source=!Source! + 1
@echo %%~nxi = !Source!
)
:exit
----- CUT
You'll need a file with list of all files you wish to add.
You can create it by executing 'dir /s /b > file.list' from the folder your
files are located and edit it if needed.
Note it won't create entire INF, just the file list. Rest is up to you.
Also, change 0x40000001 to whatever mode you need (see MSDN for details).
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> From: "Joshua Maeir" <(E-Mail Removed)>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> Subject: Need to create cab for PPC with 1000+ files...
> Date: 16 Mar 2005 11:23:09 -0800
> Organization: http://groups.google.com
> Lines: 14
> Message-ID: <(E-Mail Removed)>
> NNTP-Posting-Host: 207.172.209.3
> Mime-Version: 1.0
> Content-Type: text/plain; charset="iso-8859-1"
> X-Trace: posting.google.com 1111000993 23649 127.0.0.1 (16 Mar 2005
19:23:13 GMT)
> X-Complaints-To: groups-(E-Mail Removed)
> NNTP-Posting-Date: Wed, 16 Mar 2005 19:23:13 +0000 (UTC)
> User-Agent: G2/0.2
> Complaints-To: groups-(E-Mail Removed)
> Injection-Info: f14g2000cwb.googlegroups.com; posting-host=207.172.209.3;
> posting-account=6PAdDQ0AAAClYUJIUj1SAYmolutf_pKc
> Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.
sul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!f14g2000cwb.g
ooglegroups.com!not-for-mail
> Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:73412
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> I need to create a cab to be used in an install program that will
> install over 1000 files in a a tree of directories.
>
> I also have Installshield Express, however there is a bug in it and it
> will not allow selecting more than 18 files at a time.
>
> I need to create several sets of these CABs.
>
> Can anyone offer any solution aside for manualy creating a inf file?
>
> Thank!
>
> Joshua
>
>