CEFileWiz – update…

This morning started fairly early, after running through POST (Power On Self Test) I reviewed my schedule for the day, the first hour or so was a meeting over at the Microsoft Conference Center, I've seen the content before, so decided to "take notes"

I received a feature request for CEFileWiz to allow all added files to live in their own folders rather than all living in the same place, the result of my "note taking" is the updated version of CEFileWiz - see the image below...


This generates all the required output files to include the file(s) into the operating system, and correctly identifies managed applications and DLL's and drops these into the "FILES" section of the BIB files.

Folders and files are created as needed - the example above has an application in \Program Files\My App, and a text file in \Foo\FooEx\FooEx2 - Here's the sample .DAT file created for these files.


root:-Directory("\"):-Directory("Program Files")
Directory("\Program Files"):-Directory("My App")
Directory("\Program Files\My App"):-File("csApp.exe","\windows\csApp.exe")

It would be very easy to create a shortcut file for the application and drop this into the startup folder - in this case the application and shortcut would live in different folders.

- Mike


Comments (4)

  1. David Jones says:

    When I run this version I get a .NET exception:

    System.IO.DirectoryNotFoundException: Could not find a part of the path "C:WINCE500WINCE500PBWorkspaces".

    My path is :



    Cheers DJ

  2. Mike says:

    Can I ask you to check the following registry key on your development PC ?

    HKEY_CURRENT_USERSoftwareMicrosoftPlatform Builder5.00Directories – and the key, WorkspaceDir

    On my dev machine WorkspaceDir == %_WINCEROOT%PBWorkspaces


    – Mike

  3. David Jones says:

    (A) Note that I can continue and app seems to work OK despite the introductory error.

    (B) My registry entries under that key are:

    [HKEY_CURRENT_USERSoftwareMicrosoftPlatform Builder5.00Directories]

    "Install Dirs"="C:\Program Files\Windows CE Platform Builder\5.00\cepb\bin\"

    "CPU Database"="C:\Program Files\Windows CE Platform Builder\5.00\cepb\bin\pbcpudb.mdb"

    "WorkspaceDir"="c:\WINCE500\PBWorkspaces "

    "OS Install Dir"="C:\WINCE500\"

    "IDE Install Dir"="C:\Program Files\Windows CE Platform Builder\5.00\"

    (C) So my entry for WorkspaceDir is C:WINCE500PBWorkspces (literally).

    Which should equate to %_WINCEROOT%PBWorkspaces.

    I have no %_WINCEROOT% environment when I run set in the cmd shell though.

    (C)Added it via System Control Panel.

    But still get the error as previous.

    (D)I then changed my reistry entry

    WorkspaceDir to %_WINCEROOT%PBWorkspaces and I no longer get the error.

    So solution for users seems to be:

    – Add environment variable %_WINCEROOT% if not there already.

    – Change registry entry (if not there already) HKEY_CURRENT_USERSoftwareMicrosoftPlatform Builder5.00Directories_Workspacedir to %_WINCEROOT%PBWorkspaces.

    I note though that the above registry entry (WorkspaceDir) is dependant upon the current project, ie is changed to indicate that.

    Cheers DJ

  4. Mike says:

    So everything is now working for you ?

    I will take a look at why the fixed path wasn’t working.

    – Mike

Skip to main content