Setup.dll

G

Guest

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/d...v_evtuv/html/etgrfsetupdllfilesfordevices.asp,
but it just says how to hook the completed Setup.dll into the setup project.

Thanks for any help!
Steve
 
I

Ilya Tumanov [MS]

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/d..._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).
 
N

Nino Benvenuti

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
 

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