Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setup.dll

45 views
Skip to first unread message

mobilemobile

unread,
Jan 3, 2006, 7:15:02 PM1/3/06
to
Is there a description of the procedure to create a Setup.dll for Smart
Device Setups, or better yet an example?

In particular, I'd like to run/install the CAB for .NET Compact Framework v2
onto Pocket PC 2003 devices when I install my application.

I've searched mirosoft.com, PPC 2003 SDK doc, WinMob 5.0 doc, but the
closest I've come on MSDN is
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_evtuv/html/etgrfsetupdllfilesfordevices.asp,
but it just says how to hook the completed Setup.dll into the setup project.

Thanks for any help!
Steve

Ilya Tumanov [MS]

unread,
Jan 3, 2006, 7:49:49 PM1/3/06
to
You can not run/install NETCF V2 (or any other CAB) from your setup DLL as
only one instance of WCELOAD is allowed and it's already running installing
your CAB.

In any case, setup DLL is a normal native DLL which exports 4 particular
entry points:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesetup/html/_wcesdk_Using_Installation_Functions_in_Setupdll.asp

There's a sample in WM 5.0 SDK located here:

%Program Files%\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC
SDK\Samples\CPP\Win32\Setupdll


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).

"mobilemobile" <mobile...@discussions.microsoft.com> wrote in message
news:DC89A5B9-4082-4E26...@microsoft.com...

sync

unread,
Jan 4, 2006, 4:22:02 AM1/4/06
to
Hi,

I am exploring Setup.dll too. The closest example that I can find is this
which was coded in c++.
http://www.pocketpcdn.com/articles/setupdll.html

Is it possible to write setup.dll using managed code such as c# or is there
any template that can be used in VS 2005?

Thanks.

Nino Benvenuti

unread,
Jan 4, 2006, 9:41:45 AM1/4/06
to
The setup dll must be written in native code (and there is no project
template in VS2005).

Take a look at the SDK example that Ilya mentioned:


%Program Files%\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC
SDK\Samples\CPP\Win32\Setupdll

--
Nino Benvenuti
http://nino.net/blog

0 new messages