[wix-users] Delivering a SQLite DB

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Jul 5 14:44:33 PDT 2017


Assuming you can change your application to use a DB in an OS defined location...

        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="CommonAppDataFolder">
                <Directory Id="Foo.Common" Name="Foo">
                  <Directory Id="Foo.Common.Db" Name="DB"/>
                </Directory>
            </Directory>
        </Directory>

And then your component will have to reference the Foo.Common.DB directory to put it in %ProgramData%\Foo\DB\.

<DirectoryRef Id="Foo.Common.Db">
    <Component Id="Foo.Common.Db.File001">
      <File Name="..." Source="..." DiskId="..." />
    </Component>
</DirectoryRef>

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Paul J. McMillan, Sr.
Sent: Wednesday, July 5, 2017 4:18 PM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Delivering a SQLite DB

App specific sub folder

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Wednesday, July 5, 2017 5:14 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Delivering a SQLite DB

CommonAppDataFolder \ App Specific Sub Folder?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Paul J. McMillan, Sr.
Sent: Wednesday, July 5, 2017 4:09 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Delivering a SQLite DB

Hi, 

 

I'm trying to get Wix to allow me to do a perMachine install but at the same time put my SQLite DB in a place where the user can read and write to it.
Does anyone have any ideas?

 

Thanks,

Paul 


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list