"Versioning" a .MDB file

T

Tony Toews

then you dont need to version as often

with MDB you have to version all sorts of crap all the time

with ADP; you keep all your queries and tables in one place; so
versioning becomes abotu 10 times easier.
queries and tables are all that changes in an app.. the frontend is
easy.

Hogwash. Any time I'm changing queries and tables I'm also changing
forms, reports and sometimes VBA code to handle those new fields and
tables.

My users never directly see queries and tables. Dunno about yours
though judging by your response.
how do i distribute ADP?

I make a webpage for people to download them from. They're small--
they're not 200mb like most Access MDBs.

And how do you ensure they only use the new version?
Or i've done batch files with AD in order to push them out

Hint. See the free Auto FE Updater utility at
http://www.granite.ab.ca/access/autofe.htm at my website to keep the
FE on each PC up to date.
I just swear-- most of the complexity in versioning MDBs just gets
thrown out the window when you start using a real app.. like ADP for
example.

Wrong.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
T

Tony Toews

Dave said:
i have already split the mdb to front and back, it is the front end updates
that i need to have installed from a cd without the user having to figure
out if they want to keep their old one or install the new one. as i have
stated, downloads and installs from web are not an option. and my problem
is not with how to check or control versions of tables and queries, that is
all taken care of internally, it is the packaging wizard's installer that is
the thing that has to be able to check versions.

Oh, sorry, yes, but Aaron insists on stating ADPs are superior for
everything. Which they are not. They have their purpose in life but
their superiority is not at all evident.

I haven't worked with the A2003 installer and have no experience with
C# so I'm unable to answer your exact question.

How are you distributing updates? By using the runtime installer or
your own method? I'd suggest, as I think Arvin does, using your own
method once the initial version is on the client system by putting a
field in a table in the FE with the version number. Then, within
your app, interrogating the CD to see if it has a valid and newer MDB
on it. If so copy it.



Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
D

Dave

Tony Toews said:
Oh, sorry, yes, but Aaron insists on stating ADPs are superior for
everything. Which they are not. They have their purpose in life but
their superiority is not at all evident.

I haven't worked with the A2003 installer and have no experience with
C# so I'm unable to answer your exact question.

How are you distributing updates? By using the runtime installer or
your own method? I'd suggest, as I think Arvin does, using your own
method once the initial version is on the client system by putting a
field in a table in the FE with the version number. Then, within
your app, interrogating the CD to see if it has a valid and newer MDB
on it. If so copy it.

lets start again, this has gone way off base. the app is access xp, not
2003. it is packaged and installed by the packaging wizard. it must be
installed from a cd. the problem is that the packaging wizard's installer
needs a version that it can check, assuming of course that it can do that,
so that it doesn't ask the user about replacing an old file with the new
one. i am assuming that it asks because when an mdb file is used its
revised date is updated so the new file on the cd actually looks older.
 
R

Rick Brandt

Dave said:
lets start again, this has gone way off base. the app is access xp,
not 2003. it is packaged and installed by the packaging wizard. it
must be installed from a cd. the problem is that the packaging
wizard's installer needs a version that it can check, assuming of
course that it can do that, so that it doesn't ask the user about
replacing an old file with the new one. i am assuming that it asks
because when an mdb file is used its revised date is updated so the
new file on the cd actually looks older.

Why not just configure the installer to "replace always" and not worry about it?
That's what I have always done because I want to make sure a corrupted file is
replaced with a re-install. If you use "replace older files only" you run the
risk that this won't happen.
 
D

Dave

Rick Brandt said:
Why not just configure the installer to "replace always" and not worry
about it? That's what I have always done because I want to make sure a
corrupted file is replaced with a re-install. If you use "replace older
files only" you run the risk that this won't happen.

that would be an option, but where do you specify that in the office xp
packaging wizard?
 
R

Rick Brandt

Dave said:
that would be an option, but where do you specify that in the office
xp packaging wizard?

I have only used the Access 97 ODE for creating runtime installations, but in
that version of the setup wizard you can specify for every file whether it is
replaced Never, Always, or When Older. I assume that the newer versions have
the same options.
 
D

Dave

Rick Brandt said:
I have only used the Access 97 ODE for creating runtime installations, but
in that version of the setup wizard you can specify for every file whether
it is replaced Never, Always, or When Older. I assume that the newer
versions have the same options.

i sure don't see that in the xp wizard. where was it in 97??
 
R

Rick Brandt

Dave said:
i sure don't see that in the xp wizard. where was it in 97??

In the very first dialog where you list the files to be included in the
setup package. The options to be filed out are...

File Name and Path (to include)

Destination Folder

Overwrite Existing File (Older, Always, Never)

Component Name
 
G

George Nicholson

The 3rd(?) screen of my XP packaging wizard has a set of "Version number"
fields that can be filled in as you wish.

Are you sure that it isn't this info that is used to determine "oldest"
rather than file dates? I seriously doubt that a file date comparison is
used for the very reasons you specify: they are meaningless when dealing
with a mdb.

HTH,
 
D

Dave

i fill them in and increment with each installation package, but that
doesn't seem to affect the installation of them mdb file.
 
D

Dave

Rick Brandt said:
In the very first dialog where you list the files to be included in the
setup package. The options to be filed out are...

File Name and Path (to include)

Destination Folder

Overwrite Existing File (Older, Always, Never)

Component Name

sure don't see it... you can set if a files should be shared, but nothing i
can see about overwriting existing files.
 
A

aaron.kempf

Tony

you're a lying stealing piece of shit

it is true

i dont need your super code to be a super versioner.

I just use ADP and it's a LOT easier to deal with.

I have multiple version of stuff in DEV

APPNAME_20051019
APPNAME_20051020

if i need to make a new version in the middle of the day, i put a _8pm
at the end of it

pretty straight forward.

ALL OF THE COMPLEXITY OF VERSIONING MDB GOES AWAY WITH ADP

THIS GUY IS A SCAM!!!!
 
A

aaron.kempf

THE BOTTOM LINE IS THAT YOU HAVE 400kb FILES INSTEAD OF 50MB FILES.

SO YOU CAN AFFORD TO KEEP MULTIPLE VERSIONS

YOU CAN EMAIL ADP

YOU CAN DOWNLOAD ADP FROM A WEBSITE

pretty straightforward kids
 
D

Dave

THE BOTTOM LINE IS THAT YOU HAVE 400kb FILES INSTEAD OF 50MB FILES.

SO YOU CAN AFFORD TO KEEP MULTIPLE VERSIONS

YOU CAN EMAIL ADP

YOU CAN DOWNLOAD ADP FROM A WEBSITE

pretty straightforward kids

please, calm down. you are not talking about the same thing as the rest of
us. my problem is how to embed a version number in the mdb file being
distributed so that the installer doesn't ask the user the wrong question
about replacing a newer file. i have no size problem, nor do i have a
development problem, it is strictly about how to make the packaging wizard's
installer work properly.
 
A

aaron.kempf

i think that you do have a size problem and a development problem

and i think that that it's funny you guys sit around and version
databases all the time.

i dont have 2/3rds of the difficulties as you guys since i dont have to
version unless it's a change to a form or a report

i dont have to put out a new version since all my sprocs and views live
in one place. there aren't 100 copies of it.

i think that it is exactly the same discussion.

i mean-- there are no refreshing, no linking-- to dsn-- no connection
strings.. no queries that crap out.. there are no sql passthrough
queries

you can bind to a sproc

shit you can USE sprocs with ADP it is irrational to use sprocs in MDB
since it is too much complexity
 
T

Tony Toews

Dave said:
please, calm down. you are not talking about the same thing as the rest of
us. my problem is how to embed a version number in the mdb file being
distributed so that the installer doesn't ask the user the wrong question
about replacing a newer file. i have no size problem, nor do i have a
development problem, it is strictly about how to make the packaging wizard's
installer work properly.

Dave

I'd strongly suggest ignoring Aaron's postings. Let him ramble on
his merry way.

I'll take a look at the MOD XP later today and do a bit of poking
about.

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
A

aaron.kempf

Dave

I reccomend not listening to these Mvp-Mdb faeiries.

They need to start preaching the good word of ADP.

Half-- 2/3rds of the frequency of versioning can be avoided by choosing
the right architecture.
 
A

aaron.kempf

and technically-- the problem that you have is that people change
records it updates the filemodified time for the MDB file right?

well.. here you go buddy

when you open an adp and edit records; it doesnt change the
filemodified date for the .ADP file.. .

RIGHT???
 
K

Karl E. Peterson

and technically-- the problem that you have is that people change
records it updates the filemodified time for the MDB file right?

Sounds like a feature, to me.
well.. here you go buddy

when you open an adp and edit records; it doesnt change the
filemodified date for the .ADP file.. .

RIGHT???

LOL! What a POS... You're kidding, right?!? I wrote an application like that. It
memory-maps its datafiles for sheer performance, so the OS doesn't update timestamps
as their content changes. That's a bug, according (and rightly so!) to my users,
which I had to squash.

Watching your performance here, I'm really surprised your parents let you access
google. (Tired of all the nudie sites, huh?) How old are you, anyway?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top