jamesfreddyc

PGDB: include into deployment package

Discussion created by jamesfreddyc on Apr 27, 2011
Latest reply on Apr 27, 2011 by jamesfreddyc
Is there a specific method or process to distribute a Personal Geodatabase with a Setup.exe or Installer.msi?  I'd like to distribute a PGDB that my extension uses with the .msi that is built for deploying the assembly.

Are there any specific suggestions on AppPath settings?  For example, I have some code that opens an IFeatureWorkspace of that PGDB:

pWorkspaceFactory.OpenFromFile(db_path & "\Reporting.mdb", 0)



I guess my question on AppPath would be where exactly would the Installer set AppPath?

Edit: here is my current GetAppPath function:


Private Shared Function GetAppPath() As String
        Dim path As String

        path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location)
               Return path
    End Function

Outcomes