G
Guest
Hi there,
Have a deployment issue that you guys must have come across before.
Basically, i've read through this article
http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp as well as the
msdn one and followed all the steps and it seems to work ok.
However, i now have to install the Opennet framework and SQLCE, so added a
couple more .ini files to my setup project and included those in my installer
class, like so:
private void SMPDAInstaller_AfterInstall(object sender, InstallEventArgs e)
{
string arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"OPENNET.ini");
arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"SQLCE.ini");
arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"SMPDA.ini");
RunAppManager(arg);
}
Now, this work about half the time, and is just amazinly unreliable....
occassionally the items show in a list, sometimes it prompts to install,
sometimes it misses out one..etc etc..
What's the sure fire way of doing it reliably?
Many thanks,
Rob
Have a deployment issue that you guys must have come across before.
Basically, i've read through this article
http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp as well as the
msdn one and followed all the steps and it seems to work ok.
However, i now have to install the Opennet framework and SQLCE, so added a
couple more .ini files to my setup project and included those in my installer
class, like so:
private void SMPDAInstaller_AfterInstall(object sender, InstallEventArgs e)
{
string arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"OPENNET.ini");
arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"SQLCE.ini");
arg = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
"SMPDA.ini");
RunAppManager(arg);
}
Now, this work about half the time, and is just amazinly unreliable....
occassionally the items show in a list, sometimes it prompts to install,
sometimes it misses out one..etc etc..
What's the sure fire way of doing it reliably?
Many thanks,
Rob