473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Deploying Access 2007 Runtime / developer extensions / basic MSI installer questions

ARC
I'm currently looking at the access developer extensions for creating an MSI
installer package for a 2007 runtime app. Couple of observations and
questions.

1) Doesn't look like we have the ability to set a packaged file to always
overwrite, or never overwrite, unless I'm missing something. This could be a
sticking point, as I would always want the program to overwrite on
re-installing, but NEVER the back end database. I have a few more files
where I would want to Always overwrite. Am I missing something simple? I
tried right-clicking on a file in the "additional files" box, but no such
options.

2) What good is the "Feature information"? Ideally, I'd like to have an
install option for Full version with blank back-end databases, or an option
during install to only install a new program file, and no back-end
databases. I guess I would need to have 3 installs: 1) Full (program and
database), 2) Program Only, 3) Dedicated Server only (back-end database
files only)

3) The ability to add extra registry keys seems to point to a solution of
adding the program path as a trusted location, so the user doesn't get the
macro disabled warnings. However, if you choose "Program Files", for some
reason it says: ("All Users - Read Only for Vista"). Does that mean you can
no longer install programs to c:\Program Files for vista? (Since I'm coming
from Access 97 runtimes, I'm a bit out of date here, I admit)

4) This may be the biggie: For adding a few .dll's to your install package
(I have an e-mail .dll for an e-mail add-in util), and I have a registration
..dll (this registration .dll will write the key to the win registry, which I
hope isn't a problem in Vista). But I don't see a note that additional files
will be self-registered. Do they get registered automatically in the win
registry?

That's about it for now, and thank in advance,

Andy
Sep 7 '07 #1
12 6357
On Sat, 08 Sep 2007 02:41:00 GMT, "Tony Toews [MVP]"
<tt****@telusplanet.netwrote:

You are partially right. There are two kinds of DLLs: classic DLLs
don't need to (and can't) be registered. They just need to be in the
path and will automatically be loaded by Windows.
ActiveX DLLs need to be registered, using regsvr32.exe
I would expect that most setup program generators are smart enough to
recognize this, and register the dll while installing it.
OCXes are very close to ActiveX DLLs and do indeed require
registration.

-Tom.
<clip>
>
>>4) This may be the biggie: For adding a few .dll's to your install package
(I have an e-mail .dll for an e-mail add-in util), and I have a registration
.dll (this registration .dll will write the key to the win registry, which I
hope isn't a problem in Vista). But I don't see a note that additional files
will be self-registered. Do they get registered automatically in the win
registry?

Not quite sure what you mean by self registering. DLLs don't need registering I
don't think. You just need to reference them. OCXs do need registering. However I
sure could be wrong here.

Tony
Sep 8 '07 #2
Hi,

I analyzed the msi created by the extensions reverse engineering it.
That's what I can say:

"ARC" <an**@andyc.comschrieb im Newsbeitrag
news:nd*****************@nlpi061.nbdc.sbc.com...
I'm currently looking at the access developer extensions for creating an MSI
installer package for a 2007 runtime app. Couple of observations and
questions.

1) Doesn't look like we have the ability to set a packaged file to always
overwrite, or never overwrite, unless I'm missing something. This could be a
sticking point, as I would always want the program to overwrite on
re-installing, but NEVER the back end database. I have a few more files where
I would want to Always overwrite. Am I missing something simple? I tried
right-clicking on a file in the "additional files" box, but no such options.
IMO there's no possibility to do file checking for existing versions. AKAIK any
existing file will be overwritten.
2) What good is the "Feature information"? Ideally, I'd like to have an
install option for Full version with blank back-end databases, or an option
during install to only install a new program file, and no back-end databases.
I guess I would need to have 3 installs: 1) Full (program and database), 2)
Program Only, 3) Dedicated Server only (back-end database files only)
It's not possible to specify more than one msi feature. Likewise no facility to
specify userdefined conditions.
3) The ability to add extra registry keys seems to point to a solution of
adding the program path as a trusted location, so the user doesn't get the
macro disabled warnings. However, if you choose "Program Files", for some
reason it says: ("All Users - Read Only for Vista"). Does that mean you can no
longer install programs to c:\Program Files for vista? (Since I'm coming from
Access 97 runtimes, I'm a bit out of date here, I admit)
In general there's no need here to add a reg key for your trusted location. The
extensions automatically adds this key for the place you assign for the root
install folder.
Beyond this I haven't tested under Vista. I have no experience with the
extensions behaviour under it.
4) This may be the biggie: For adding a few .dll's to your install package (I
have an e-mail .dll for an e-mail add-in util), and I have a registration .dll
(this registration .dll will write the key to the win registry, which I hope
isn't a problem in Vista). But I don't see a note that additional files will
be self-registered. Do they get registered automatically in the win registry?
No. Definitely no selfregister flag is set for activex components.
You would have to run a batch file or something else after setup to register
your components.

Overall I can only see the extensions as a solution for very simple databases.
They do not supersede the use of a professional installation system.

Ciao, Sascha
Sep 8 '07 #3
ARC
Thanks, Sascha!

I pretty much figured I would have to go with Sagekey's Acc2007 script, but
prior to putting down the $$, I thought I'd take a look at the developer
extensions.

Worth a shot, but no go.

Thanks again,

Andy
Sep 8 '07 #4
ARC
By the way, Sascha, one feature that impressed me, and I thought would be
very slick, was the ability to prompt the user to download the runtime. That
would save bunches of space on my domain host! It's too bad, as I'm sure the
Sagekey script won't have that feature.

Ciao to you too,

Andy
"Sascha Trowitzsch" <ng@moss-soft.dewrote in message
news:fb**********@online.de...
Hi,

I analyzed the msi created by the extensions reverse engineering it.
That's what I can say:

"ARC" <an**@andyc.comschrieb im Newsbeitrag
news:nd*****************@nlpi061.nbdc.sbc.com...
>I'm currently looking at the access developer extensions for creating an
MSI installer package for a 2007 runtime app. Couple of observations and
questions.

1) Doesn't look like we have the ability to set a packaged file to always
overwrite, or never overwrite, unless I'm missing something. This could
be a sticking point, as I would always want the program to overwrite on
re-installing, but NEVER the back end database. I have a few more files
where I would want to Always overwrite. Am I missing something simple? I
tried right-clicking on a file in the "additional files" box, but no such
options.

IMO there's no possibility to do file checking for existing versions.
AKAIK any existing file will be overwritten.
>2) What good is the "Feature information"? Ideally, I'd like to have an
install option for Full version with blank back-end databases, or an
option during install to only install a new program file, and no back-end
databases. I guess I would need to have 3 installs: 1) Full (program and
database), 2) Program Only, 3) Dedicated Server only (back-end database
files only)

It's not possible to specify more than one msi feature. Likewise no
facility to specify userdefined conditions.
>3) The ability to add extra registry keys seems to point to a solution of
adding the program path as a trusted location, so the user doesn't get
the macro disabled warnings. However, if you choose "Program Files", for
some reason it says: ("All Users - Read Only for Vista"). Does that mean
you can no longer install programs to c:\Program Files for vista? (Since
I'm coming from Access 97 runtimes, I'm a bit out of date here, I admit)

In general there's no need here to add a reg key for your trusted
location. The extensions automatically adds this key for the place you
assign for the root install folder.
Beyond this I haven't tested under Vista. I have no experience with the
extensions behaviour under it.
>4) This may be the biggie: For adding a few .dll's to your install
package (I have an e-mail .dll for an e-mail add-in util), and I have a
registration .dll (this registration .dll will write the key to the win
registry, which I hope isn't a problem in Vista). But I don't see a note
that additional files will be self-registered. Do they get registered
automatically in the win registry?

No. Definitely no selfregister flag is set for activex components.
You would have to run a batch file or something else after setup to
register your components.

Overall I can only see the extensions as a solution for very simple
databases.
They do not supersede the use of a professional installation system.

Ciao, Sascha

Sep 8 '07 #5
"David W. Fenton" <XX*******@dfenton.com.invalidwrote:
>You mean in the "Windows 95 days," because Windows 2000 was the
first to implement read-only Program Files for users only.
And this all gets back to developers running as administrators when they should be
running as users. Which would find all these problems.

<hypocrite>Which I really have to start doing myself Real Soon Now. </hypocrite>

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
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Sep 8 '07 #6
On Sep 9, 4:20 am, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:
Well, put it in the user's profile, and you can get to it with the
%USERPROFILE% environment variable. So, if your app is in
A lot depends on the pain and the local IT SOE. With one workplace, I
prefer to put it in c:\myapp because that is not locked down or better
still \\server\networkshare\myapp if it is a common location or \
\server\networkshare\usersprofile so I can save myself legwork.

There is one problem with personalising the myapp location - some
roles keep changing user accounts (you know what I mean) and you soon
have myapp distributed over several user accounts and some users
change workstations so you then have myapp duplicated or not
replicated over Y user accounts * Z workstations...

1. You gotta to work with the SOE.
2. You gotta work with the least deployment and maintenance/update
pain

There are certainly a variety of better practices - you just have to
look back after 6 months and see how many helpdesk or issue calls
sourced by deployment.

Ananda

Sep 9 '07 #7
AnandaSim <An*******@gmail.comwrote in
news:11**********************@o80g2000hse.googlegr oups.com:
On Sep 9, 4:20 am, "David W. Fenton"
<XXXuse...@dfenton.com.invalidwrote:
>Well, put it in the user's profile, and you can get to it with
the %USERPROFILE% environment variable. So, if your app is in

A lot depends on the pain and the local IT SOE. With one
workplace, I prefer to put it in c:\myapp because that is not
locked down
That's non-standard, then, as nothing in the root of C: should be
write accessible to users.
or better
still \\server\networkshare\myapp if it is a common location or \
\server\networkshare\usersprofile so I can save myself legwork.

There is one problem with personalising the myapp location - some
roles keep changing user accounts (you know what I mean) and you
soon have myapp distributed over several user accounts and some
users change workstations so you then have myapp duplicated or not
replicated over Y user accounts * Z workstations...
Why not put it in All Users?
1. You gotta to work with the SOE.
2. You gotta work with the least deployment and maintenance/update
pain

There are certainly a variety of better practices - you just have
to look back after 6 months and see how many helpdesk or issue
calls sourced by deployment.
On a workstation where you want all users to have access to the app,
the proper location for it is in the All Users folder.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 10 '07 #8
"David W. Fenton" <XX*******@dfenton.com.invalidwrote:
>Why not put it in All Users?
I don't know if that's supported in Windows Vista. I know a user can no longer create
shortcuts in the All Users >Start Menu >Programs. The Auto FE Updater failed on
that in testing so I disabled that option when in Vista.

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
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Sep 12 '07 #9
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in
news:6h********************************@4ax.com:
"David W. Fenton" <XX*******@dfenton.com.invalidwrote:
>>Why not put it in All Users?

I don't know if that's supported in Windows Vista. I know a user
can no longer create shortcuts in the All Users >Start Menu >>
Programs. The Auto FE Updater failed on that in testing so I
disabled that option when in Vista.
You're right in that users have not had permissions on All Users
since at least Win2K (ran into it yesterday with a client who was
trying to delete shortcuts on her user desktop that were stored in
All Users).

I wasn't thinking.

If a machine has multiple users, perhaps an admin should install the
program and change the permissions for the folder in All Users that
is used to store the app.

On the other hand, once an admin is touching each desktop and
changing permissions, you might as well put your app anywhere you
want.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 13 '07 #10
"David W. Fenton" <XX*******@dfenton.com.invalidwrote:
>>>Why not put it in All Users?

I don't know if that's supported in Windows Vista. I know a user
can no longer create shortcuts in the All Users >Start Menu >>
Programs. The Auto FE Updater failed on that in testing so I
disabled that option when in Vista.

You're right in that users have not had permissions on All Users
since at least Win2K (ran into it yesterday with a client who was
trying to delete shortcuts on her user desktop that were stored in
All Users).
Hmm, that's a good point. Maybe the Auto FE Updater also can't update shortcuts in
All Users >Start Menu >Programs in Win XP or Win 2000. I must admit to having
only tried that when running as administrater. <whack Ok,wrist slapped. I'll have
to do a better job of testing that in the future.

I also need to add better checking to ensure a requested operation actually worked.
Such as double checking that a shortcut was actually created/updated with the right
data and ensure that files were actually copied down with the right size and date.
>I wasn't thinking.
And neither was I.
>If a machine has multiple users, perhaps an admin should install the
program and change the permissions for the folder in All Users that
is used to store the app.

On the other hand, once an admin is touching each desktop and
changing permissions, you might as well put your app anywhere you
want.
Right. So as far as I'm concerned I don't have a problem with the original scenario
where x users * y systems might have that many FEs scattered around on hard drives
through out the office. Using WAG (wild *ssed guesses) say 10 users on one system
with a 10 Mb FE means 100 Mb wasted. I can live with that.

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
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Sep 14 '07 #11
ARC
While we're discussing vista, I have a very old registration .dll I use
called RedRegistration. It still functions perfect for me, and I'm wondering
if this causes any problems on vista. It writes the user key to the windows
registry under HKEY_LOCAL_MACHINE\SOFTWARE\<Company Name>, then on app
startup it reads the registry values under that key.

Thannks!

Andy
Sep 14 '07 #12
"ARC" <an**@andyc.comwrote in
news:2d****************@newssvr21.news.prodigy.net :
While we're discussing vista, I have a very old registration .dll
I use called RedRegistration. It still functions perfect for me,
and I'm wondering if this causes any problems on vista. It writes
the user key to the windows registry under
HKEY_LOCAL_MACHINE\SOFTWARE\<Company Name>, then on app startup it
reads the registry values under that key.
You need to examine the permissions on that registry key. It should
be read-only for regular users, write for only admins (and maybe
power users).

This is not new, either -- it's been that way since Win2K (i.e.,
1999).

You can answer these questions yourself by simply creating a
user-level logon and running your installer. That will quickly show
you what fails.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 15 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: pw | last post by:
Hi, I can't find anything about a toolkit on Microsoft site or what is needed to distribute an Access 2003 application (like the SDK w/ Access 97). I assume this is still possible. What do I...
1
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view...
1
by: Mister_d | last post by:
When deploying a solution using the Access 2003 runtime engine, do you have to use the packaging wizard that comes with the Access 2003 Developer Extentions, or can you use other packaging software...
0
by: umlv | last post by:
Hi, I understand that the runtime will be free with access 2007. I wonder about the following scenario: A user will have the full version of access 2003 installed (or an earlier version). A...
5
by: ARC | last post by:
Hello, A user posted a reply to a post of mine regarding the fact that Access 2007 would be free, or maybe I misunderstood? All I could find on Microsoft's site was information regarding the...
0
by: lgeastwood | last post by:
I (finally) upgraded to A2007 from A 97 and downloaded the runtime & developer extensions. My first impression is tentatively positive. There are several new features (that Albert Kallal lists in...
3
by: =?Utf-8?B?eWtmZmM=?= | last post by:
I try deploying a very simple (very simple indeed) Vb.net application by following the basic steps according to some tutorials. My pc runs Visual Studio 2005 and it reports "Build successful"...
11
by: jackbenimble999 | last post by:
Hello! I'd like to distribute an application developed in MS Access 2003. I've looked at the MS web site and it says although the ability to distribute is included with MS Office Retail, you...
1
by: ARC | last post by:
I think I made a major blunder, and now Access 2007 no longer opens. I made the mistake yesterday of using the "test" option in wise installer for my Access 2007 runtime app. It actually installed...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.