OpenNetCF 1.4 not installing...

G

Guest

Here is the deal:

I have an installer created via guidance from an MSDN article and using
VS2003.

I have to install OpenNetCF 1.4 before I install my application. How can I
do it?

Here is what is happening:

When I take a PPC and cold-reset it and run the installer everything works
great.

But...

If I take the same PPC and remove my application and then try and re-install
it I keep getting the warning message that I have to install OpenNetCF before
my application will run.

So, I tried to go ahead and run my application, and as I suspected the
application will not run because the OpenNetCF is missing.

HELP! I have to get this working because we are sending in our application
for MS logo testing this week.

Thanks in advance,
nb
 
G

Guest

There are a couple options that come to mind:

1. Install the OpenNETCF assemblies and your assemblies separately. This
way they show up as separate apps, and when you uninstall yours, the
OpenNETCF assemblies don't get uninstalled.

2. Wrap the OpenNETCF assemblies right into your app install (i.e. take our
CAB out of the mix) that way deploying your app always installs the
OpenNETCF assemblies you need.
 
G

Guest

Thanks for the quick response...

Our generated .msi file has to install OpenNetCF, SqlCE, and then our
application. In that order I presume.

I am not sure what you mean by option 1 - seperate installs. I think option
2 might be the better choice for us since we are having to send in for
logo-testing. But, I am really unclear on option 2 and how to make it happen.
Can you elaborate on it a little for me please?

Thanks again for your time and help.

nb


------------------------------------------
Noble D. Bell
AgForest Partners, Inc.



There are a couple options that come to mind:

1. Install the OpenNETCF assemblies and your assemblies separately. This
way they show up as separate apps, and when you uninstall yours, the
OpenNETCF assemblies don't get uninstalled.

2. Wrap the OpenNETCF assemblies right into your app install (i.e. take our
CAB out of the mix) that way deploying your app always installs the
OpenNETCF assemblies you need.
 
G

Guest

Inline...
Our generated .msi file has to install OpenNetCF, SqlCE, and then our
application. In that order I presume.

Probably not - as long as they are all installed before you try to run your
app, the order should be irrelevent.
I am not sure what you mean by option 1 - seperate installs. I think
option
2 might be the better choice for us since we are having to send in for
logo-testing. But, I am really unclear on option 2 and how to make it
happen.
Can you elaborate on it a little for me please?

For optiuon 1, If in the "uninstall" dialog you see each component as
separate, you've done it right. Basically you need a setup that makes eaqch
atomic, so uninstalling your app uninstalls _only_ your app, or you have to
ensure that reinstalling your app _always_ installs the dependencies.

For option 2, simply add the OpenNETCF assemblies you use to your CAB by
adding them to your CAB's INF file just like your own app assemblies. Have
them copied to the app folder. The downside is they don't get GACed, but
the upside is that it always works when you install.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
 

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