Re: How to Add DB file with folder in VB6 Package



I wouldn't recommend adding a database file in your setup but creating it
programmically when the program runs (after checking that it doesn't already
exist) and creating folders and private database file in the users "My
Documents" folder.

I recently deployed a program containing a ready made database and Windows
Vista users had a heck of a time with it. The problem is that if you install
it onto the computers program files Windows Vista will make a virtual copy
of it in the users private "virtual folder" becaue it wont let the user make
changes to any original installed files. Now the user has two databases
making backups etc. very confusing. The virtual copy always takes priority
over the installed copy but it's best to keep datafiles out of the shared
program files folders by not including them in setup packages or if you must
include them instal them in user private folders.


"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:5i2oi.9760$Od7.8254@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You can do one of two things:

1) When in the "wizard", in the window where you confirm
file paths, scroll to the right and just write in the extra
folder and backslash.

2) In setup.lst, under the Setup1 Files section,
find the line for test.mdb. It should say:
...test.mdb,$(AppPath), etc.
Change that to:
...test.mdb,$(AppPath)\database, etc.

When setup reads that, if the folder doesn't exist it will
be created.


I do one mini project in vb6. Back-end ms access. I want to
add my mdb file in app path and inside database folder like
this(app.path\database\test.mdb). But when i select my mdb file it
was
stored to app path only how to change before prepare package. Or how
to alter the setup1.lst file (after prepare) pls help me.
Advance thanks to all.

Regards,
Vincent,
Manapparai.





.



Relevant Pages

  • Re: No boot and no administrator password!
    ... That means your setup is too corrupt for a repair install. ... Open Explorer, go to Tools and Folder Options, on the view tab, scroll to ...
    (microsoft.public.windowsxp.accessibility)
  • Re: PDW Q
    ... When you run the setup app to install your program the very first this it does ... it checks the first batch of files listed in the .LST file. ... but not to the System folder. ...
    (microsoft.public.vb.general.discussion)
  • Re: Self Contained SQL Database
    ... Can i use the setup project of the Visual Studio 8 to install my application ... I've decided that it cannot be done in one setup. ... merge module that combined your database and app with MSDE, ... attach our database and copy the utilities onto the server (using custom ...
    (microsoft.public.sqlserver.msde)
  • Re: XP reinstallation woes on Multiboot system
    ... by Booting off the Install CD, or by Booting into w98SE & Running ... That is needed as part of the Boot Process, ... not if it's in a Folder) cos that is needed to Boot up into the ... happened in the two different setup methods and a clearer and more ...
    (uk.people.silversurfers)
  • Re: "Error 1303" when trying to upgrade to 2007
    ... this time I closed all Explorer windows when I got to the "upgrad" point. ... It popped up about 5 times during the course of the install, ... C:Config.msi folder for some reason. ... usually allow the setup to continue. ...
    (microsoft.public.project)