msi issues

  • Thread starter Thread starter mgarner1980
  • Start date Start date
M

mgarner1980

I've managed to build an msi that installs the netcf sp1,sqlserverce,sql and
my application using the approach described in
http://www.codeproject.com/netcf/compframe4.asp
My last issue is that the application is not being installed where I want it
to be. In my application, the output folder is set to windows\start menu
and if I deploy it from the ide that is where it is installed.

however when installed from the newly created .msi it is installed in the
programs\projectname folder.

I have been digging around and can't figure out why it's not installing in
the desired directory,

Any help is greatly appreciated!
 
You need to change this in the .inf file from which the cabs for your
application are built. The .inf file can be found in <project
dir>/obj/<configuration>, e.g. c:\work\MyProject\obj\Release\MyProject.inf

Where it says
[CEStrings]
AppName="MyApp"
InstallDir=%CE1%\%AppName%

you need to change it to

[CEStrings]
AppName="MyApp"
InstallDir=%CE4%\%AppName%

For more CE directory identifiers see
http://msdn.microsoft.com/library/d...mo_ppc/htm/amo_pocket_pc_ce_strings__pchy.asp
 
Back
Top