R
Robert Iver
Hello everyone,
I am trying to create an application that utilizes a SQL
Mobile database. I have included that database in my main project, and
it compiles and debugs just fine.
I then created a custom installer project packaged as a class
library and made an installer project to wrap the whole thing up into
an MSI package. Basically the idea behind doing all this is so the
handheld app can be pushed out through group policy.
So far everything has gone according to plan, except for two
things....first thing is that I cannot get shortcuts to show up on the
device for my app, no matter what I do. I've created an .inf file that
SHOULD do it.....here's a snippet from the file:
_____________________________________________________________________
[CEStrings]
AppName="Inventory Counter"
InstallDir=%CE1%\%AppName%
[CEDevice]
VersionMin=3.00
VersionMax=4.99
[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common
[SourceDisksNames]
1=,"Common",,"C:\Code\MobileInventoryCounter\InventoryCounter\bin\Release"
[SourceDisksFiles]
InventoryCounter.exe=1
[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
[Files.Common]
InventoryCounter.exe,,,0
[Shortcuts]
Inventory Counter,0,InventoryCounter.exe,%CE11%
__________________________________________________________________
The second problem I'm having is a simple one, but I can't figure out
how to do it. I need to copy the SQL Mobile database file to the
\Program Files\<appName> directory on the device, but can't find any
options or parameters inside Visual Studio to do that. I'm new to VS
2005, but have used prior versions, so maybe it's something I'm
missing....Thanks for your help!
I am trying to create an application that utilizes a SQL
Mobile database. I have included that database in my main project, and
it compiles and debugs just fine.
I then created a custom installer project packaged as a class
library and made an installer project to wrap the whole thing up into
an MSI package. Basically the idea behind doing all this is so the
handheld app can be pushed out through group policy.
So far everything has gone according to plan, except for two
things....first thing is that I cannot get shortcuts to show up on the
device for my app, no matter what I do. I've created an .inf file that
SHOULD do it.....here's a snippet from the file:
_____________________________________________________________________
[CEStrings]
AppName="Inventory Counter"
InstallDir=%CE1%\%AppName%
[CEDevice]
VersionMin=3.00
VersionMax=4.99
[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common
[SourceDisksNames]
1=,"Common",,"C:\Code\MobileInventoryCounter\InventoryCounter\bin\Release"
[SourceDisksFiles]
InventoryCounter.exe=1
[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
[Files.Common]
InventoryCounter.exe,,,0
[Shortcuts]
Inventory Counter,0,InventoryCounter.exe,%CE11%
__________________________________________________________________
The second problem I'm having is a simple one, but I can't figure out
how to do it. I need to copy the SQL Mobile database file to the
\Program Files\<appName> directory on the device, but can't find any
options or parameters inside Visual Studio to do that. I'm new to VS
2005, but have used prior versions, so maybe it's something I'm
missing....Thanks for your help!